SUMMARY After configuring session-restore on login, then saving the session, many items are missing after starting a new session. STEPS TO REPRODUCE 1. Enable "Manually saved session" 2. Set up some apps including Firefox, Konsole, Dolphin 3. Save the session using the Leave button OBSERVED RESULT On logging in again, neither Dolphin nor Konsole windows are restored. Firefox is restored. EXPECTED RESULT All saved windows should be restored. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Fedora 34 (available in About System) KDE Plasma Version: 5.21.4 KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
Already noted on https://community.kde.org/Plasma/Wayland_Showstoppers. We can use this as the bug report to track it.
*** Bug 442192 has been marked as a duplicate of this bug. ***
*** Bug 442283 has been marked as a duplicate of this bug. ***
@Nate: is this going to be taken up any time soon? This is one of the biggest roadblocks to adopting plasma wayland for me. For example, its painful to rearrange firefox windows into different desktops after I start it. I have gone back to X11 solely because of this.
I don't know, sorry.
*** Bug 453849 has been marked as a duplicate of this bug. ***
unfortuantely still an issue on plasma 5.24.90
*** Bug 455105 has been marked as a duplicate of this bug. ***
*** Bug 455900 has been marked as a duplicate of this bug. ***
So something like this will eventually be able to help it? https://www.youtube.com/watch?v=fRdnRwPBFBk
Will this bug get fixed soon? It is the sole reason why I'm not on Wayland. Can someone let us know what time frame can be realistic expected for this to be sorted out? Thank you.
It's listed on https://community.kde.org/Plasma/Wayland_Showstoppers, so it will eventually get fixed/implemented.
This annoying issue is still present on Fedora 36 using KDE 5.97.0 with Wayland. Is somebody looking into this, or is there a timeline for when this will be fixed?
To be honest it stops me before using/testing Plasma session with Wayland. IMO. This is one from the biggest advantage in KDE (recently even Windows 10 got it, at least for me. I don't understand why this is so low on the priority list (issue reported over 1 year ago).
Would you like to contribute technical work towards fixing this issue? That's what there's not enough of right now.
(In reply to Nate Graham from comment #15) > Would you like to contribute technical work towards fixing this issue? > That's what there's not enough of right now. I'm not sure if this is the question to me, because you didn't quote my statement only answered just after me. Assuming you asked me, I can reply only that maybe I would like, but technically this would be not feasible due to few free time (private reasons). Only from time to time I can report some issue and this is enough what I can do, sorry. Recently I use Neon unstable, so I think, I'm up to date with what's new in Plasma so in this way I test. Sorry for my previous complains.
Hopefully this has contributed to answering your question: everyone with the technical ability to work on this issue is busy with other things that they have prioritized higher. :)
(In reply to Nate Graham from comment #17) > Hopefully this has contributed to answering your question: everyone with the > technical ability to work on this issue is busy with other things that they > have prioritized higher. :) NOP for me. I work with X11, because here more things works better, or just work. Only, IMHO, KDE/Plasma a bit suffer because has less testers, because of this. And please don't understand me wrong, I would not like to set development priorities of KDE/Plasma.
In general, Plasma has enough testers and QA people. What it lacks is enough developers to fix all the issues those people find.
(In reply to Nate Graham from comment #19) > In general, Plasma has enough testers and QA people. What it lacks is enough > developers to fix all the issues those people find. Or the devs you already have are interested only in next shiny thing than to fix bugs in their code...:-) Sure, we can't force devs to stick around forever and fix bugs in their code but sometimes, its good to stop new development and just fix the bugs. You will have more adoption and participation, and that can potentially get you more devs.
(In reply to devsk from comment #20) > Or the devs you already have are interested only in next shiny thing than to > fix bugs in their code...:-) Sure, we can't force devs to stick around > forever and fix bugs in their code but sometimes, its good to stop new > development and just fix the bugs. You will have more adoption and > participation, and that can potentially get you more devs. As a user, I also wish session restore to worked on Wayland, but inflammatory comments won't help expedite it. I would like to know what's making this difficult. X11 had a session management protocol; does Wayland define something equivalent? If not, could Plasma do something limited to KDE apps? Where is the current session save/restore code? Any documentation we could link in this bug to support someone who wants to give a shot at it?
(In reply to Bernie Innocenti from comment #21) > (In reply to devsk from comment #20) > > Or the devs you already have are interested only in next shiny thing than to > > fix bugs in their code...:-) Sure, we can't force devs to stick around > > forever and fix bugs in their code but sometimes, its good to stop new > > development and just fix the bugs. You will have more adoption and > > participation, and that can potentially get you more devs. > > As a user, I also wish session restore to worked on Wayland, but > inflammatory comments won't help expedite it. I swear inflammation was not the intention. But truth can be hard sometimes and it lands wrongly in written communications. My apologies if it sounded like that. It is true that devs like to move onto newer things. I see it everyday at work. And good teams and leaders have to bring them back to the table. We have burnt sprints doing just bug fixes solely because of this. And it works! The overall quality of the code improves and customers are happier and they spread the good word!
For me, with x11 applications running under x11 ad Wayland, it just seems to be a app startup mechanism. xcalc for example doesn't remain state after logging out. The observed result has been found because Firefox has a option to reopen the pages that were closed during the shutdown of Firefox. Therefore i think changing restore to reopen would be more accurate and a more concrete path to a solution. after the user ends session by logging out, rebooting, etc. Before closing the applications, the paths of the open applications should be saved to a (session) file from where these can be opened. I would be interested to know how the x11 application reopen is done in Wayland as hopefully some of the solution can be reused or be expanded on to include Wayland applications. Im not completely confident in my c++ skills yet as im studying it, so maybe some would like to help me tackle by introducing me to the project structure and the working parts making up KDE.
(In reply to devsk from comment #22) > (In reply to Bernie Innocenti from comment #21) > > (In reply to devsk from comment #20) > > > Or the devs you already have are interested only in next shiny thing than to > > > fix bugs in their code...:-) Sure, we can't force devs to stick around > > > forever and fix bugs in their code but sometimes, its good to stop new > > > development and just fix the bugs. You will have more adoption and > > > participation, and that can potentially get you more devs. > > > > As a user, I also wish session restore to worked on Wayland, but > > inflammatory comments won't help expedite it. > > I swear inflammation was not the intention. But truth can be hard sometimes > and it lands wrongly in written communications. My apologies if it sounded > like that. Your comment was not inflammatory at all. It was your opinion expressed in a friendly and factual manner. IMO. But it seems to me that esp. in the FOSS community quite a few people simply can't stand critigue, however constructive or well intentioned or politely formulated it may be. They seem to experience critigue as an aggression and not as a chance for improvement. And I consider that a major weakness and an obstacle to success.
This "bug" or missing key feature, as I see it, is obviously really bad and at this point of time quite shocking. Two days ago I was about switching to Plasma-Wayland because I had such a favorable impression of it. Until I discovered this thing. I don't know whether this situation is due to a lack of provision in the Wayland-design or an inability of developers to focus on what really matters. But if the Plasma devs could solve this on their own, I'd strongly suggest they drop any other Wayland related work *NOW* and start working like hell on resolving this issue. Because this is so detrimental to Plasma's and KDE's reputation that they may not recover from it. IMO.
*** Bug 460567 has been marked as a duplicate of this bug. ***
Same problem here with leap 15.4. Would be really nice to get it fixed ... .
Hi all, same problem here does anyone know if the bug has been fixed? thanks Andrea
(In reply to ticonzero from comment #28) > Hi all, > > same problem here does anyone know if the bug has been fixed? > If it had been fixed, the status would have changed. With the "Importance" downgraded to "normal", I don't expect it to be fixed before Plasma 6.
ok, thanks for the clarification, I will be moving back to Xubuntu 20.04 LTS, since I make big use of this feature
(In reply to ticonzero from comment #30) > ok, thanks for the clarification, I will be moving back to Xubuntu 20.04 > LTS, since I make big use of this feature I'd say that 99 % of the users make use of this feature. The rest either don't know that it exists or never log out because they are incurably addicted to Plasma-Wayland. ;)
I don't think there are so many Wayland users out there because Wayland has so many restrictions and bugs so far (and I don't see any solution).
Created attachment 154513 [details] attachment-25640-0.html Andreas, I would respectfully disagree. I switched to wayland once multi monitor support started working and have not looked back. Here, at least, the color is more vivid using wayland (eg X looks washed out). Aside from a few irritating bugs like this one, it works well. On Fri, Dec 9, 2022 at 12:56 PM Andreas Hartmann <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=436318 > > --- Comment #32 from Andreas Hartmann <andihartmann@freenet.de> --- > I don't think there are so many Wayland users out there because Wayland > has so > many restrictions and bugs so far (and I don't see any solution). > > -- > You are receiving this mail because: > You are on the CC list for the bug.
(In reply to Andreas Hartmann from comment #32) > I don't think there are so many Wayland users out there because Wayland has > so many restrictions and bugs so far (and I don't see any solution). Just as a reference point, Wayland session usage is shown gradually growing here: https://www.gamingonlinux.com/index.php?module=statistics&view=trends#SessionType-top
Created attachment 154515 [details] attachment-30227-0.html Well I do like it, in fact I'm sticking with it, but I do miss being able to restore the old session, for me it means not having to reopen dozen of pdfs in different okular instances on different desktops On Sun, 11 Dec 2022, 20:54 Ed Tomlinson, <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=436318 > > --- Comment #33 from Ed Tomlinson <edtoml@gmail.com> --- > Andreas, I would respectfully disagree. I switched to wayland once multi > monitor support started working and have not looked back. Here, at least, > the color is more vivid using wayland (eg X looks washed out). Aside from > a few irritating bugs like this one, it works well. > > On Fri, Dec 9, 2022 at 12:56 PM Andreas Hartmann <bugzilla_noreply@kde.org > > > wrote: > > > https://bugs.kde.org/show_bug.cgi?id=436318 > > > > --- Comment #32 from Andreas Hartmann <andihartmann@freenet.de> --- > > I don't think there are so many Wayland users out there because Wayland > > has so > > many restrictions and bugs so far (and I don't see any solution). > > > > -- > > You are receiving this mail because: > > You are on the CC list for the bug. > > -- > You are receiving this mail because: > You are on the CC list for the bug.
Created attachment 154516 [details] attachment-30617-0.html You were not replying to me I guess ... On Sun, 11 Dec 2022, 21:19 ti conzero, <ticonzero2010@gmail.com> wrote: > Well I do like it, in fact I'm sticking with it, but I do miss being able > to restore the old session, for me it means not having to reopen dozen of > pdfs in different okular instances on different desktops > > On Sun, 11 Dec 2022, 20:54 Ed Tomlinson, <bugzilla_noreply@kde.org> wrote: > >> https://bugs.kde.org/show_bug.cgi?id=436318 >> >> --- Comment #33 from Ed Tomlinson <edtoml@gmail.com> --- >> Andreas, I would respectfully disagree. I switched to wayland once multi >> monitor support started working and have not looked back. Here, at least, >> the color is more vivid using wayland (eg X looks washed out). Aside from >> a few irritating bugs like this one, it works well. >> >> On Fri, Dec 9, 2022 at 12:56 PM Andreas Hartmann < >> bugzilla_noreply@kde.org> >> wrote: >> >> > https://bugs.kde.org/show_bug.cgi?id=436318 >> > >> > --- Comment #32 from Andreas Hartmann <andihartmann@freenet.de> --- >> > I don't think there are so many Wayland users out there because Wayland >> > has so >> > many restrictions and bugs so far (and I don't see any solution). >> > >> > -- >> > You are receiving this mail because: >> > You are on the CC list for the bug. >> >> -- >> You are receiving this mail because: >> You are on the CC list for the bug. > >
(In reply to ticonzero from comment #35) > Well I do like it, in fact I'm sticking with it, but I do miss being able > to restore the old session, for me it means not having to reopen dozen of > pdfs in different okular instances on different desktops Same here. This bug is the only reason why I am not running Wayland. I usually have about a dozen PDF (okular) and over twenty text (kate) files open. It is too much work to open each of these files again every time I restart the computer.
(In reply to Francisco Cribari from comment #37) > It is too much work to open each of these files again every time I > restart the computer. Ever heard about sleep and hibernation? ;-)
(In reply to Mauro Molinari from comment #38) > Ever heard about sleep and hibernation? ;-) Sure. I use them daily. I'm on Arch Linux which is not shy in updates. Several updates (kernel (zen), etc.) require a reboot.
(In reply to Francisco Cribari from comment #37) > (In reply to ticonzero from comment #35) > > > Well I do like it, in fact I'm sticking with it, but I do miss being able > > to restore the old session, for me it means not having to reopen dozen of > > pdfs in different okular instances on different desktops > > Same here. This bug is the only reason why I am not running Wayland. I > usually have about a dozen PDF (okular) and over twenty text (kate) files > open. It is too much work to open each of these files again every time I > restart the computer. If your windows don't change too much you can find a workaround on my dup: https://bugs.kde.org/show_bug.cgi?id=455900
Created attachment 154521 [details] attachment-13297-0.html It wouldn't work for me, I need to switch between different OSs and need to restart On Sun, 11 Dec 2022, 22:21 Mauro Molinari, <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=436318 > > --- Comment #38 from Mauro Molinari <mauromol@tiscali.it> --- > (In reply to Francisco Cribari from comment #37) > > It is too much work to open each of these files again every time I > > restart the computer. > > Ever heard about sleep and hibernation? ;-) > > -- > You are receiving this mail because: > You are on the CC list for the bug.
(In reply to John E from comment #40) > (In reply to Francisco Cribari from comment #37) > > (In reply to ticonzero from comment #35) > > > > > Well I do like it, in fact I'm sticking with it, but I do miss being able > > > to restore the old session, for me it means not having to reopen dozen of > > > pdfs in different okular instances on different desktops > > > > Same here. This bug is the only reason why I am not running Wayland. I > > usually have about a dozen PDF (okular) and over twenty text (kate) files > > open. It is too much work to open each of these files again every time I > > restart the computer. > > If your windows don't change too much you can find a workaround on my dup: > https://bugs.kde.org/show_bug.cgi?id=455900 In my view, the most obvious and promising "workaround" for an ordinary user is to continue enjoying Plasma-X11 until all major issues in Plasma-Wayland are fixed and it's ready for productive use. ;)
Created attachment 154527 [details] attachment-19101-0.html I installed kubuntu 22.04LTS, that came with Wayland, how can I get back to X11-Plasma, without returning to 18.04LTS ? On Mon, 12 Dec 2022, 10:10 , <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=436318 > > --- Comment #42 from imaginator@mailbox.org --- > (In reply to John E from comment #40) > > (In reply to Francisco Cribari from comment #37) > > > (In reply to ticonzero from comment #35) > > > > > > > Well I do like it, in fact I'm sticking with it, but I do miss being > able > > > > to restore the old session, for me it means not having to reopen > dozen of > > > > pdfs in different okular instances on different desktops > > > > > > Same here. This bug is the only reason why I am not running Wayland. I > > > usually have about a dozen PDF (okular) and over twenty text (kate) > files > > > open. It is too much work to open each of these files again every time > I > > > restart the computer. > > > > If your windows don't change too much you can find a workaround on my > dup: > > https://bugs.kde.org/show_bug.cgi?id=455900 > > In my view, the most obvious and promising "workaround" for an ordinary > user is > to continue enjoying Plasma-X11 until all major issues in Plasma-Wayland > are > fixed and it's ready for productive use. ;) > > -- > You are receiving this mail because: > You are on the CC list for the bug.
(In reply to ticonzero from comment #43) > Created attachment 154527 [details] > attachment-19101-0.html > > I installed kubuntu 22.04LTS, that came with Wayland, how can I get back to > X11-Plasma, without returning to 18.04LTS ? I think that's a question for the kbuntu support forum / mailing list.
Created attachment 154528 [details] attachment-23823-0.html Thanks! On Mon, 12 Dec 2022, 10:41 , <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=436318 > > --- Comment #44 from imaginator@mailbox.org --- > (In reply to ticonzero from comment #43) > > Created attachment 154527 [details] > > attachment-19101-0.html > > > > I installed kubuntu 22.04LTS, that came with Wayland, how can I get back > to > > X11-Plasma, without returning to 18.04LTS ? > I think that's a question for the kbuntu support forum / mailing list. > > -- > You are receiving this mail because: > You are on the CC list for the bug.
(In reply to imaginator from comment #42) > (In reply to John E from comment #40) > > (In reply to Francisco Cribari from comment #37) > > > (In reply to ticonzero from comment #35) > > > > > > > Well I do like it, in fact I'm sticking with it, but I do miss being able > > > > to restore the old session, for me it means not having to reopen dozen of > > > > pdfs in different okular instances on different desktops > > > > > > Same here. This bug is the only reason why I am not running Wayland. I > > > usually have about a dozen PDF (okular) and over twenty text (kate) files > > > open. It is too much work to open each of these files again every time I > > > restart the computer. > > > > If your windows don't change too much you can find a workaround on my dup: > > https://bugs.kde.org/show_bug.cgi?id=455900 > > In my view, the most obvious and promising "workaround" for an ordinary user > is to continue enjoying Plasma-X11 until all major issues in Plasma-Wayland > are fixed and it's ready for productive use. ;) That's what I do as well, but it's not really what I would call a workaround.
Exactly same problem can be seen even if KDE is run in wayland mode ... .
Please ignore my last entry - wrong ticket :-).
I've been "forced" to move now to wayland to get the per screen scale factor as it will never be implemented on X11. But loosing restore session is a pain. It seems we miss a global review on plasma development, with clear objectives for each release, to make all users (and developers) happy.
(In reply to Bruno Friedmann from comment #49) > I've been "forced" to move now to wayland to get the per screen scale factor > as it will never be implemented on X11. But loosing restore session is a > pain. > It seems we miss a global review on plasma development, with clear > objectives for each release, to make all users (and developers) happy. I'm sure it holds the top position on their priority list for Plasma 6. But: who knows? ;)
(In reply to Bernie Innocenti from comment #21) > I would like to know what's making this difficult. X11 had a session > management protocol; does Wayland define something equivalent? Let me loosely quote the wiki [1] > Session restoring does not include Wayland native windows (...). > Our sessions management recover engine is based on the X Session Management Protocol > and there is apparently currently no generic concept to do it on Wayland. > But on Qt it's plugin-able and GNOME has had their own implementation for some time. [2] Regarding opened discussions, there's an issue in the kwin repo, see "Goal 2: Session restore" [3] [1] https://community.kde.org/Plasma/Wayland_Showstoppers [2] https://wiki.gnome.org/Projects/SessionManagement/GnomeSession [3] https://invent.kde.org/plasma/kwin/-/issues/113#note_500909
See also the MR linked in the issue above: "Draft: wayland: Add support for xdg-session-v1" [1] [1] https://invent.kde.org/plasma/kwin/-/merge_requests/3024