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

            Bug ID: 380391
           Summary: Titlebar height is not set properly after it is
                    changed from empty string
           Product: kwin
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: decorations
          Assignee: kwin-bugs-n...@kde.org
          Reporter: memidor...@gmail.com
  Target Milestone: ---

Created attachment 105801
  --> https://bugs.kde.org/attachment.cgi?id=105801&action=edit
Sample Java code to reproduce the bug

Titlebar height of the windows are not set properly if the window is created
with empty title initially and its title is changed later. This affects some
applications including LibreOffice (if started maximized) and Spotify. To
reproduce the bug follow these steps:

1. Open Libreoffice Writer, maximize the window and exit.
2. Go to System Settings > Font and set Window Title font size to a big value
(like 20) and Apply.
3. Open Libreoffice Writer.

The titlebar is sized according to the window buttons (maximize, minimize,
close etc.) only, so half of the window title is cropped. If the window is
unmaximized after that, it is set properly.

This seems to happen when window is created with empty title and its title is
changed later. Tested this with the attached Java code.

Screenshot (notice that the bottom of 'p' character is cropped):
https://www.kde.org/announcements/plasma-5.10/plymouth-kcm.png

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

Reply via email to