Selecting an output directory for taking screencasts or screenshots using the file explorer's folder shortcuts is a no-op, in the sense that it does not change the output directory.
Why is this important?
The user cannot use the file selector's shortcuts to select a file
Upon seeing the folder selection fail, the user is led to believe it is impossible to set Kazam's output directory.
How to reproduce the issue
1. Run kazam using ./kazam --debug and open settings using window's File tab
2. Click Capture to take a screencast
The video is saved in the directory specified in the settings (/home/loic/Videos in this example), as expected:
3. Use the settings window to select a new output directory
We use /home/loic/Documents in this example:
Notice how kazam's debug output (terminal window in top right) says Autosave video folder set to: /home/loic/Videos, indicating our operation was a no-op:
4. Click Capture to record another screencast
Notice how the screencast is saved to the same directory (/home/loic/Videos), though we expect it to be saved in /home/loic/Documents:
5. Switch to the Screenshot tabs in both kazam windows
6. Click Capture to capture a screenshot
Notice how it is saved to /home/loic/Videos, as expected, given our settings:
7. Use the settings window to select a new output directory
We use /home/loic/Downloads in this example:
Notice how kazam's debug output (terminal window in top right) says Autosave picture folder set to: /home/loic/Videos, indicating our operation was a no-op:
8. Click Capture to record another screenshot
Notice how the screenshot is saved to the same directory (/home/loic/Videos), though we expect it to be saved in /home/loic/Downloads:
Version info
Kazam version 1.5.7 Jammy (commit b30ac3f) running on ubuntu 22.04.
Output of running ./kazam --debug when executing steps above
What is the issue?
Selecting an output directory for taking screencasts or screenshots using the file explorer's folder shortcuts is a no-op, in the sense that it does not change the output directory.
Why is this important?
How to reproduce the issue
1. Run kazam using
./kazam --debug
and open settings using window'sFile
tab2. Click
Capture
to take a screencastThe video is saved in the directory specified in the settings (
/home/loic/Videos
in this example), as expected:3. Use the settings window to select a new output directory
We use
/home/loic/Documents
in this example:Notice how kazam's debug output (terminal window in top right) says
Autosave video folder set to: /home/loic/Videos
, indicating our operation was a no-op:4. Click
Capture
to record another screencastNotice how the screencast is saved to the same directory (
/home/loic/Videos
), though we expect it to be saved in/home/loic/Documents
:5. Switch to the
Screenshot
tabs in both kazam windows6. Click
Capture
to capture a screenshotNotice how it is saved to
/home/loic/Videos
, as expected, given our settings:7. Use the settings window to select a new output directory
We use
/home/loic/Downloads
in this example:Notice how kazam's debug output (terminal window in top right) says
Autosave picture folder set to: /home/loic/Videos
, indicating our operation was a no-op:8. Click
Capture
to record another screenshotNotice how the screenshot is saved to the same directory (
/home/loic/Videos
), though we expect it to be saved in/home/loic/Downloads
:Version info
Kazam version 1.5.7 Jammy (commit b30ac3f) running on ubuntu 22.04.
Output of running
./kazam --debug
when executing steps aboveClick here to see the output
Note
If we choose an output folder by clicking
Other
(see this screenshot) rather than directly clicking a shortcut folder, this problem does not occur.