Modify

Opened 6 years ago

Closed 6 years ago

#8710 closed defect (fixed)

Inconsistent MapMode focus behaviour

Reported by: Zverikk Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: mapmode, focus Cc:

Description

Some actions (select, draw, delete) call Main.map.mapView.requestFocus() when a mouse button is pressed inside a map window, but most of them don't. As a result, if a focusable component (e.g. relation search field in relations panel) is focused and you want to change MapMode from "extrude" to "select", you cannot click on the background and press "s": you have to press a MapMode button. And experienced mappers like me often hide it from the toolbar.

So there's a problem: when a JosmTextField is focused, the current action does not call requestFocus and most-used mapmode buttons are hidden, it's not easy to change the mapmode. The requestFocus should be made mandatory for all mapmodes, even in plugins.

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by Don-vip

In 5960/josm:

see #8710 - Inconsistent MapMode focus behaviour: fix core mapmodes

comment:2 Changed 6 years ago by Don-vip

In 5962/josm:

see #8710 - Inconsistent MapMode focus behaviour: forgot one mapmode

comment:3 Changed 6 years ago by Don-vip

Resolution: fixed
Status: newclosed

Plugins: fixed in [o29595].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.