[digikam] [Bug 376617] New: Odd behaviour of sidebar buttons under some themes (Adwaita-Qt)

Craig Drummond bugzilla_noreply at kde.org
Sat Feb 18 15:03:07 GMT 2017


https://bugs.kde.org/show_bug.cgi?id=376617

            Bug ID: 376617
           Summary: Odd behaviour of sidebar buttons under some themes
                    (Adwaita-Qt)
           Product: digikam
           Version: 5.4.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: digikam-devel at kde.org
          Reporter: craig at kde.org
  Target Milestone: ---

DMultiTabBarTab::initStyleOption() only sets QStyle::State_AutoRaise flag if
the sidebar button is under the mouse. I think this is incorrect, in that the
button is always 'AutoRaise' - just it should only be drawn raised if under the
mouse or pressed, etc. Its AutoRaise property should be static.

This caused issues with the Qt version of Adwaita - the text of the buttons
would change from being elided to not when the mouse hovered over. This was
partly due to an issue with Adwaita - it contained different metrics for
auto-rasie toolbuttons (I have submitted a pull request to fix this). However,
as stated above I think this flag should be set for all cases.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list