Add region recording, CLI options, global shortcuts, system notifications and a tray icon for recording
Things to test
You can check the checkbox if something works for you.
spectacle -b -R s
, spectacle -b -R w
, spectacle -b -R r
CLI background mode options: -
Does recording start successfully? -
Do you get a tray icon while recording? -
Does clicking the tray icon finish the recording? -
Do you get an appropriate notification when recording ends? -
Does the video end up where it should when recording finishes? - If KIO debug category logging is enabled, you should see something like
kf.kio.workers.file: copy() QUrl("file:///tmp/Spectacle.qeAtVT/Screencast_20231103_040057.webm") to QUrl("file:///home/noah/Videos/Screencasts/Screencast_20231103_040057.webm") mode= -1
in the console output.
- If KIO debug category logging is enabled, you should see something like
spectacle -b -R w -o ~/Videos/test/test.webm
, spectacle -b -R r -o ~/Videos/test/test.MP4
CLI output options: -
Does the stuff from the previous section work? -
Do you get a ~/Videos/test/test.webm
file that actually has a WebM container with the VP9 codec? -
Do you get a ~/Videos/test/test.MP4
file that actually has an MP4 container with the H.264 codec?
spectacle -R s
, spectacle -R w
, spectacle -R r
CLI GUI mode options: -
Does recording start successfully? -
Do you get a tray icon while recording? -
Do you get a minimized Spectacle window? -
Does clicking the tray icon finish the recording? -
Does clicking the "Finish recording" button finish the recording? -
Do you get a video player with the finished recording when recording finishes? -
Does the video end up where it should when recording finishes?
Global shortcuts: Meta+Alt+R (RecordScreen), Meta+Ctrl+R (RecordWindow), Meta+Shift+R/Meta+R (RecordRegion)
-
Does recording start successfully? -
Do you get a tray icon while recording? -
Does clicking the tray icon finish the recording? -
Does activating the shortcut you started with finish the recording? -
Do you get an appropriate notification when recording ends? -
Does the video end up where it should when recording finishes?
General GUI stuff
-
Can you make a selection with the video region selection editor? -
Does pressing Enter or double clicking on the region accept the selection? -
Does pressing Enter with no selection select all screens? -
Does pressing Escape exit Spectacle? -
Can you initiate recording with the 3 recording mode buttons in the viewer UI? -
Does clicking the "Finish recording" button finish the recording?
Edited by Noah Davis