Bug 491414

Summary: Everything shuts off if you use ctrl + V without a selected layer
Product: [Applications] krita Reporter: emilydg2001
Component: Shortcuts and Canvas Input SettingsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: critical CC: penguinflyer2222
Priority: NOR    
Version: 5.2.4   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description emilydg2001 2024-08-08 00:34:11 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:
When multiple files are opened at once, Krita does not automatically select a layer to work with. When you try ctrl + C/ctrl + V the program will crash, closing all projects regardless of whether they are saved or not. It does not detect this and does not give you an option to reload the unsaved projects on reopening.


STEPS TO REPRODUCE
1.  Open multiple files at once using ctrl and selecting multiple
2.  Use ctrl + C/ctrl + V on a file without a selected layer
3. Watch everything shut down without warning

OBSERVED RESULT:
A crash


EXPECTED RESULT:
Everything Crashing without warning or a chance at recovery


SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Krita

 Version: 5.2.4 (git 50e8be9)
 Installation type: installer / portable package
 Hidpi: true

Qt

  Version (compiled): 5.15.7
  Version (loaded): 5.15.7
Comment 1 Freya Lupen 2024-08-08 20:06:50 UTC

*** This bug has been marked as a duplicate of bug 490636 ***