Bug 466008 - Spectacle - Rectangular region selector overlay is always vsync'd to the lowest refresh rate monitor
Summary: Spectacle - Rectangular region selector overlay is always vsync'd to the lowe...
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 22.12.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-18 16:25 UTC by David G.
Modified: 2023-04-24 17:31 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David G. 2023-02-18 16:25:29 UTC
SUMMARY
When using the rectangular region mode in Spectacle, the overlay that appears (for selecting the region to be captured) is always vsync'd to the lowest refresh rate monitor in a multi-monitor setup.

In my specific case, I have a 60 Hz, a 240 Hz and a 120 Hz monitor connected. When I take a screenshot with the rectangular region mode, the overlay that appears runs at 60 FPS on all monitors. This makes it look choppy/slow on the faster ones.

STEPS TO REPRODUCE
1. Launch KDE Plasma Wayland session 
2. Connect monitors with different refresh rates
3. Launch Spectacle, take a rectangular region screenshot

OBSERVED RESULT
The frame rate of the overlay that appears to select the region is limited to the lowest refresh rate monitor (on all monitors).

EXPECTED RESULT
The frame rate of the overlay that appears to select the region should respect the different refresh rates of the monitors connected.

SOFTWARE/OS VERSIONS
Linux: 6.1.12-arch1-1
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Comment 1 Noah Davis 2023-02-23 11:20:18 UTC
Might be fixed in 23.04 since before the rectangle UI was one window stretched across all screens and now it's one window for each screen.
Comment 2 David G. 2023-02-23 17:49:55 UTC
(In reply to Noah Davis from comment #1)
> Might be fixed in 23.04 since before the rectangle UI was one window
> stretched across all screens and now it's one window for each screen.

Thanks. Unable to check as of now, 23.04 hasn't yet been pushed to the official Arch repositories (April) and getting spectacle-git from the AUR requires me to swap a bunch of my KDE packages to git versions. I'd like to avoid doing that.
Comment 3 David G. 2023-04-24 17:31:09 UTC
Issue resolved in 23.04.