Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-116874

Qt windows with CSD decoration shrink at every reload.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.10, 6.5.2
    • QPA: Wayland
    • None
    • OS: Archlinux 6.4.12-zen1-1-zen,
      Display Protocol: Wayland,
      Window Manage: Wayfire (based on wlrots),
      CPU: Intel i5-13400,
      GPU: Intel UHD Graphics 730
    • Linux/Wayland

    Description

      I am using the Wayland protocol window manager Wayfire based on wlroots. When I enable QT's client-side decorations (CSD), it causes QT windows to shrink every time I restart QT software.
         In my case, the decoration height of Qt is 33 and width is 6. When I open Qt software, the total window size (including decoration) matches the size in the configuration file. However, when I close the Qt software, Qt stores a size that subtracts the decoration size. Therefore, each time I restart the Qt software, the height will be reduced by 33, and the width will be reduced by 6. Qt's bradient plugin uses a margin of (3, 30, 3, 3), which matches the amount I have reduced.

      recording.mkv

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            hoream Hoream Xiao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes