#12224 closed enhancement (fixed)
[Patch] Dialog for "Search menu items"
Reported by: | simon04 | Owned by: | simon04 |
---|---|---|---|
Priority: | normal | Milestone: | 16.02 |
Component: | Core | Version: | |
Keywords: | Cc: | strump |
Description (last modified by )
I really love the "Search menu items" from #10882. Sometimes the usability is a bit unintuitive (e.g., clicking in the text field already containing a search text does now show the results).
- I would like to use the dialog from the preset search
[F3]
for the menu item search - I think we can remove preset items from the search results (since they have a separate search)
Attachments (5)
Change History (23)
by , 9 years ago
Attachment: | 2015-12-23-161925_590x270_scrot.png added |
---|
by , 9 years ago
Attachment: | 12224.patch added |
---|
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Milestone: | 15.12 → 16.01 |
---|
comment:3 by , 9 years ago
Focus management? The focus of the text field for the search should be as easy as for the preset search dialog ([F3]
).
comment:4 by , 9 years ago
I didn't look at the patch yet, sorry. I'll try it soon to make smart feedback :)
comment:8 by , 9 years ago
The patch proposes KeyEvent.VK_SPACE, Shortcut.CTRL
(inspired by something I do not remember) …
by , 9 years ago
follow-up: 11 comment:10 by , 9 years ago
I finally found the crucial difference:
-
(a) MainMenu.java vs. (b) -
a b 801 801 } 802 802 }); 803 803 804 helpMenu.add(new MenuItemSearchDialog.Action());804 add(helpMenu, new MenuItemSearchDialog.Action()); 805 805 helpMenu.addSeparator(); 806 806 helpMenu.add(statusreport); 807 807 helpMenu.add(reportbug);
by , 9 years ago
Attachment: | 12224-v2.patch added |
---|
comment:11 by , 9 years ago
by , 9 years ago
Attachment: | Search_menu_items.png added |
---|
comment:13 by , 9 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
With long imagery names there is a scrollbar at the bottom and the select and cancel buttons are not in the middle.
When you type something and the long entries disappear, the scrollbar stays. when you try to move it it disappears. After you have done this once and delete your text, the scrollbar is above the buttons, so they are always in the middle. (Then also the scollbar disappears directly when typing something.)
build from jenkins
Build-Date:2016-01-10 13:11:45 Revision:9384 Is-Local-Build:true Identification: JOSM/1.5 (9384 SVN en) Windows 7 32-Bit Memory Usage: 194 MB / 247 MB (25 MB allocated, but free) Java version: 1.8.0_66-b18, Oracle Corporation, Java HotSpot(TM) Client VM Dataset consistency test: No problems found
comment:16 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I fear a lot of trouble on focus management, it was pretty tough to make it work... Let's look at this in next milestone :)