Closed ronjouch closed 7 years ago
@ronjouch
1. Ubuntu patched gtk to solve dark background issue (#206) which in turn use transparent background and 1px wider border with titlebar (see #290 ).
To tackle the issue we introduced 1px border for non-csd windows. Of-course we could remove border from both but then the window won't be re sizable outside for compiz session (mate, flashback, etc) outside unity.
If we try to increase the window margin to tackle resize issue (#100) then we are back at #206 for ever other compiz session outside unity. Compiz doesn't have support csd windows at all, and it's broken for other themes including Ambiance.
Ubuntu 16.04 uses Gtk-3.18. It has lots of other compiz/mutter/gtk bugs which got fixed in successive releases. For example, if theme doesn't overwrite nautilus window background (which happens on xfce and mate), all borders will be white. But for dark border it won't be visible as it paints dark border on dark black-area. Adwaita paints white on white area. But we can't do that as Numix is mixture of dark and light elements. I rather have dark border (or no border) instead of ugly white border.
I recently added back window border for csd windows as well under unity. see bf8f3b078ae. I may do the same for 16.04 as well, providing it doesn't cause any trouble.
We can't completely remove border/margin area until window manager implements it's own invisible resize area.
Awesome detailed response, @khurshid-alam 👍 💯, I didn't know about all these use cases, may you remain sane while covering all of them 😄. I'll live with my ~/.config/gtk-3.0/gtk.css
workaround for now, and will anyway move back to Shell (where Numix doesn't have this quirk) when Ubuntu gets rid of Unity soon.
Thanks again.
When used under Ubuntu Unity (16.04.2LTS), Numix shows 1px black borders for non-Client-Side-Decorated (CSD) windows (e.g. Firefox, Chrome, gnome-calc), and no border for CSD windows (e.g. Nautilus, Calendar, Totem). This feels strange to me, because:
This could be argued with: to each their own appropriate experience.
This could be argued with: Numix is not Ambiance.
→ I propose we get rid of them everywhere. If everyone agrees I'll be happy to propose a PR, and in the meantime I'll be rolling with
UnityDecoration {-UnityDecoration-extents: 28px 0 0 0;}
in my~/.config/gtk-3.0/gtk.css
😃.Thanks for the awesome work!