Bug 494649 - Ways to prevent accidental clicks on the "Add New Page..." on the left panel
Summary: Ways to prevent accidental clicks on the "Add New Page..." on the left panel
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.2.3
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-10-13 10:09 UTC by Sin Jeong-hun
Modified: 2024-11-26 14:55 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sin Jeong-hun 2024-10-13 10:09:26 UTC
There is "Add New Page..." at the bottom of the list on the left panel, and it's very annoying for me that I often misclick it. Does this button even need to be there? I mean, who that often adds new pages in the system monitor in the first place? If I click it by a mistake, it opens a pop-up, so I have to move the mouse to close it and then return to the list.

I have thought of a few ways to prevent this. 

1. Move into the "Add New Page..." into the hamburger menu above.

2. Dock "Add New Page..." at the bottom of the panel, sort of like the settings button of Visual Studio Code's left panel.

3. Option to make the list big icons, like Visual Studio Code. The current list items are too narrow vertically, so it's easy to misclick them. It only has 5 items by default, so there is a lot of wasted vertical space.
Comment 1 Nate Graham 2024-11-21 23:25:28 UTC
Yeah, this is a nonstandard way of adding stuff. Typically we don't put the "Add new" button at the end of the list. I'll move it into the hamburger menu.
Comment 2 Bug Janitor Service 2024-11-26 05:02:07 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/319
Comment 3 Nate Graham 2024-11-26 14:55:34 UTC
Git commit a6e856c81fff448efc0901fd1ba5f38541b72bbf by Nate Graham.
Committed on 26/11/2024 at 04:58.
Pushed by ngraham into branch 'master'.

Move "Add New Page" UI into hamburger menu

It's not typical to allow creating a new item in a list from a fake "add
new" item in that list. This surfaces the functionality very clearly,
but is vulnerable to mis-clicks, may prioritize an uncommonly-used
feature, and isn't consistent with how content is typically added.

Instead, stick this in the hamburger menu, in the section that has
other page-related actions
FIXED-IN: 6.3.0

M  +6    -8    src/Main.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/a6e856c81fff448efc0901fd1ba5f38541b72bbf