Bug 492910

Summary: Spectacle can't capture 'Mouse Click Animation' desktop effect clicks when 'Include mouse pointer' is enabled
Product: [Plasma] kwin Reporter: reports_go_brrr <goodaqua>
Component: screencastingAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: filip.kendes1, kde, nate, ripper
Priority: NOR    
Version First Reported In: 6.1.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description reports_go_brrr 2024-09-09 20:30:52 UTC
SUMMARY
If Title haven't explained what I mean, then check out the video I attached. Wayland only because Spectacle currently doesn't allows to capture windows under X11 :(

STEPS TO REPRODUCE
1. Activate "Mouse Click Animation" in Desktop Effects of Settings.
2. Press Meta+Shift+8 to activate/deactivate the effect. (Compositing must be enabled)
3. Capture window by pressing Ctrl+Meta+R and click upon desired window. "Include Mouse Pointer" in "Recording settings" (can be found in recording tab of Spectacle) must be enabled.
4. Click randomly as many times you wish to
5. Stop recording by pressing Ctrl+Meta+R
6. Go to ~/Screencasts/ and watch the video

OBSERVED RESULT
Spectacle doesn't record clicks produced by "Mouse Click Animation" effect.

EXPECTED RESULT
It should produce such clicks in recording. It is useful for making instructions.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Vanilla Spectacle, vanilla KDE Plasma, vanilla EndeavourOS.
Comment 1 Filip 2024-09-10 08:42:38 UTC
Can confirm.
Comment 2 Filip 2024-09-10 08:46:39 UTC
One note to add. It doesn't work only for the Window option. Recording Rectangular region and Full Screen show clicks, at least for me.
Comment 3 Noah Davis 2024-09-10 09:04:12 UTC
Since KWin is responsible for setting up the streams, the mouse animations and also for sending cursor images to KPipeWire, I'm moving this bug to KWin. Fixing this could also require changes to KPipeWire though.