Modify

Opened 4 years ago

Closed 2 months ago

#12662 closed enhancement (fixed)

Ctrl+Spacebar ignores map modes

Reported by: openstreetmap.org-user-d1g Owned by: team
Priority: normal Milestone: 19.10
Component: Core Version:
Keywords: menu map mode search Cc:

Description

Steps:
set plugins AS to
[CommandLine, FastDraw, OpeningHoursEditor, apache-commons, apache-http, buildings_tools]

Observed:

no relevant items with "Fas" term
no relevant items with "draw" term
no relevant items with "building" term (from buildings_tools)

relevant items with "circle" term (from CommandLine) because they they are in menu "Commands"

Attachments (0)

Change History (8)

comment:1 Changed 3 years ago by simon04

Owner: changed from team to openstreetmap.org-user-d1g
Status: newneedinfo

What is the expected behaviour? Map modes had not been meant for being selectable via Ctrl+Space.

comment:2 in reply to:  1 ; Changed 3 years ago by openstreetmap.org-user-d1g

Replying to simon04:

What is the expected behaviour?

similar to mouse click on the mode button: switch, activate a mode

Map modes had not been meant for being selectable via Ctrl+Space.

any particular reason for this? Delete action is possible, but delete mode isn't?

comment:3 in reply to:  2 ; Changed 3 years ago by simon04

Summary: Ctrl+spacebar ignores items installed by plugins in "Edit toolbar"Ctrl+Spacebar ignores map modes

Replying to openstreetmap.org-user-d1g:

any particular reason for this? Delete action is possible, but delete mode isn't?

No. I just didn't think of adding them as well (they do also not appear in the menu, in contrast to toggle dialogs and shortcut icons). Personally, I do not see a benefit of having them listed in the Ctrl+Space dialog.

comment:4 Changed 3 years ago by simon04

Owner: changed from openstreetmap.org-user-d1g to team
Status: needinfonew

comment:5 in reply to:  3 Changed 3 years ago by openstreetmap.org-user-d1g

Replying to simon04:

Personally, I do not see a benefit of having them listed in the Ctrl+Space dialog.

Not everyone needs to exclude them? If you permanently exclude some items, this would mean that there multiple places to lookup for items.

More alternatives to learn or to remember or to forget about.

Ctrl+Spacebar name of the tool is a very convenient (single Ctrl+Spacebar shortcut) and quick way to access tools/modes (not need to use multiple menus from main menu). This is especially true when you don't know what is where, what short-cuts are.

There no reason to exclude just 10-20 items (modes) from 150-300 item list (menu items, buttons, etc), it won't make it more usable (a huge 150 item list wouldn't be easier with just 130 items).

BTW, this is not a list, this is an interactive search interface (text field). We can add support for exclusion "-mode" if users would request this.

We can have checkboxes in this dialogue, so that we search only within a subset of the items
[] modes
[] main menu items
[] buttons
[] user defined buttons

BTW, in the long run, I see no reason to limit it only to actions:
[] window name
[] tab name
[] label name (javax.swing.JLabel)

Last edited 3 years ago by openstreetmap.org-user-d1g (previous) (diff)

comment:6 Changed 2 months ago by Don-vip

Type: defectenhancement

comment:7 Changed 2 months ago by Don-vip

Keywords: menu map mode search added
Milestone: 19.10

comment:8 Changed 2 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 15438/josm:

fix #12662 - add new Mode menu, listing map modes. Also allows to find them via ctrl+spacebar

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.