Summary: | Spectacle Screen Recording with Dual Monitors Ignores Monitor Choice | ||
---|---|---|---|
Product: | [Applications] Spectacle | Reporter: | Dashon <dashonwwIII> |
Component: | General | Assignee: | Noah Davis <noahadvs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dashonwwIII, dougshaw77, kde, nate |
Priority: | NOR | Keywords: | qt6 |
Version First Reported In: | 24.01.90 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/spectacle/-/commit/b8f9a672b6d15aa16b1bb22d226198bc1cf62f9e | Version Fixed In: | |
Sentry Crash Report: |
Description
Dashon
2024-01-31 14:20:05 UTC
I'll open a different bug report for the upside down issue. Cannot reproduce; it takes a recording of whichever screen I target. Are you making sure you click somewhere on the screen you want to record? (In reply to Nate Graham from comment #2) > Cannot reproduce; it takes a recording of whichever screen I target. Are you > making sure you click somewhere on the screen you want to record? I'm certain that I'm clicking on the screen. I tried on a new virtual desktop that is mostly empty with the exception of one window, so that I can tell them apart in the recording. However, it seems like no matter where I click, only my second monitor gets recorded. Perhaps its an issue with the arch package? I can confirm. Neon Testing, Plasma 5.92.90, Frameworks 5.249.0, Qt 6.6.1, AMD GPU. After playing around with it a bit more, I think that Spectacle is recording whichever monitor has the active window on it (not counting the Spectacle window). (In reply to Doug from comment #5) > After playing around with it a bit more, I think that Spectacle is recording > whichever monitor has the active window on it (not counting the Spectacle > window). Wow nice find, that seems to be it. I made sure the active window minus the spectacle window was on my first monitor instead of the second one. This time it actually recorded the first monitor. (In reply to Doug from comment #5) > After playing around with it a bit more, I think that Spectacle is recording > whichever monitor has the active window on it (not counting the Spectacle > window). Is the window partly on one screen and partly on another? (In reply to Noah Davis from comment #7) > (In reply to Doug from comment #5) > > After playing around with it a bit more, I think that Spectacle is recording > > whichever monitor has the active window on it (not counting the Spectacle > > window). > > Is the window partly on one screen and partly on another? In my case it was not. Each window was firmly on exactly one monitor at any given time. (In reply to Noah Davis from comment #7) > (In reply to Doug from comment #5) > > After playing around with it a bit more, I think that Spectacle is recording > > whichever monitor has the active window on it (not counting the Spectacle > > window). > > Is the window partly on one screen and partly on another? No, I had all windows on one screen only Git commit e238cceb0bd65f88236d2ebf4202b9979bd79ce2 by Noah Davis. Committed on 15/02/2024 at 08:17. Pushed by ndavis into branch 'master'. Fix always recording the screen at (0,0) with screen recording On wayland, you can't get the cursor position from QCursor::pos(), so we use selected window geometry instead. However, using selected window geometry can sometimes select the wrong screen if the window is between screens. We'll need to come up with a better solution someday. M +9 -3 src/Platforms/VideoPlatformWayland.cpp https://invent.kde.org/graphics/spectacle/-/commit/e238cceb0bd65f88236d2ebf4202b9979bd79ce2 Git commit b8f9a672b6d15aa16b1bb22d226198bc1cf62f9e by Noah Davis. Committed on 15/02/2024 at 08:21. Pushed by ndavis into branch 'release/24.02'. Fix always recording the screen at (0,0) with screen recording On wayland, you can't get the cursor position from QCursor::pos(), so we use selected window geometry instead. However, using selected window geometry can sometimes select the wrong screen if the window is between screens. We'll need to come up with a better solution someday. (cherry picked from commit e238cceb0bd65f88236d2ebf4202b9979bd79ce2) M +9 -3 src/Platforms/VideoPlatformWayland.cpp https://invent.kde.org/graphics/spectacle/-/commit/b8f9a672b6d15aa16b1bb22d226198bc1cf62f9e |