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

            Bug ID: 517606
           Summary: Screenshot functionality completely broken
    Classification: Applications
           Product: Haruna
      Version First 1.7.1
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Description

Steps to reproduce:

    Install Haruna 1.7.1 on Arch Linux (fresh install)

    Open any video file (tested with .mp4, .mkv)

    Press 's' (default screenshot key) or click screenshot button in GUI

    Observe "Screenshot failed" message in top-left corner of video

Expected behavior:
Screenshot should be saved to the configured directory (default:
~/Pictures/Haruna Screenshots/)

Actual behavior:

    Screenshot fails every time regardless of format (PNG/JPG/WEBP)

    Error message "Screenshot failed" appears on video overlay

    No screenshot file is created

    Terminal output shows: QIODevice::read (QProcess): device not open

Additional observations:

    mpv itself (the backend) CAN take screenshots normally when run
independently

    Screenshot directory is writable (Haruna creates it automatically)

    This is NOT the known 0.11.0 uppercase/lowercase config bug (that was fixed
long ago)

    The error suggests a Qt QProcess communication failure between Haruna and
the mpv backend

    Haruna appears to be using startDetached() or similar instead of properly
maintaining the process channel

Terminal output:
text

$ haruna
unknown() : QIODevice::read (QProcess): device not open
Cannot load libcuda.so.1
unknown() : KFileFilterCombo::setCurrentFilter: Could not find file filter
KFileFilter(MIME patterns: QList() File patterns: QList("*") label: "所有文件")

Attempted fixes (none worked):

    Changed screenshot format/directory multiple times

    Verified mpv works independently

    Checked file permissions

    Reinstalled both Haruna and mpv

System information:

Operating System: Arch Linux
KDE Plasma Version: 6.6.2
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.19.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 8845HS w/ Radeon 780M Graphics
Memory: 32 GiB of RAM (27.2 GiB usable)
Graphics Processor: AMD Radeon 780M Graphics

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

Reply via email to