Bug 418034 - "Details..." button should remain hidden until addon installation is completed
Summary: "Details..." button should remain hidden until addon installation is completed
Status: RESOLVED FIXED
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.67.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-22 14:05 UTC by Patrick Silva
Modified: 2020-08-14 16:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.74
Sentry Crash Report:


Attachments
screenshot (373.67 KB, image/png)
2020-02-22 14:05 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-02-22 14:05:26 UTC
Created attachment 126290 [details]
screenshot

STEPS TO REPRODUCE
1. open a ghns window
2. change view by clicking on the first icon beside the search field on top
3. install any addon

OBSERVED RESULT
"Details..." button overlaps "installing" effect during installation

EXPECTED RESULT
"Details..." button should remain hidden until installation is completed

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.1
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 1 Bug Janitor Service 2020-07-22 18:57:07 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/knewstuff/-/merge_requests/18
Comment 2 Nate Graham 2020-07-23 17:10:51 UTC
Git commit 36665de5091ae456e97615bdfa9519c0b57d3cc9 by Nate Graham, on behalf of Alexander Lohnau.
Committed on 23/07/2020 at 17:03.
Pushed by ngraham into branch 'master'.

Fix display of Details and Uninstall button in Tiles view mode
FIXED-IN: 5.73

M  +2    -1    src/qtquick/qml/private/entrygriddelegates/TileDelegate.qml

https://invent.kde.org/frameworks/knewstuff/commit/36665de5091ae456e97615bdfa9519c0b57d3cc9
Comment 3 Patrick Silva 2020-08-01 12:12:25 UTC
still reproducible on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.73.0
Qt Version: 5.14.2
Comment 4 Patrick Silva 2020-08-05 10:19:07 UTC
no longer reproducible on neon unstable.
Comment 5 Patrick Silva 2020-08-11 22:45:21 UTC
still reproducible on both Arch and neon unstable.

1. open system settings > Colors
2. click on "Get new color schemes..." button
3. set tiles view mode
4. hover over any non installed color scheme, click on "Install" button
and do NOT move cursor

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Comment 6 Alexander Lohnau 2020-08-12 05:35:23 UTC
Well this is kindof intentional. If you install a plugin you still want to be able to go into the details view, maybe to compare different themes or whatever. Especially if the installation takes a bit longer this seems like a valid usecase.

And in the bugfix we ensured that the button only gets shown on hover. And if we don't move the cursor we are still hovering. So we could just say that these buttons should be hidden when we are installing/updating an entry(you could still view the details by clicking on the entry itself), but that would make the UI inconsistent.

Nate, Dan any thoughts?
Comment 7 Patrick Silva 2020-08-14 12:52:26 UTC
We are already able to go into the details when using any of the 3 view modes available by clicking on the entry itself during install process, so maybe "Details..." button is unnecessary. Currently tiles view is the only one that shows "Details..." button when we hover over an addon being installed.
Comment 8 Alexander Lohnau 2020-08-14 14:11:49 UTC
>so maybe "Details..." button is unnecessary

Hmm, that makes sense. Nate, Dan what do you think about this?
Comment 9 Nate Graham 2020-08-14 14:14:19 UTC
I agree. It's obvious enough that clicking on the entry will let you see its details.
Comment 10 Dan Leinir Turthra Jensen 2020-08-14 14:29:52 UTC
i can't help worry about the discoverability of it, but sure, i'm basically fine with getting rid of the [Details...] buttons if people have particularly strong feelings about it.
Comment 11 Patrick Silva 2020-08-14 14:57:09 UTC
To clarify, what I meant is that maybe "Details..." button is unnecessary during install/update process. But if you prefer to remove it completely I have no objection.
Comment 12 Alexander Lohnau 2020-08-14 15:18:34 UTC
>i can't help worry about the discoverability of it

In the other view modes the details button does not exist, so we would make it consistent.
Comment 13 Bug Janitor Service 2020-08-14 15:21:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/knewstuff/-/merge_requests/33
Comment 14 Alexander Lohnau 2020-08-14 16:26:53 UTC
Git commit b1d8f1788b25a82f00776c2f9e45ba9c7bd30978 by Alexander Lohnau.
Committed on 14/08/2020 at 15:18.
Pushed by alex into branch 'master'.

Remove details button
Related: bug 424895
FIXED-IN: 5.74

M  +0    -6    src/qtquick/qml/private/entrygriddelegates/TileDelegate.qml

https://invent.kde.org/frameworks/knewstuff/commit/b1d8f1788b25a82f00776c2f9e45ba9c7bd30978