I have been running brave/chrome forcing xwayland so as to have it remember and restore window positions when starting up and resuming session. This has worked great up until the recent update to plasma 6.5, where kwin xwayland seems to be behaving somewhat differently for all X apps:
- window positions not being restored on open
- window shade/roll-ups no longer working
That first one is a biggie. Think NOC with multi-monitor setup, some portrait, LOTS of console windows.
Is there a workaround?
6566 tty8 Sl+ 0:00 /usr/bin/kwin_wayland_wrapper --xwayland
6567 tty8 Sl+ 2:12 /usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :1 --xwayland-xauthority /run/user/1000/xauth_pDCrKl --xwayland
I have been forcing brave to X with --ozone-platform=x11.
1 Like
Hi,
Here is your solution, ok you are on xwayland…
aha I see, and I see also there is a Virtual Desktop property, just as important.
We have hundreds of console windows to position…. is there a way to script the setting of these Special Applications Settings? Do we know where they are stored on the filesystem?
EDIT- Whoops, maybe not…
This appears to set these properties at the Application level rather than the window level. Which I guess makes sense given we are talking about Special Applications Settings. Unfortunately this makes 100+ windows open on the same desktop at the same x,y which is decidedly not what we’re after.
hmmm what about … Special Window Settings… one moment
ok the window matching attributes are going to be the trick.. as ithe functional effect is the same as that of the Special Application Settings because it doesn’t yet seem possible to differentiate all the various browser windows from one another… This is a start though and maybe there is a way.
Yeah I think the window matching rules is going to be the killer. The only other real/possible differentiator is Window Title, and that’s a deal breaker because the window titles change constantly. If only there was some kind of sticky guid associated with the window (that survived sessions) that we could match on. I’ll keep investigating.
In the meantime I guess we have to roll back to X? Ugh.