Bug 484038 - Make it clear that screen recording isn't supported on X11
Summary: Make it clear that screen recording isn't supported on X11
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
: 485791 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-20 04:17 UTC by jackmacwindowslinux
Modified: 2024-04-29 15:57 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jackmacwindowslinux 2024-03-20 04:17:26 UTC
SUMMARY
Spectacle does not alert users that the new screen recording function is only available on Wayland, not X11. This makes it frustrating for users who cannot use the Wayland backend yet, and try to record video with Spectacle.

Symptoms include:
- recording shortcuts working normally, with the status bar icon appearing
- stopping a recording simply makes the icon disappear, with no notification and no file output
- recording settings appear normally, but the format/extension dropdown doesn't work

STEPS TO REPRODUCE
1. Launch Plasma in an X11 workspace
2. Press Alt+Meta+R to activate recording
3. Notice there are no errors, and the recording appears to work
4. Click the recording button in the status bar to stop recording
5. Check the configured location (`~/Videos/Screencasts`) and notice no new video (as expected on X11)

OBSERVED RESULT
The recording appears to work without error, but no file is produced.

EXPECTED RESULT
An error appears at some point, notifying the user that Spectacle does not support recording on X11.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux latest (6.8.1-zen1-1-zen kernel)
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
I can't use Wayland on my system due to issues with the NVIDIA driver and redrawing window contents - web browser windows on Chromium and Firefox often get "stuck" or flicker black. This is why I'm using X11, despite Wayland being the default as of KDE/Plasma 6.0.
Comment 1 duha.bugs 2024-04-19 16:50:14 UTC
*** Bug 485791 has been marked as a duplicate of this bug. ***
Comment 2 Bug Janitor Service 2024-04-26 11:11:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/356
Comment 3 Noah Davis 2024-04-26 11:19:24 UTC
Git commit c883008bd685383b55302e1040d49151a1e7e61a by Noah Davis.
Committed on 26/04/2024 at 11:15.
Pushed by ndavis into branch 'master'.

Improve feedback when recording is not available

M  +4    -0    src/Platforms/PlatformLoader.cpp
M  +8    -9    src/Platforms/PlatformNull.cpp
M  +3    -2    src/Platforms/PlatformNull.h
M  +4    -0    src/Platforms/VideoPlatformWayland.cpp

https://invent.kde.org/graphics/spectacle/-/commit/c883008bd685383b55302e1040d49151a1e7e61a
Comment 4 Noah Davis 2024-04-29 15:57:15 UTC
Git commit 42745d25d09b23922ff572d6ea41ba2df3ca66ad by Noah Davis.
Committed on 29/04/2024 at 15:57.
Pushed by ndavis into branch 'release/24.05'.

Improve feedback when recording is not available

(cherry picked from commit c883008bd685383b55302e1040d49151a1e7e61a)

M  +4    -0    src/Platforms/PlatformLoader.cpp
M  +8    -9    src/Platforms/PlatformNull.cpp
M  +3    -2    src/Platforms/PlatformNull.h
M  +4    -0    src/Platforms/VideoPlatformWayland.cpp

https://invent.kde.org/graphics/spectacle/-/commit/42745d25d09b23922ff572d6ea41ba2df3ca66ad