[Bug 42898] New: Listbox keyboard input
https://bugs.winehq.org/show_bug.cgi?id=42898 Bug ID: 42898 Summary: Listbox keyboard input Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: janwinehq(a)gmail.com Distribution: --- A listbox widget in Wine does not react the same way to keyboard input as in Windows. In Windows, you can type the first characters of a word and the cursor will jump to the first item matching *all* the characters you typed. This allows you to drill down quickly to the item you want. In Wine, when you start typing it only considers the *last* character you typed when looking for a match. On listboxes where you have lots of items starting with the same character, this can make it problematic to drill down to the correct item. This may be better explained with a simple example. Suppose you have a listbox with the following items, sorted alphabetically: * AMBER * BLUE * BROWN * GREEN * ORANGE * RED * YELLOW Windows behavior: * if you type "B", it will drill down to "BLUE" * if you type "BR", it will drill down to "BROWN" * if you type "BRO", it will drill down to "BROWN" Wine behavior: * if you type "B", it will drill down to "BLUE" * if you type "BR", it will drill down to "RED" * if you type "BRO", it will drill down to "ORANGE" -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42898 Jan V. <janwinehq(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janwinehq(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42898 Jan V. <janwinehq(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |2.6 Distribution|--- |ArchLinux -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42898 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |dark.shadow4(a)web.de Summary|Listbox keyboard input |Listbox --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Confirming, also affects drop down lists. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42898 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Listbox |Search in ListBox not | |working properly -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42898 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- I don't see such search accumulation on Windows with ListBox. Which styles are you using to test this? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42898 --- Comment #3 from Fabian Maurer <dark.shadow4(a)web.de> --- Good catch, the native ListBox doesn't do this. That seems to be a wxwidgets thing, or it maybe uses listview? As for now, I don't know. I have found a download for precompiled wxwidgets. Those are used by .NET applications, but still using the native widgets - hope that's not a problem. I only use those .NET binaries because I can't build wxwidgets from source right now, and didn't find another precompiled download. Link: https://sourceforge.net/projects/wxnet/files/wxnet/0.9.2/wx.NET-0.9.2.zip How to reproduce: - Unpack - cd into "Bin" - execute "controls.exe" - On the first tab the bottom list is affected (just click into it and type "this" -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42898 --- Comment #4 from Fabian Maurer <dark.shadow4(a)web.de> --- Still present, but I'm on it. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42898 KRosUser <kyle.kcsoftwares(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle.kcsoftwares(a)gmail.com --- Comment #5 from KRosUser <kyle.kcsoftwares(a)gmail.com> --- Listbox function LISTBOX_HandleChar (used by the combobox) should behave like listview's LISTVIEW_ProcessLetterKeys and using a timer in order to "accumulate" chars to be searched for. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=42898 --- Comment #6 from KRosUser <kyle.kcsoftwares(a)gmail.com> --- According to https://jira.reactos.org/browse/CORE-19415 ComboBox likely suffer from the same problem -- 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.
http://bugs.winehq.org/show_bug.cgi?id=42898 --- Comment #7 from KRosUser <kyle.kcsoftwares(a)gmail.com> --- Created attachment 78495 --> http://bugs.winehq.org/attachment.cgi?id=78495 Test sample app for Listbox and Combobox Test sample app for Listbox and Combobox. ListBox, type "F", "R", "A" => systematically lead to "France" Combobox, type "F", "R", "A" => mostly lead to "France", but depending on speed, lead to "France", "Roumanie", "Afganistan" sequence, which this does NOT happen with Listbox -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla