After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728631 - GtkTreeView glitch when scrolling with the mouse wheel
GtkTreeView glitch when scrolling with the mouse wheel
Status: RESOLVED DUPLICATE of bug 728284
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
3.12.x
Other All
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2014-04-21 00:59 UTC by Michael Heyns
Modified: 2014-04-26 10:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
List view glitch (349.98 KB, image/png)
2014-04-21 00:59 UTC, Michael Heyns
Details
Reproducer (3.05 KB, text/plain)
2014-04-25 13:32 UTC, Debarshi Ray
Details

Description Michael Heyns 2014-04-21 00:59:39 UTC
Created attachment 274782 [details]
List view glitch

The item hover highlight glitches when scrolling with the mouse wheel. This is more noticible when using the dark Adwaita as the highlight color for light Adwaita is barely noticable. I haven't tested other themes yet.

See screenshot for demonstration
Comment 1 Debarshi Ray 2014-04-22 09:47:04 UTC
Been around since atleast 3.10.x.
Comment 2 Debarshi Ray 2014-04-25 13:31:33 UTC
This is a GTK+ bug that affects GtkTreeViews using the "content-view" style class.
Comment 3 Debarshi Ray 2014-04-25 13:32:29 UTC
Created attachment 275126 [details]
Reproducer
Comment 4 Benjamin Otte (Company) 2014-04-25 13:46:26 UTC
This is a pixel cache issue. Running the test with GTK_DEBUG=no-pixel-cache makes the bug go away. 

What I suspect is happening is that either a queue_draw() and a scroll() are done in the wrong order so an area of the pixel cache doesn't get invalidated or that the priv->in_scroll eats an important invalidate call that is emitted while scrolling.

Alex, you wrote that code, right? Do you have a hunch?
Comment 5 Bastien Nocera 2014-04-26 10:53:28 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 728284 ***