Bug 440799 - Disabled ToolButtons not grayed out
Summary: Disabled ToolButtons not grayed out
Status: RESOLVED DUPLICATE of bug 433256
Alias: None
Product: frameworks-qqc2-desktop-style
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.84.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-09 17:27 UTC by Alexander Stippich
Modified: 2021-08-10 20:35 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Stippich 2021-08-09 17:27:54 UTC
SUMMARY
During kdereview of Skanpage it was mentioned that disabled ToolButtons do not look like their QWidget counterpart, which certainly is the case

STEPS TO REPRODUCE
1. open a QWidget based up with disabled ToolButtons, e.g. Okular with no opened document
2. open Skanpage for comparison

OBSERVED RESULT
Icons in the ToolButtons are grayed out in Skanpage, but the rest looks like an active ToolButton. Unlike in Okular, where the entire buttons is grayed out

EXPECTED RESULT

Disabled ToolButtons in Skanpage mimic the behavior of the QWidget-based ToolButton
Comment 1 Nate Graham 2021-08-10 16:17:09 UTC
How did you add the toolbuttons? Are they on a Kirigami.ActionToolBar? If so, then this is Bug 433256.
Comment 2 Alexander Stippich 2021-08-10 20:00:30 UTC
It's a plain QtQuickControls ToolBar with ToolButtons in a RowLayout
Comment 3 Nate Graham 2021-08-10 20:35:11 UTC
Thanks for the info. Re-titled Bug 433256 and we'll mark this as a duplicate of it. We'll get on fixing it.

*** This bug has been marked as a duplicate of bug 433256 ***