Bug 476917 - Screen recording produces 0 byte file
Summary: Screen recording produces 0 byte file
Status: RESOLVED FIXED
Alias: None
Product: plasma-mobile
Classification: Plasma
Component: Shell (show other bugs)
Version: unspecified
Platform: postmarketOS Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Mobile Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-13 05:28 UTC by TheBrokenRail
Modified: 2024-03-08 15:23 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TheBrokenRail 2023-11-13 05:28:47 UTC
SUMMARY
If I try to record the screen using the quick action, it will only create an empty MP4 file.

STEPS TO REPRODUCE
1. Pull down the notification screen.
2. Click the "Record Screen" button.
3. Wait.
4. Click the button again to stop recording.
5. A notification will appear saying that recording was successful and there will be an empty MP4 in the Videos folder.

OBSERVED RESULT
Screen recording isn't successful, I get an empty file and this is logged:

kwin_screencast: Dropping a screencast frame because the compositor is slow
*** pw_stream_set_active called from wrong context, check thread and locking: No error information
kwin_screencast: Dropping a screencast frame because the compositor is slow
*** pw_stream_set_active called from wrong context, check thread and locking: No error information
kwin_screencast: Dropping a screencast frame because the compositor is slow
[AVIOContext @ 0xffff8c78aeb0] Statistics: 0 bytes written, 0 seeks, 0 writeouts

EXPECTED RESULT
It finishes recording successfully.

SOFTWARE/OS VERSIONS
postmarketOS: v23.06
KDE Plasma Version: This section is empty in settings.
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Comment 1 Devin Lin 2024-03-08 15:23:28 UTC
We have removed the screen recording quick setting for the time being until it is properly fixed: https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/413