https://bugs.kde.org/show_bug.cgi?id=507486

Ben <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #9 from Ben <[email protected]> ---
(In reply to kde49861515 from comment #7)

I also get this error when trying to make a second recording using the same
Spectacle process; in my case, using the 'Rectangular Region' video recorder
option and saving to WebM.

Specifically, the error only happens if I re-use the first video's area; if I
mark a new one, the second video records as expected.

Steps to reproduce:
1. Open Spectacle (I usually use a hotkey, but in my test I opened it from the
Terminal)
2. Click New Recording → Rectangular Recording at the bottom of the screen
3. Mark an area
4. Stop the recording via the taskbar icon
5. Click New Recording → Rectangular Recording at the top of the screen
6. Double-click to re-select the previous area
7. Repeat #4

As you can see, after closing the error message the Terminal process does not
stop (and if I look in System Monitor, Spectacle remains indefinitely). If I
then re-open Spectacle (e.g., through KRunner) it will catch the existing
process and put me straight to the previously-selected area, rather than my
usual fresh 'Click and drag to make a selection' prompt.

I've only started to notice this recently, so I suspect it is a regression
introduced in 26.04.

I've attached a recording of the reproduction, and here's my console output
(although there doesn't seem to be anything particularly useful in it):

```sh
❯ spectacle
spectacle: Attempting to use Tesseract library "libtesseract.so.5"
spectacle: Detected Tesseract version "5.5.0"
spectacle: Loaded Tesseract runtime library from "libtesseract.so.5"
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
kpipewire_vaapi_logging: VAAPI: Mesa Gallium driver 26.0.3-1ubuntu1 for AMD
Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 7.0.0-27-generic) in use for
device "/dev/dri/renderD128"
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
kf.kio.workers.file: copy()
QUrl("file:///tmp/Spectacle.jhxmhU/Screencast_20260707_091817.mp4") to
QUrl("file:///home/rumperuu/Videos/Screencasts/Screencast_20260707_091817.mp4")
mode= -1
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 8.0.1-3ubuntu2
GPL version 2 or later
Authorization required, but no authorization protocol specified

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/home/rumperuu/Videos/Screencasts/Screencast_20260707_091817.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf62.3.100
  Duration: 00:00:01.93, start: 0.017000, bitrate: 7 kb/s
  Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661),
yuv420p(progressive), 286x196, 3 kb/s, 9.32 fps, 2k tbr, 90k tbn, start
0.017000 (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
QQmlComponent: Cannot create a component in an invalid context
QQmlComponent: Cannot create a component in an invalid context
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
libva info: VA-API version 1.23.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_23
libva info: va_openDriver() returns 0
Failed to export video: Temporary file URL must be an existing local file
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to