http://bugs.winehq.org/show_bug.cgi?id=11962
Summary: regedit highlights the wrong item when searching Product: Wine Version: 0.9.57. Platform: PC OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: thestig@google.com
In regedit, go to HKCU\Software\Wine\Fonts\External Fonts
press F3 and search for tahoma - you may notice the wrong font getting highlighted as the search result.
In the listview, the registry entries are ordered by the "Name" column in the following way: A-Za-z. I have about 200 fonts and Tahoma is in the 125th position.
The code to do the search is in match_item() in wine/programs/regedit/treeview.c. Adding a debug trace shows it's enumerating the fonts by the way they are ordered in the registry. As such, match_item returns 160 and the wrong item gets highlighted.
http://bugs.winehq.org/show_bug.cgi?id=11962
Alexander Nicolaysen Sørnes alex@thehandofagony.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alex@thehandofagony.com
--- Comment #1 from Alexander Nicolaysen Sørnes alex@thehandofagony.com 2008-07-13 08:35:55 --- Looking at Windows 98 regedit, the entries are sorted in a case-insensitive manner.
http://bugs.winehq.org/show_bug.cgi?id=11962
--- Comment #2 from Alexander Nicolaysen Sørnes alex@thehandofagony.com 2008-08-26 16:44:42 --- patch sent that disregards case when sorting
http://bugs.winehq.org/show_bug.cgi?id=11962
Alexander Nicolaysen Sørnes alex@thehandofagony.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Alexander Nicolaysen Sørnes alex@thehandofagony.com 2008-08-27 14:07:15 --- patch accepted.
http://bugs.winehq.org/show_bug.cgi?id=11962
--- Comment #4 from Lei Zhang thestig@google.com 2008-08-27 16:30:52 --- Fixed, thanks.
http://bugs.winehq.org/show_bug.cgi?id=11962
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2008-09-05 10:38:54 --- Closing bugs fixed in 1.1.4.