Bug 464733 - Spectacle sometimes only captures partial window in Active Window mode
Summary: Spectacle sometimes only captures partial window in Active Window mode
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.26.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-24 11:31 UTC by Schlaefer
Modified: 2024-04-24 12:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Window screenshot failing (3.02 MB, video/webm)
2023-01-24 11:31 UTC, Schlaefer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Schlaefer 2023-01-24 11:31:39 UTC
Created attachment 155555 [details]
Window screenshot failing

SUMMARY

In the plasma beta 5.26.90 Spectacle often only captures a partial window when capturing Active Window or Window Under Cursor.


STEPS TO REPRODUCE
1. Open Spectacle and take a screenshot from a window

OBSERVED RESULT

Often (not always) only a partial part of the window is captured. See attached example video.

EXPECTED RESULT

The full window should be captured.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-rc4-273-tkg-cfs (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz
Memory: 31,2 GiB of RAM
Graphics Processor: Mesa Intel® Arc

ADDITIONAL INFORMATION

This happens on a multi display setup:

- Left: Unscaled - shows no issue
- Middle: Scaled - with this issue
- Right: Unscaled with this issue 

Setting the Middle display to Unscaled (100%) seems to fix the issue on Middle and Right.

It looks like the scaled display throws off some coordination calculation - but only sometimes?
Comment 1 Nate Graham 2023-01-24 20:42:43 UTC
Data comes from KWin; moving there.
Comment 2 Vlad Zahorodnii 2023-01-25 08:54:02 UTC
Can't reproduce. No idea how kwin can only  partially draw the window.
Comment 3 Schlaefer 2024-04-24 12:57:49 UTC
Seems to work now, can't reproduce anymore. Closing.