** Summary changed:
- Improve session detection
+ Decorations/headerbars are broken: double bar in Xorg logins and missing in
Wayland logins
** Description changed:
+ Decorations/headerbars are broken: double bar in Xorg logins and missing
+ in Wayland logins.
+
The session detection for gtk3-nocsd doesn't work properly as it still
uses old session detection method of gnomerc. It tries to detect the
session by shipping 51gtk3-nocsd-detect in /etc/X11/Xsession.d.
51gtk3-nocsd-detect uses:
1) `BASESTARTUP=${STARTUP%% *}` which fails as STARTUP was never set on
Ubuntu
2) `BASESTARTUP=$(basename $(readlink /etc/alternatives/x-session-
manager))` which will fail(it never goes into the inner loop due to
previous error) for unity session as unity session also uses gnome-
session but wants to set GTK_CSD=0 globally.
The modern way to detect session is to use $XDG_CURRENT_DESKTOP
variable. I attached a patch which takes advantage of that.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745206
Title:
Decorations/headerbars are broken: double bar in Xorg logins and
missing in Wayland logins
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk3-nocsd/+bug/1745206/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs