http://bugs.winehq.org/show_bug.cgi?id=22808
Summary: Selected rows in WinRar flicker while selecting by dragging rectangle Product: Wine Version: 1.1.43 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: b7.10110111@gmail.com
Steps to reproduce: open an archive with several files using WinRar, then try to select some files using mouse selection rectangle (dunno how this mechanism is named). The rows already selected flicker when mouse is moved.
http://bugs.winehq.org/show_bug.cgi?id=22808
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |comctl32 Ever Confirmed|0 |1 Severity|normal |trivial
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2010-05-21 14:35:01 --- It's a known behaviour of marquee selection in Listview.
http://bugs.winehq.org/show_bug.cgi?id=22808
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.rarlab.com/downl | |oad.htm
http://bugs.winehq.org/show_bug.cgi?id=22808
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #2 from Piotr Caban piotr.caban@gmail.com 2011-07-21 05:26:43 CDT --- The flickering is reduced by a87e726d and 8669fa73 commits.
http://bugs.winehq.org/show_bug.cgi?id=22808
--- Comment #3 from Ruslan b7.10110111@gmail.com 2011-07-27 11:19:57 CDT --- (In reply to comment #2)
The flickering is reduced by a87e726d and 8669fa73 commits.
Well, doesn't seem to be. On my system i see no changes between wine 1.3.21 (which doesn't have these commits) and current. The flickering seems to be the result of clearing the selected part of list to white (or whatever) color, and then repainting it. IMO the correct approach for fixing this would be to implement double buffering (not sure if it's possible with current wine).
http://bugs.winehq.org/show_bug.cgi?id=22808
--- Comment #4 from Piotr Caban piotr.caban@gmail.com 2011-07-27 13:54:09 CDT --- Without this patches whole listview elements were refreshed, now only the part of view under the selection rectangle is. It's why I wrote that the flickering is reduced. Of course the bug is still not fixed.
Double buffering is already implemented in wine but it's only used when LVS_EX_DOUBLEBUFFER flag is specified. I don't know if WinRar uses it.
http://bugs.winehq.org/show_bug.cgi?id=22808
Daniel Jelinski djelinski1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |djelinski1@gmail.com
--- Comment #5 from Daniel Jelinski djelinski1@gmail.com 2013-01-26 15:58:12 CST --- Still an issue in current wine.
Listview without doublebuffering uses DrawFocusRect to paint the selection rectangle (marquee). Calling DrawFocusRect with the same coordinates for a second time removes the rectangle from the screen, so invalidating/repainting is not necessary.
Doublebuffering is available only in CC v6, and doublebuffered listviews use a different selection rectangle (semi-transparent blue background)
https://bugs.winehq.org/show_bug.cgi?id=22808
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr --- Is still a bug in current wine?
https://bugs.winehq.org/show_bug.cgi?id=22808
--- Comment #7 from Ruslan Kabatsayev b7.10110111@gmail.com --- Still present in wine-3.20-144-g2ef62f9085.
https://bugs.winehq.org/show_bug.cgi?id=22808
--- Comment #8 from Artem S. Tashkinov aros@gmx.com --- Works fine for me in Wine 5.20, please retest.
https://bugs.winehq.org/show_bug.cgi?id=22808
--- Comment #9 from Ruslan Kabatsayev b7.10110111@gmail.com --- (In reply to Artem S. Tashkinov from comment #8)
Works fine for me in Wine 5.20, please retest.
It still reproduces for me in wine-5.20-86-g03395fdf71b with the WinRAR 3.62 installation I had at the time of reporting.