[Bug 1745206] Re: Decorations/headerbars are broken: double bar in Xorg logins and missing in Wayland logins

Simon Quigley tsimonq2 at ubuntu.com
Sat Mar 3 04:49:30 UTC 2018


Uploaded.

** Changed in: gtk3-nocsd (Ubuntu)
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1745206

Title:
  Decorations/headerbars are broken: double bar in Xorg logins and
  missing in Wayland logins

Status in gtk3-nocsd package in Ubuntu:
  Fix Committed
Status in gtk3-nocsd package in Debian:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk3-nocsd/+bug/1745206/+subscriptions



More information about the Ubuntu-sponsors mailing list