#48656 closed defect (fixed)
Weird double shadow on GTK3
Reported by: | m.rick@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | neverpanic (Clemens Lang), dbevans (David B. Evans), landonf (Landon Fuller) | |
Port: | gtk3 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
With GTK3 applications, there are artefacts around the menus. There are double shadows.
It is not a MacPorts related issue because it has been reported in Linux as well. https://github.com/chjj/compton/issues/189
But it happens in at least 2 ports in MacPorts, Gnumeric and Glom, with the default theme or any other. And the problem, it makes it more difficult to use the menus especially with the contextual menus.
They give a working solution
shadow-exclude = [ "_GTK_FRAME_EXTENTS@:c" ];
But i don't know where to place it, I tried in settings.ini and the gtk.css main script inside the theme itself and none is working.
I put screen shots from Glom and Gnumeric.
Attachments (4)
Change History (13)
Changed 9 years ago by m.rick@…
Attachment: | Capture d’écran 2015-08-21 à 02.36.05.png added |
---|
Changed 9 years ago by m.rick@…
Attachment: | Capture d’écran 2015-08-21 à 11.00.47.png added |
---|
Gnumeric
Changed 9 years ago by m.rick@…
Attachment: | Capture d’écran 2015-08-21 à 11.00.57.png added |
---|
Gnumeric
Changed 9 years ago by m.rick@…
Attachment: | Capture d’écran 2015-08-21 à 11.01.05.png added |
---|
comment:1 Changed 9 years ago by m.rick@…
I have found a workaround
It is needed to add
.window-frame:backdrop { box-shadow: none; margin: 0;} .window-frame:backdrop, .window-frame, .window-frame.tiled, .window-frame.popup{ box-shadow:none;} .window-frame.tooltip.csd, .window-frame.popup.csd, .window-frame.popup { border-radius:0px; box-shadow: none; margin: 0px;}
at the end of the gtk.ccs file.
comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | cal@… devans@… landonf@… added |
---|---|
Description: | modified (diff) |
Keywords: | GTK3 removed |
comment:3 Changed 9 years ago by dbevans (David B. Evans)
I can't reproduce this problem with current versions of gtk3 and gnumeric. I believe this was an issue with previous gtk3 versions but should be fixed now. Just to make sure that we're on the same page, what version of gtk3 and gnumeric do you have installed?
I'm using
$ port installed gtk3 gnumeric The following ports are currently installed: gnumeric @1.12.23_0+python27 (active) gtk3 @3.16.6_0+x11 (active)
comment:6 Changed 9 years ago by su-v
comment:7 Changed 9 years ago by dbevans (David B. Evans)
Thanks, suv.
Confirming from my testing that the problem is specific to the Quartz backend in current stable version 3.16.6 and that the problem has, indeed, been fixed in git master and the current unstable gtk3 release version 3.17.7. The fix has not been backported to the 3.16 stable branch, however, and may not be before the 3.18 stable release since that is only about a month away at this point.
I also note that when using 3.16.6, the problem seems to occur only on the initial opening of a given pull-down menu. If the menu is closed and then reopened the menu displays correctly until the app is closed and reopened. Just sliding the cursor along the menu bar with a menu open will demonstrate this.
Will update as soon as a better stable release is available upstream.
comment:8 Changed 9 years ago by dbevans (David B. Evans)
Port: | gtk3 added |
---|
comment:9 Changed 9 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This Quartz backend issue seems to be fixed in the gtk3 3.18 series. Tested with latest verssion of gnumeric, gedit, evince built with gtk3 3.18.5.
Glom menu