Bug 491536 - The menu "image">"trim to selection" does not behave consistently depending on how the image has been opened.
Summary: The menu "image">"trim to selection" does not behave consistently depending o...
Status: RESOLVED DUPLICATE of bug 490375
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 5.2.3
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-10 14:38 UTC by tnemeth
Modified: 2024-08-12 14:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tnemeth 2024-08-10 14:38:37 UTC
SUMMARY

    I do a lot of documents scanning and crop these documents using krita. The strange behavior I'm facing is that
    when I open the document I want to crop using the context menu of dolphin ("open with..." -> krita) then select
    the part of the scanned document I want to keep, the menu "Image" > "Trim to selection" is grayed. That wasn't
    the case in previous versions (I'm not sure when that behavior appeared).

     If, instead, I open the file through drag and drop, from the menu or from the "recent files" window, the "Trim to
     selection" menu is available.


STEPS TO REPRODUCE
1. Open a PNG file through dolphin context menu
2. Select a rectangle somewhere
3. Try to use the "Image" > "Trim to selection" menu entry
4. Close the file and do the same while opening the same file through the "File" > "Open" menu.

OBSERVED RESULT

At step 3. the "Trim to selection" menu entry is grayed and thus cannot be used.


EXPECTED RESULT

The "Trim to selection" menu entry should be available whether the file is opened through the file
manager's context menu or from within krita.


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.9.12-amd64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-7567U CPU @ 3.50GHz
Memory: 31.2 Gio of RAM
Graphics Processor: Mesa Intel® Iris® Plus Graphics 650


ADDITIONAL INFORMATION
N/A
Comment 1 Freya Lupen 2024-08-12 14:21:41 UTC

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