Bug 433002 - "Software Sources" ToolButton lacks an icon, making it look like an un-clickable text label
Summary: "Software Sources" ToolButton lacks an icon, making it look like an un-clicka...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.18.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-02-16 10:57 UTC by Dan Dascalescu
Modified: 2022-01-20 13:19 UTC (History)
2 users (show)

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


Attachments
Screencast (131.23 KB, video/webm)
2021-02-16 10:57 UTC, Dan Dascalescu
Details
5.24 (110.02 KB, image/png)
2022-01-20 13:19 UTC, Aleix Pol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2021-02-16 10:57:22 UTC
Created attachment 135715 [details]
Screencast

I was trying to remove a repo. The instructions at https://help.ubuntu.com/community/Repositories/Kubuntu are outdated, as there are no trash can icons. It took me quite a while to figure out that "Software Sources" was a button and not a label.

I use the Fusion app style, and the Kubuntu theme.
Comment 1 Nate Graham 2021-02-16 18:52:58 UTC
Not having an icon is a big part of the problem here. The lack of one may be our bug.

However it's also supposed to have an outline that appears on hover when you move the cursor over it. I didn't see that in your screen recording, but it could be a low FPS issue with the video file. If you don't see it either, that's a bug with the Fusion style.

In the past, these buttons were implemented as PushButtons to ensure clickability even when there was no icon, but it looks like they got changed to ToolButtons in the port to Kirigami.ActionToolbar, which implements its buttons always using the ToolButton style.
Comment 2 Dan Dascalescu 2021-02-16 22:31:46 UTC
Nope, don't see any outline on hover either. Thanks for confirming!
Comment 3 Aleix Pol 2021-02-19 15:45:22 UTC
I cannot reproduce.

Can you try running Discover with QT_QUICK_CONTROLS_STYLE=Material set?
Comment 4 Aleix Pol 2021-02-19 15:53:01 UTC
https://bugs.kde.org/show_bug.cgi?id=433256 this one could be related.
Comment 5 Aleix Pol 2022-01-20 13:19:31 UTC
Created attachment 145663 [details]
5.24

The icon is there now, I'm not sure which change fixed it.