#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)
Changed 7 years ago by
Attachment: | 2015-12-23-161925_590x270_scrot.png added |
---|
Changed 7 years ago by
Attachment: | 12224.patch added |
---|
comment:1 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 7 years ago by
Milestone: | 15.12 → 16.01 |
---|
comment:3 Changed 7 years ago by
Focus management? The focus of the text field for the search should be as easy as for the preset search dialog ([F3]
).
comment:4 Changed 7 years ago by
I didn't look at the patch yet, sorry. I'll try it soon to make smart feedback :)
comment:5 Changed 7 years ago by
Milestone: | 16.01 → 16.02 |
---|
Not tested yet sorry, but soon, I promise :)
comment:8 Changed 7 years ago by
The patch proposes KeyEvent.VK_SPACE, Shortcut.CTRL
(inspired by something I do not remember) …
Changed 7 years ago by
comment:10 follow-up: 11 Changed 7 years ago by
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);
Changed 7 years ago by
Attachment: | 12224-v2.patch added |
---|
comment:11 Changed 7 years ago by
Changed 7 years ago by
Attachment: | Search_menu_items.png added |
---|
comment:13 Changed 7 years ago by
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 Changed 7 years ago by
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 :)