SUMMARY After switching to Wayland on Debian11/KDE I removed redshift because I'm using "Night Color" instead so I wanted to remove the redshift widget from the bottom panel. However I accidentally removed the entire System Tray (the tray bar of open apps and notifications) in the bottom right. I had to do a lot of tinkering to get things back to normal and undo things that made it worse. A button to restore panels back to default (e.g. clock and System Tray on the bottom right, KDE icon and favorites on the bottom left, no other panels) and/or to restore back to a version that persisted e.g. for more than a day until recently (back to last state) and/or a Undo button would be very useful. The button should be highly visible and also display when right-clicking the panel -> Edit panel. This would also be useful for e.g. newcomers who accidentally changed something - it would substantially increase user-friendliness and is an option often included in apps where you can do lots of customization. Furthermore, the favorites bar and the KDE icon in the bottom left disappeared and I tried to readd it but it just reappeared after pressing the "Windows" key. (Should I file this is a separate bug or is it related or resolved?) STEPS TO REPRODUCE unknown but includes OBSERVED RESULT None of the 3 buttons described above. EXPECTED RESULT At least one easily findable / highly visible button of the 3 described above. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian 11 KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
Another thing I noticed which didn't occur right after switching to Wayland but probably has to do with it is that when hovering over "Add Panel" now shows the options in the center of the screen instead of right next to the > Also tray icons of apps running in the background like Vorta (for backups) are missing and I couldn't get them back to display. I noticed the only way to get them back is to quit and restart them.
When you delete a widget, the system shows a notification with an Undo button on it. Did you reflexively close it and then later realize that you had closed the thing that lets you undo the change? > Furthermore Yeah, can we get a new bug report for each other issue? > when hovering over "Add Panel" now shows the options in the center of the screen instead of right > next to the > This is a known issue that has already been fixed in Qt and backported to KDE patch collection. The version of Qt you're using probably doesn't have the KDE patch collection. In general I would not recommend using the Wayland session in any version of Plasma earlier than 5.23. It was really rough and buggy before then.
> In general I would not recommend using the Wayland session in any version of Plasma earlier than 5.23. It was really rough and buggy before then. Currently, sessions are breaking from time to time but I think, unlike early on, it now takes mere seconds to restore the session. I switched despite of it being somewhat buggy to solve the screen tearing problems of videos (the only alternative to this that also prevented screen tearing was Disabling "Allow applications to block compositing" in Display Configuration -> Compositor) and because I'd switch sooner or later anyway (partly due to Wayland security advantages). > Yeah, can we get a new bug report for each other issue? It seems to be related to this problem here so if anything it's a subproblem of this one. I'd create a new bug report but it's solved currently and didn't happen again and is probably difficult to replicate (if it's not fixed already anyway). Will create a new bug report if it happens again. > When you delete a widget, the system shows a notification with an Undo button on it. Did you reflexively close it and then later realize that you had closed the thing that lets you undo the change? I don't think so. However, while useful this doesn't let you restore the default or undo multiple changes or undo changes after this short timespan.
Did you know that you can delete the panel entirely and then get a new default panel from [right-click on the desktop] > Add Panel > Default Panel? Would that do what you want?
> Did you know that you can delete the panel entirely and then get a new default panel from [right-click on the desktop] > Add Panel > Default Panel? No, I didn't. > Would that do what you want? Functionally it would (or could) be the main part of it. However, this issue is less about a functionality to restore back to default than an easily visible button to restore back to default that even newbies or basically KDE-using school-children and grandmas would see and use if they accidentally screwed things up. The button would have almost not use if it was buried somewhere, it should for example be visible by right click->edit panel->right click on any panel. Moreover, people could also screw up other panels (with screwing up I mainly mean configuring it in an undesirable way and making it worse trying to fix it). This is why a restore all panels back to previous state and/or default button/s would be very useful (including for example removing an accidentally added panel at the top) .
Gotcha. I suppose we could add a "reset to default settings" button to the "More Options" menu.
Now you can restore the default panels by applying the desktop layout of a theme (eg. Breeze) while applying a global theme. While not the same as what is being requested here, considering that Plasma already offers to undo changes to a deleted panel, a context menu item to add a default panel, and a way to revert accidental changes by reapplying the global theme, I guess there's no need to add yet another way of restoring the panel. What do you think, myndstream?
> newbies or basically KDE-using school-children and grandmas would see and use if they accidentally screwed things up The thing is, we already go out of our way to make this really hard, and to offer multiple off-ramps and restoration options: 1. To remove a panel widget, you need to right-click on the desktop , click "Enter Edit Mode" > Click on the Configure button on the panel to enter Panel Edit Mode, hover over a widget, and click "Delete". It's a 5-step process! This isn't the kind of thing that should be happening by accident. 2. When you do delete a panel widget that you didn't mean to delete, you see a notification offering to undo the change. 3. You can delete the whole panel and then add a new default one using the desktop context menu. 4. You can reset the entire layout to its default settings by re-applying the global theme and checking "Desktop and window layout" in the popup that asks you what parts of it to apply. Clearly in this case none of those were enough. So I think it would be worth digging into why, rather than adding yet another way out that could be just as easily missed.