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 764118 - Glitches in menu scroll arrow rendering
Glitches in menu scroll arrow rendering
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Themes
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-03-24 06:48 UTC by Juraj Fiala
Modified: 2016-03-24 19:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
menu scroll transparency (930.23 KB, image/png)
2016-03-24 06:48 UTC, Juraj Fiala
  Details
menu: Clip children to view window (1.13 KB, patch)
2016-03-24 18:55 UTC, Benjamin Otte (Company)
none Details | Review

Description Juraj Fiala 2016-03-24 06:48:09 UTC
Created attachment 324651 [details]
menu scroll transparency

It's hard to capture this (see screenshot for general idea), but basically they render the stuff underneath, but in a glitchier way. They're not outstanding glitches but you can see somethings not right.

So:

1. open a long menu that requires scrolls
2. the menu scrolls will be transparent, rendering the stuff that would be underneath if the scroll wasn't there
3. when you hover over them, they will colour up grey, but _underneath_ the text, so you can still see it
4. the text doesn't update while you scroll
5. when you move your mouse elsewhere, it looks like step 2 again

Also, not sure if this is on purpose or not, but the grey hover effect leaves a white border on the top or bottom edge, depending where the button is.
Comment 1 Lapo Calamandrei 2016-03-24 10:11:26 UTC
This is broken stylewise, but there is something wrong in gtk too, the text "remains" on top of the scroll arrow somehow.
Comment 2 Juraj Fiala 2016-03-24 10:14:25 UTC
Also this is inherited by Firefox (in the gtk3 version) and it's a lot more common there.
Comment 3 Lapo Calamandrei 2016-03-24 10:31:36 UTC
The style issue has been addressed by commit aa821429b179da70f4722e36803ec28b38515f89

I think the remaining issue is something with GtkTreeMenu, Matthias?
Comment 4 Benjamin Otte (Company) 2016-03-24 18:55:48 UTC
Created attachment 324719 [details] [review]
menu: Clip children to view window

Don't overdraw the arrow allocations.
Comment 5 Lapo Calamandrei 2016-03-24 19:28:59 UTC
Benjamin patch WorksForMeTM, closing