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

            Bug ID: 499818
           Summary: Enabling "Include window titlebar and borders" for an
                    "Active Window" screenshot of a `QDockWidget` renders
                    all borders, whereas disabling it rendered solely the
                    right and bottom ones.
    Classification: Applications
           Product: Spectacle
           Version: 24.12.1
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: noaha...@gmail.com
          Reporter: 4wy78...@rokejulianlockhart.addy.io
                CC: k...@david-redondo.de
  Target Milestone: ---

Created attachment 178145
  --> https://bugs.kde.org/attachment.cgi?id=178145&action=edit
"Include window titlebar and borders" enabled (for `#c0`).

SUMMARY
-------

Enabling "Include window titlebar and borders" (for an "Active Window"
screenshot of a `QDockWidget`) rendered all borders, whereas disabling it
rendered solely the right and bottom ones. Images shall be attached to
demonstrate this.

STEPS TO REPRODUCE
------------------

1.      Create a `QDockWidget`.
2.      Undock it.

3.      *Enable* "Include window titlebar and borders".
4.      Select "Active Window".

        OBSERVED RESULT
        ---------------

        Enabling "Include window titlebar and borders" rendered all borders...

5.      *Disable* "Include window titlebar and borders".
6.      Select "Active Window".

        OBSERVED RESULT
        ---------------

        ...whereas disabling it rendered solely the right and bottom ones.

EXPECTED RESULT
---------------

Both modes should display *all* window borders.

SOFTWARE/OS VERSIONS
--------------------

-       1.      ~~~sh
                #!/usr/bin/env sh
                kinfo
                ~~~

        2.      > ~~~YAML
                > Operating System: Fedora Linux 41
                > KDE Plasma Version: 6.2.5
                > KDE Frameworks Version: 6.10.0
                > Qt Version: 6.8.2
                > Kernel Version: 6.12.11-200.fc41.x86_64 (64-bit)
                > Graphics Platform: Wayland
                > Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
                > Memory: 30.4 GiB of RAM
                > Graphics Processor: AMD Radeon RX 5700
                > ~~~

-       1.      ~~~sh
                #!/usr/bin/env sh
                rpm -qa spectacle
                ~~~

        2.      > ~~~RS
                > spectacle-24.12.1-1.fc41.x86_64
                > ~~~

ADDITIONAL INFORMATION
----------------------

- This has never occurred to any other window during my usage of Spectacle, I
believe because the border isn't considered to be part of the window
decorations due to how it's implemented.

- Discovered whilst attempting to acquire screenshots for
https://github.com/KDAB/KDDockWidgets/issues/10#issuecomment-2651184223.

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

Reply via email to