[Bug 11962] New: regedit highlights the wrong item when searching

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 10 00:38:35 CDT 2008


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 at winehq.org
        ReportedBy: thestig at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list