Modify

Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#7686 closed defect (fixed)

Broken 'Quick Search History' menu on Search button

Reported by: Brait Owned by: team
Priority: minor Milestone: 14.01
Component: Core Version: tested
Keywords: quick search Cc:

Description

JOSM saves searching strings in 'Search History' list. On right edge of 'Search' button placed small triangle for accessing 'Quick Search History' menu. If 'Search' function saves in history very-very long searching string (aprox. 250 chars), then 'Quick Search Menu' looks like rectangle, filled with random garbage pixels.

=====

Sorry for my English

Attachments (1)

bug.jpg (346.8 KB ) - added by Brait 12 years ago.
Screenshot with 'Quick Search History' bug (I use search string "id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1")

Download all attachments as: .zip

Change History (11)

comment:1 by Don-vip, 12 years ago

Could you attach a screenshot please ?

by Brait, 12 years ago

Attachment: bug.jpg added

Screenshot with 'Quick Search History' bug (I use search string "id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1")

comment:2 by Don-vip, 11 years ago

Sorry for delay. I cannot reproduce this bug, does it still happen on your system with latest JOSM ?

comment:3 by Brait, 11 years ago

Yep, this bug still exists in JOSM ver. 5666.

To reproduce bug, open "Search" (press Ctrl+F in JOSM), and enter in "Search string" field long-long-long string (for example id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1). JOSM should open warning with message "No match found for ....", but with this long-long-long searching string warning will be broken. And second bug, after searching long-long-long string open "Selection" panel (press Alt+Shift+T), and press small black rectangle on "Search" button.

comment:4 by Manu1400, 11 years ago

I can't reproduce this bug on my JOSM (on Windows).

comment:5 by Manu1400, 11 years ago

Priority: normalminor
Resolution: irreproducible
Status: newclosed

comment:6 by Brait, 11 years ago

Resolution: irreproducible
Status: closedreopened

In JOSM ver. 5939 this bug still exists.

To reproduce this bug load one layer with any map data (without data layer "Search" window can't be opened), open "Search" window (for Windows OS and default shortcut bindings press Ctrl+F on keyboard, or in main program menu select "View" -> "Search..." item), and in opened "Search" window in "Search string" field copy-paste very-long-query:

id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1 OR id:1

and, finally, press "Enter" keyboard key or click "Start Search" button...

Ooops, you can see first bug, small window with incorrect content, right?!

Second bug can be viewed by mouse click on small triangle on "Search" buttong in "Selection" window (use shortcut Alt+Shif+T for show/hide "Selection" window). Small triangle should show menu for quick repeat of latest "Search" queries. But after searching very-long-query this menu will looks like on screenshot in my second message in this ticket.

=====

Sorry for my English

comment:7 by skyper, 11 years ago

I can reproduce on Linux.

  1. Is an known issue on some error messages but has to be fixed individually.
  2. Is also visible when hovering over the info in the lower right after search.

comment:8 by Manu1400, 11 years ago

@Brait : Can you try to give me the shortest string where the bug is present ? And can you try a *very* old version of JOSM http://josm.openstreetmap.de/download/ ?

I think the bug come to the place of the window. Can you give most information about graphic :

  • what material you use ?
  • what is the version of your graphic driver ?
  • what JOSM plugin you use ?
  • what is the lang of your Windows version ?

Can you update your graphic driver and your drivers ?
Have you this bug when only JOSM is start (= when your system have only one window) ?

Thanks

comment:9 by simon04, 10 years ago

Resolution: fixed
Status: reopenedclosed

In 6742/josm:

fix #7686 - Shorten long search expression for display purposes (in dialogs, tooltips)

comment:10 by simon04, 10 years ago

Milestone: 14.01

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.