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

            Bug ID: 460631
           Summary: Krita command line export freezes while Krita GUI is
                    open
    Classification: Applications
           Product: krita
           Version: 5.1.1
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: mrgeek...@gmail.com
  Target Milestone: ---

SUMMARY
(a) When running a command-line command like --export or --export-sequence, the
process does not run until Krita is closed. This makes it impossible to use the
commands (e.g. from external apps) while working in Krita. It doesn't matter
which file is open in Krita, it just won't execute the command while GUI is
open for some reason.
This happens both on 5.1.1-flathub and 5.0.2-apt at least. I don't know when
the bug was introduced.

(b) A very similar problem also happens (at least in 5.1.1-flathub; don't know
if it's because of flatpak) where it freezes on splash screen when either:
- Krita GUI is open (with or without files open) and `flatpak run
org.kde.krita` is run
- A Krita file is open in the GUI and `flatpak run org.kde.krita samefile.kra`
is run to open the same file

All of these only unfreeze after Krita GUI is closed.

STEPS TO REPRODUCE
1. Open Krita GUI (e.g. from app launcher)
2. Open terminal and run the command (e.g. `krita --export file.kra
--export-filename file.webp`; also happens with other commands)

OBSERVED RESULT
Process is stuck (if command was to open GUI, it's stuck on splash screen), and
only unfreezes when Krita is closed.

EXPECTED RESULT
No Krita command-line commands should ever freeze. Export commands should work
regardless of whether Krita GUI is open. Ideally, export commands should even
be allowed to run in parallel. Same for export-sequence (animation frames).

SOFTWARE/OS VERSIONS
Krita: 5.0.2 (apt) and 5.1.1 (Flathub)
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-50-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-5300U CPU @ 2.30GHz
Memory: 11.1 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500

ADDITIONAL INFORMATION
This looks similar to #342672 and #400459 but it seems to be a different bug.

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

Reply via email to