<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>440799</bug_id>
          
          <creation_ts>2021-08-09 17:27:54 +0000</creation_ts>
          <short_desc>Disabled ToolButtons not grayed out</short_desc>
          <delta_ts>2021-08-10 20:35:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-qqc2-desktop-style</product>
          <component>general</component>
          <version>5.84.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>433256</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alexander Stippich">a.stippich</reporter>
          <assigned_to name="Marco Martin">notmart</assigned_to>
          <cc>ahiemstra</cc>
    
    <cc>kde</cc>
    
    <cc>nate</cc>
    
    <cc>noahadvs</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2052349</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Stippich">a.stippich</who>
    <bug_when>2021-08-09 17:27:54 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052565</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-10 16:17:09 +0000</bug_when>
    <thetext>How did you add the toolbuttons? Are they on a Kirigami.ActionToolBar? If so, then this is Bug 433256.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052592</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Stippich">a.stippich</who>
    <bug_when>2021-08-10 20:00:30 +0000</bug_when>
    <thetext>It&apos;s a plain QtQuickControls ToolBar with ToolButtons in a RowLayout</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052601</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-10 20:35:11 +0000</bug_when>
    <thetext>Thanks for the info. Re-titled Bug 433256 and we&apos;ll mark this as a duplicate of it. We&apos;ll get on fixing it.

*** This bug has been marked as a duplicate of bug 433256 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>