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

            Bug ID: 525893
           Summary: Video breaks in Haruna/Kdenlive when
                    XDG_CURRENT_DESKTOP=KDE. Fixed by setting it to
                    something else instead.
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
Video fails to render in Qt6/QML applications when XDG_CURRENT_DESKTOP
identifies the session as KDE.
Not a common issue. Roughly 3 other reports of the same symptom seen online.

Affected
- Haruna: video does not render, reports "No video track detected" despite the
file being valid
- Kdenlive: project/clip monitor plays audio, no video
- A third-party Plasma video wallpaper plugin (not maintained by KDE): same
symptom

Not affected
- mpv (CLI)
- VLC

STEPS TO REPRODUCE
1. Open Haruna
2. Try to play any video file

OBSERVED RESULT
No video renders. Audio plays if present. Haruna reports "No video track
detected" even though the file is valid.

EXPECTED RESULT
Video plays normally.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux, kernel 7.2.5-1-cachyos
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.2

ADDITIONAL INFORMATION
- qt6-base: 6.11.2-3.1
- qt6-declarative: 6.11.2-2.1
- plasma-integration: 6.7.5-1.1
- GPU: Nvidia RTX 3070
- Nvidia driver (nvidia-utils): 615.71.09-1
- Haruna: 1.8.1-2.1
- Kdenlive: 26.08.1-1.1
- ffmpeg: 2:9.0.1-4.1

Ruled out through testing: ffmpeg/decoding, Nvidia GL driver, Qt Quick RHI
backend, GLX vs EGL, device permissions, Wayland vs XWayland,
plasma-integration package version, Qt platform theme plugin.

Isolated: setting the environment variable XDG_CURRENT_DESKTOP to a non-KDE
value (e.g. "null") before launching Haruna makes video work normally. This is
the only variable found so far that affects whether video renders.

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

Reply via email to