← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2064177] Re: Window borders and shadows missing from GTK3 dialogs (if autologin is enabled and Xorg is used)

 

I have a "fix/workaround" for this auto-login-no-window-resize issue,
which has been bugging me ever since I went Ubuntu 24.04!

My situation: have always used auto-login.  Since moving to 24.04
(most?) windows do not show a "shadow" on their borders and hovering the
mouse does not give a resize-cursor.  Logging out and re-logging in with
username+password fixes both.  Importantly, I find the same problem and
same solution whether I use default Wayland or switch to my preferred
Xorg (because of other Wayland issues).

One post here suggests this behaviour may have gone away at 24.10+?  I
cannot say.  But if like me you remain on 24.04 then read on....

I found the auto-login settings are saved in `/etc/gdm3/custom.conf`.
That contained:

```
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=jon

# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false

# Enabling automatic login

# Enabling timed login
#  TimedLoginEnable = true
#  TimedLogin = user1
#  TimedLoginDelay = 10
```

I changed to *comment out* the two `AutomaticLogin...` lines and
uncommented the `Enabling timed login` section to read:

```
[daemon]
#AutomaticLoginEnable=true
#AutomaticLogin=jon

# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false

# Enabling automatic login

# Enabling timed login
TimedLoginEnable = true
TimedLogin = jon
TimedLoginDelay = 5

```

So `TimedLogin` is set to my username.  I played with `TimedLoginDelay`
value (which is in seconds): at 5 seconds the desktop works correctly,
when I tried making it 2 seconds it seemed too little and the no-drag
re-appeared.  YMMV.

This means that after boot instead of *immediately* logging me in
without "prompt" screen it now shows username box ready to click +
password.  You see a little "progress line" under your name, and after
my specified 5 second delay it auto-logs me in.

At this point I see all windows have the "black border shadow" and
hovering mouse gives resize-cursor and can resize.  All seems well, just
like if you had not used auto-login in the first place or re-logged in
to fix.

I hope this might help anyone... :)

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2064177

Title:
  Window borders and shadows missing from GTK3 dialogs (if autologin is
  enabled and Xorg is used)

Status in GTK+:
  Fix Released
Status in gtk+3.0 package in Ubuntu:
  Invalid
Status in gtk4 package in Ubuntu:
  Fix Released
Status in mutter package in Ubuntu:
  Invalid
Status in gtk+3.0 source package in Noble:
  Invalid
Status in gtk4 source package in Noble:
  Triaged
Status in mutter source package in Noble:
  Invalid
Status in gtk+3.0 source package in Oracular:
  Invalid
Status in gtk4 source package in Oracular:
  Fix Released
Status in mutter source package in Oracular:
  Invalid
Status in gtk+3.0 source package in Plucky:
  Invalid
Status in gtk4 source package in Plucky:
  Fix Released
Status in mutter source package in Plucky:
  Invalid

Bug description:
  I have a fresh Ubuntu 24.04 instalation and some of the windows have a
  few problems. Some are probably caused by theming, as the windows'
  borders (or their color) makes them impossible to discern from the
  background windows.

  
  Just earlier I discovered another bug, related to detecting the click and window I clicked. I am trying to see the sub-content of a software update but the system reacts as I clicked the window below. In the recording you can see this happening both with the Terminal and with Firefox.

  
  I have plenty of screenshots and also a screen recording that show the bugs.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gnome-shell 46.0-0ubuntu5
  ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
  Uname: Linux 6.8.0-31-generic x86_64
  ApportVersion: 2.28.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Apr 30 00:37:47 2024
  DisplayManager: gdm3
  InstallationDate: Installed on 2024-04-26 (3 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  RelatedPackageVersions: mutter-common 46.0-1ubuntu9
  SourcePackage: gnome-shell
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/2064177/+subscriptions