Bug 422630 - Discover Updates View: swap "Update" and "Check for Updates" buttons?
Summary: Discover Updates View: swap "Update" and "Check for Updates" buttons?
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.18.5
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2020-06-08 13:38 UTC by Gregor Mi
Modified: 2020-12-21 17:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.21


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor Mi 2020-06-08 13:38:59 UTC
Currently, in the Updates View there are one or two buttons on the top right:

- [ Check for Updates ]                   if there no updates available
- [ Update ] and [ Check for Updates ]    if there are updates available

I am not sure about the KDE HIG, but should the primary action not be on the right side?
With this as resulting layout:

- [ Check for Updates ] and [ Update ]
Comment 1 Nate Graham 2020-08-26 03:07:14 UTC
There isn't really a hard-and-fast rule for this. It's easy enough to change, but is it worth it?
Comment 2 Riccardo Robecchi 2020-12-11 11:37:11 UTC
(In reply to Nate Graham from comment #1)
> There isn't really a hard-and-fast rule for this. It's easy enough to
> change, but is it worth it?

I find myself often clicking on "check for updates" instead of "update" as I expect the relevant action to be the rightmost one, so I would be in favour of this.
Comment 3 Bug Janitor Service 2020-12-11 14:48:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/58
Comment 4 Aleix Pol 2020-12-16 17:52:40 UTC
Git commit bd4c1ac7904a2ec6d288bfe9e0e0c32c6e059863 by Aleix Pol Gonzalez, on behalf of Nate Graham.
Committed on 16/12/2020 at 17:13.
Pushed by ngraham into branch 'master'.

Reverse position of Refresh and Update actions in desktop view

People seem to feel that the Update action should be the right-most one
in desktop view. This commit accomplishes that, without changing the
ordering in mobile/narrow view, which would inappropriately cause the
Refresh action to be the center one in the floating action button.
FIXED-IN: 5.21

M  +5    -2    discover/qml/UpdatesPage.qml

https://invent.kde.org/plasma/discover/commit/bd4c1ac7904a2ec6d288bfe9e0e0c32c6e059863