Bug 440799

Summary: Disabled ToolButtons not grayed out
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: Alexander Stippich <a.stippich>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ahiemstra, kde, nate, noahadvs
Priority: NOR    
Version: 5.84.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***