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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
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: [hidden email]
          Reporter: [hidden email]
  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.
Reply | Threaded
Open this post in threaded view
|

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

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from [hidden email] ---
A quick patch to fix this behavior will be welcome...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=376617

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Usability

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=376617

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Usability                   |Usability-Themes

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