http://bugs.winehq.org/show_bug.cgi?id=32374
Bug #: 32374 Summary: List box with LBS_NODATA set, has very low performance, depending on items count. Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: johnfound@evrocom.net Classification: Unclassified
Created attachment 42719 --> http://bugs.winehq.org/attachment.cgi?id=42719 Test application that illustrates the bug. Source code included.
List box control, when has LBS_NODATA style set, needs very big time to process LB_SETCOUNT message (this message works only for list box with LBS_NODATA set).
On Windows this message is handled for less than 1ms regardless of the count sent by LB_SETCOUNT (because the list box has nothing to allocate/reallocate when LBS_NODATA is set. It only need to set the scroll bar parameters).
In WINE (every version but in v1.4 and v1.5 it is really slow) processing this message needs some amount of time, proportional to the item count set by LB_SETCOUNT.
As long as this list box style is provided because of its speed, such a behavior can block the execution of the application for very long time.
Small test application is attached which measures the time needed for LB_SETCOUNT to be executed on list box with LBS_NODATA set. Source code included.
http://bugs.winehq.org/show_bug.cgi?id=32374
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
http://bugs.winehq.org/show_bug.cgi?id=32374
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |performance, source
http://bugs.winehq.org/show_bug.cgi?id=32374
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Version|unspecified |1.5.19 Ever Confirmed|0 |1
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2012-12-10 11:08:17 CST --- Yes, LBS_NODATA mode is not implemented.
http://bugs.winehq.org/show_bug.cgi?id=32374
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Severity|normal |minor
https://bugs.winehq.org/show_bug.cgi?id=32374
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- I don't know where in the source to look for this.
Is this still unimplemented in Wine 1.7.45 or later?
https://bugs.winehq.org/show_bug.cgi?id=32374
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #3 from super_man@post.com --- (In reply to Ken Sharp from comment #2)
I don't know where in the source to look for this.
Is this still unimplemented in Wine 1.7.45 or later?
I would say still valid.
wine 1.9.1
https://bugs.winehq.org/show_bug.cgi?id=32374
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #4 from winetest@luukku.com --- (In reply to Nikolay Sivov from comment #1)
Yes, LBS_NODATA mode is not implemented.
http://source.winehq.org/git/wine.git/blob/c90e46b66ded518dbfb88f1efdc366e79...
still listed as TODO.
wine 1.9.16-git.
https://bugs.winehq.org/show_bug.cgi?id=32374
Gabriel Ivăncescu gabrielopcode@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gabrielopcode@gmail.com Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |1b7886edaf15b1f13c6ae47bc45 | |e2475589c7638
--- Comment #5 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Fixed by 1b7886edaf15b1f13c6ae47bc45e2475589c7638 and 8a9ff9fb1335fa1372ba37b8556ce8ef64a9083d.
https://bugs.winehq.org/show_bug.cgi?id=32374
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.3.