Closed jubalfh closed 10 months ago
ah, just blanking the screen is enough to trigger this.
Hi @jubalfh, when the code was reviewed by Extension admins for GNOME 45, session persistence handling was removed. disable is being called when the screen blanks out or logs out
Huh. I would think that if any plugin needs persistence, if only to keep the layout from changes, it would be a tiling/tabbing extension.
In case the reviewers couldn't be convinced, would it be much work to make forge serialise the layout state somewhat on blanking/locking and restore it on activation?
Right now, forge stopped matching my (admittedly, very idiosyncratic) workflow almost entirely: i usually keep a number of differently tabbed windows on two physical displays (× at least three workspaces), and aligning all of them manually after each screen lock is simply untenable.
Getting the GNOME 45 support out the door quickly was a priority during that time. Here are the options:
unlock-dialog
. And provide good justification.@jubalfh - try it out and let me know. Then I can petition it. Thanks
@jmmaranan thank you for extremely quick reaction! i've checked out the fix-unlock-dialog branch and am running it right now, but the behaviour seems to be the same. (if it helps, it seems that the layout reset happens just a moment after unlocking).
the only line in gnome-shell log that looks remotely relevant is this:
Oct 20 16:15:53 metatron gnome-shell[4576]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Did you quickly try to unlock as soon as screen comes up? Or waited a little bit?
I tried both, and did a suspend for good measure; this layout reset seems consistent.
@jubalfh - It works on my machine :)
Can you tell me the Forge version? Open up prefs > click exclamation icon to open the About page. See screenshot below. It should say 45.0-4999
if you compiled from the branch.
If it is OK with you, I can merge it now and try to publish it too and hopefully it passes and then you can also try it from the official package.
just confirming that the fix works for me, thank you very much!
Thanks. There is a little bit of uphill on the GNOME review. But I think all is well. Maybe few days in EGO package.
Every time the lock screen appears my current layout is lost. Is there any additional setting for it to work properly?
Description
After upgrade to GNOME 45 (Ubuntu 23.04 → 23.10) there's a behaviour change: locking and unlocking screen causes tabbed windows to lose tabbed state (they're being retiled instead).
As before upgrade, I'm running a Wayland session.
Expected Behavior
After locking and unlocking screen, the tabbed windows should keep they previous layout.
Reproduction
Upgrade to GNOME 45 seems to be a required step.
Steps To Reproduce
Details
Mark with [ ] all that applies:
It happens with any application?
It happens only on one computer?
It happens only with some specific gnome configuration?
It happens only with some specific extension installed?
Diagnostics
At every screen lock/unlock action.
Environment
Linux metatron 6.5.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 7 01:35:40 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Display Setup
Displays:
Notebook 1920x1080 60hz
Output and Logs
Gnome Logs
Command:
journalctl --since='1 hour ago' --follow /usr/bin/gnome-shell
journalctl --since='1 hour ago' --follow /usr/bin/gnome-shell
System from 1 hour ago
Command:
journalctl -b 0 -r --since '1 hour ago'
:Not relevant, the only difference are unrelated system services.
Extension Configuration
Command:
dconf dump /org/gnome/shell/extensions/forge/
Enabled Extensions
Command:
gnome-extensions list --enabled --details
Graphics information
Command:
lshw -C display
Monitor information
NOTE: i'm running wayland; this is XWayland idea of a screen.
Command:
xrandr --properties | grep -vE '(x|\s|\.|\d)+$'