Bug 490983

Summary: Menu items greyed-out / disabled when opening image with Krita (no layer selected by default)
Product: [Applications] krita Reporter: torben.spieker
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: penguinflyer2222
Priority: NOR    
Version: 5.2.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description torben.spieker 2024-07-29 15:30:10 UTC
SUMMARY

When opening a file with Krita without Krita being opened beforehand, no image layer is selected by default, thus a lot of menu items are greyed out and you'd think the image was opened read-only.



STEPS TO REPRODUCE
1. close Krita or don't have it open in the first place
2. Terminal: `krita 'filename'` or File Explorer(Nautilus in my case): Image → 'Open with...' → Krita

OBSERVED RESULT
Image opens but with no layer selected, so many menu items are greyed out (e.g. in 'Image' only 'Trim to Image Size' and 'Rotate' seem available.

See attachment in Bug 489404 for an example.

EXPECTED RESULT
Image opens with a layer preselected for Image features to be available. (or make the features available without layer selected if that makes any sense)

SOFTWARE/OS VERSIONS
Linux:
  EndeavourOS aka. Arch linux, updated on July 29. 2024 17:22
  i3wm, Xorg
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.15.14
Comment 1 Freya Lupen 2024-07-29 15:37:31 UTC

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