Hi people.

I would like to help finish the implementation of Wayland session
restore functionality.

 I’m trying to understand what remains to reach complete Wayland session
restore for windows on multiple virtual desktops in Plasma/KWin.

  Could someone clarify the current implementation split and remaining
blockers?

  1. What is already implemented today in KWin for Wayland session restore?
  - Is virtual desktop membership already persisted in restore data?
  - Is virtual desktop assignment already reapplied during restore, or is that 
still missing?

  2. What is still missing on the Plasma side?
  - Are restored applications already launched with the required session IDs 
everywhere, or is that still incomplete in plasma-workspace / KRunner / related 
 launch paths?

  3. For full multi-window restore, what exact app-side information is required?
  - Does KWin need stable per-window identity from apps?
  - If so, what is the expected form of that identity for restored toplevels?

  4. What is the intended restore policy?
  - Should virtual desktop assignment be restored before first map?
  - What is the fallback if the saved virtual desktop no longer exists?
  - Should fresh launches ever reuse prior placement, or only true 
session-restored launches?

  5. What is the current blocker for the browser case specifically?
  - If Firefox/Chromium/Brave restore multiple windows, is the main limitation 
currently KWin, Plasma launcher/session-ID plumbing, or lack of app-provided
  per-window identity?

  6. What is the preferred current test path?
  - Which Plasma/KWin version, branch, or merge requests should people test?
  - Which environment variables or feature flags are currently required?
  - Is there a known “partially working” scope already, such as single-window 
or single-desktop cases?

  7. What would KDE consider feature-complete for this work?
  - Single restored window on the correct virtual desktop?
  - Multiple restored windows each returning to their prior desktops?
  - Native Wayland only, or XWayland too?

Any and all direction or advice on how to proceed will be graciously
accepted.

  My test case is:
  - Fedora 44
  - Plasma on Wayland
  - NVIDIA GPU
  - Firefox and Brave
  - On X11, restored browser windows return to the correct virtual desktops
  - On Wayland, after a new Plasma session, they reopen on one virtual desktop 
instead

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/335761

Title:
  Placement policy 'Remember' by default for all windows

To manage notifications about this bug go to:
https://bugs.launchpad.net/kubuntu-default-settings/+bug/335761/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to