Re: [gnome-flashback] GTK+/Compiz/CSS Issues (Ubuntu 16.04)





On Sat, Jan 30, 2016 at 2:59 PM, Khurshid Alam <khurshid alam linuxmail org> wrote:
I applied your patch from https://code.launchpad.net/~albertsmuktupavels/ubuntu-themes/csd-window-shadow-and-resize-area/+merge/248349 to make csd windows re-sizable. It works, but in compiz-session it adds a black-shadow around the window ( I am aware of _GTK_FRAME_EXTENTS). Screenshot: http://i.imgur.com/PJKCsiJ.pngOn Unity setting "margin: 0px" makes the black shadow disappear and windows still stays re-sizable but on flashback-compiz it doesn't.


Simply unity does not use margin for resize area. That thing is handled differently there...


Now according to this commit https://git.gnome.org/browse/gtk+/commit/gtk/theme/Adwaita?id=03213b9509fc1df16c66194ea168aed6c15110e9 CSD decoration should now be used under ".window-frame.solid.csd" specially without a compositor. Other third party themes like Numix (from 16.04 repo) use this and it works nice under unity, mutter, metacity with CSD windows re-sizable and without black shadow! I looked at the *window-frame* section in its code. It looks something like this: http://paste.ubuntu.com/14730825/ . I only changed border-radius to use 10px 10px 0 0. Honestly, it looks much better and doesn't really create black shadow even after using 1px margin. Screenshot: http://i.imgur.com/v7VYH6G.png

".window-frame.solid.csd" - if you did this then it clearly wrong. It is ".window-frame.solid-csd", dash not point between solid and csd.

.solid-csd should not have rounded corners. It is intended to be used when there is no compositing manager and without compositing manager you can not have transparent rounded borders.


Could you please tweak it a bit (change color values, shadows etc) and incorporate that into your patch? 

The only problem remains is the black-corner which could probably arises from GTK_FRAME_EXTENT or from the fix of this: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1515561


_GTK_FRAME_EXTENTS itself has noting to do with this. It is theme issue if you are testing without compositor otherwise most likely problem from ubuntu patch in GTK+.


Does the patch at https://code.launchpad.net/~albertsmuktupavels/compiz/add-gtk-frame-extents-to-net-supported/+merge/257303 still applicable for compiz-1:0.9.12.2? Why the hold-up? The corresponding bug was marked as "Fix-Released" which makes things even more confusing.


Not sure about this....but occurs in every compiz session, Very annoying. 


Thanks.

_______________________________________________
gnome-flashback-list mailing list
gnome-flashback-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-flashback-list




--
Alberts Muktupāvels


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]