https://bugs.kde.org/show_bug.cgi?id=460567

            Bug ID: 460567
           Summary: Session lost when switching between X11 and Wayland
    Classification: Plasma
           Product: ksmserver
           Version: 5.25.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: msdobre...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
First, some context. Recently I've had issues with Plasma (maybe nVidia
related), like desktop freeze, or just applets, graphics acceleration glitches
(like drawing sort of back and forth "in time", i.e. redrawing frames from the
past second, then going further and so on), hidden panels being paint on top of
everything, although they were hidden.

I've read Wayland works better than X11, as I currently use, so I've logged off
and logged in to a Wayland session.
Wayland seems to draw better nowadays, but can't use it because of mouse
problems, it becomes slow and jumpy, actually unusable. So I've switched back
to X11 by loggin off/loggin on to X1 session.

I have several apps that I left open to be restored, mainly Dolphin instances
for my current activities.
After loggin in back to X11, those Dolphin instances were missing. I have spent
few minutes (again) to fake the session in ~/.config/ksmserverrc file, but it's
pretty tedious. On one hand, I've found  many old dolphin session related files
in ~/.config/session, none related to the latest session, which is unexpected.
Why having those (orphan?) session files, but none related to my targeted
session. They were there in the past, but not this time, usually removed from
the ~/.config/ksmserverrc file only.

STEPS TO REPRODUCE
1. Open few Dolphin instances.
2. Log off without closing Dolphin instances.
3. Log in as different server session, X11 -> Wayland, then Wayland -> X11.
4. Dolphin is not restored.

OBSERVED RESULT

Dolphin is not restored.

EXPECTED RESULT

Dolphin instances and other (suitable to session restore) apps are restored.

SOFTWARE/OS VERSIONS
Operating System: MocaccinoOS (Gentoo based)
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.15.72-mocaccino (64-bit)
Graphics Platform: X11
Processors: 16 × 11th Gen Intel® Core™ i7-11700K @ 3.60GHz
Memory: 61.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Manufacturer: ASUS

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to