Bug 480414 - The "Defaults" button in Spectacle config resets settings on all of the pages, not just the current
Summary: The "Defaults" button in Spectacle config resets settings on all of the pages...
Status: RESOLVED INTENTIONAL
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: git-master
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: qt6, usability
Depends on:
Blocks:
 
Reported: 2024-01-28 00:25 UTC by Ilya Bizyaev
Modified: 2024-01-29 21:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Bizyaev 2024-01-28 00:25:39 UTC
STEPS TO REPRODUCE
1. Open Spectacle
2. Click “Configure…”
3. Go to “Video Saving”
4. Click “Defaults”

OBSERVED RESULT
Only user preferences on the “Video Saving” page are reset

EXPECTED RESULT
User preferences on all of the pages, including keyboard shortcuts, are lost.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240126
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 fanzhuyifan 2024-01-28 03:13:04 UTC
Can confirm. Also happens for other settings kcms, like window behavior in desktop effects. IMO this is a bit unexpected for users.
Comment 2 Nate Graham 2024-01-29 21:03:33 UTC
In fact this is the way it generally works everywhere in KDE software. It might be a bit unexpected, but arguably the reverse could be unexpected too. If we want to change this, I think it needs VDG discussion outside of the context of a bug report.
Comment 3 Ilya Bizyaev 2024-01-29 21:31:55 UTC
In System Settings, the “Defaults” button only resets values on the current page, not all the pages. System Settings is the most often used configuration UI in all of KDE software, so I think it should be the reference for other places.
Comment 4 Nate Graham 2024-01-29 21:34:14 UTC
System Settings KCMs can have sub-pages and they get affected too. It's basically the same thing as clicking the Defaults button on one page of an app's settings dialog.
Comment 5 Nate Graham 2024-01-29 21:35:33 UTC
Personally I think the issue here is that having the buttons at the bottom inherently gives them unclear scope (where the mind fills in whatever scope it thinks of first), and the issue can be solved by moving them elsewhere; see for example my proposal for System Settings in https://invent.kde.org/plasma/plasma-workspace/-/issues/76.
Comment 6 Nate Graham 2024-01-29 21:36:14 UTC
Oops, wrong link. I meant https://invent.kde.org/plasma/systemsettings/-/issues/30, sorry.
Comment 7 Ilya Bizyaev 2024-01-29 21:47:58 UTC
I agree that the visual scope is what causes the confusion, and I support the linked proposal, although the “Defaults” button needs to be given a more explicit name to clarify the scope if it is moved into the hamburger menu (e.g. “Reset the Current Page to Defaults”). I'll leave a comment.
Comment 8 Nate Graham 2024-01-29 21:49:10 UTC
Absolutely, yeah. And putting it in a menu will provide us with the space to lengthen the text so that this becomes feasible.