Bug 491284

Summary: Export Layers Script Fails
Product: [Applications] krita Reporter: cubeofcheese <cubeofcheese>
Component: ScriptingAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: halla
Priority: NOR    
Version First Reported In: 5.2.2   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description cubeofcheese@proton.me 2024-08-05 00:17:14 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Trying to use the Export Layers script results in the program hanging. I am not able to interact with the window or even close it. I have to force close it.

STEPS TO REPRODUCE
1. Tools > Scripts > Export Layers
2. Select Document, Select Initial Directory, Hit OK
3. The program is hung and cannot do anything so now I have to force quit.

OBSERVED RESULT
The program hangs and does not respond to interaction.

EXPECTED RESULT
All of my layers exported as separate pngs.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.12-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i5-1235U
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics

FYI I installed GNOME and am running GNOME currently
Gnome version: 46 Wayland

ADDITIONAL INFORMATION
Fortunately I had an autosave file. Three cheers for Krita having an autosave feature!
Comment 1 cubeofcheese@proton.me 2024-08-05 01:14:44 UTC
After testing further I have determined that it is caused specifically by selecting the Initial Directory, or rather, by initiating that process. Because even clicking the "..." button to select a directory and then canceling still results in the program to stop responding.
Comment 2 cubeofcheese@proton.me 2024-08-05 01:18:52 UTC
After testing further I have determined that it is caused specifically by selecting the Initial Directory, or rather, by initiating that process. Because even clicking the "..." button to select a directory and then canceling still results in the program to stop responding.

I also just checked and the same behavior is occurring in KDE Plasma as well.
Comment 3 Halla Rempt 2024-10-31 10:40:23 UTC
I see you are using the flatpak version of krita. Flatpak does some weird sandboxing, so that might be the issue. Does this also happen with the appimage?
Comment 4 Bug Janitor Service 2024-11-15 03:46:52 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2024-11-30 03:46:33 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.