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

            Bug ID: 481416
           Summary: After undocking the only toolbar on a window, the
                    header toolbar theming remains
    Classification: Plasma
           Product: Breeze
           Version: master
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: QStyle
          Assignee: plasma-b...@kde.org
          Reporter: olib...@outlook.com
                CC: noaha...@gmail.com, uhh...@gmail.com
  Target Milestone: ---

Created attachment 165859
  --> https://bugs.kde.org/attachment.cgi?id=165859&action=edit
A demonstration of the bug in Kate according to the reproduction steps

SUMMARY
When the ONLY toolbar remaining in the top toolbar area is undocked (i.e.
dragged out of the window), the layout of the window appropriately adapts to
the change, and fills the space. The theme header area does not properly react,
and presumably still thinks the toolbar exists there until it is docked in the
window. It shows a small strip overlapping window content where the toolbar
would be.

I found this when messing around with my own app based around a QMainWindow.

The extra area disappears when the toolbar is docked again (appropriate to
whether it is docked to the top or elsewhere).

STEPS TO REPRODUCE
1. Launch Kate (or a similar app)
2. Right click on the menu bar, and hide the Hamburger Menu Toolbar
3. Right click on the main toolbar and unlock it
4. Drag the toolbar out of the window

OBSERVED RESULT
See screenshots - the extra header area where the toolbar would be overlaps the
content of the window which has appropriately reacted to the undocked toolbar.

EXPECTED RESULT
The extra header area for the toolbar is gone, as if the toolbar was not placed
there (or the theme thinks it is)

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.93.0 (6.0 RC2)
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0beta2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to