Bug 505788 - Menu that shows when drag and drop image into canvas needlessly long
Summary: Menu that shows when drag and drop image into canvas needlessly long
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Usability (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-19 16:07 UTC by John Veness
Modified: 2025-06-19 16:15 UTC (History)
0 users

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


Attachments
Menu that shows when drag one image to the canvas (13.22 KB, image/png)
2025-06-19 16:11 UTC, John Veness
Details
Menu that shows when drag many images to the canvas (13.48 KB, image/png)
2025-06-19 16:11 UTC, John Veness
Details
Menu that shows when drag one image to the canvas (13.48 KB, image/png)
2025-06-19 16:14 UTC, John Veness
Details
Menu that shows when drag many images to the canvas (13.22 KB, image/png)
2025-06-19 16:15 UTC, John Veness
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Veness 2025-06-19 16:07:51 UTC
SUMMARY
When you drag and drop an image (or multiple images) from e.g. Dolphin into a Krita canvas, the popup menu that appears is about twice as big as it needs to be, with seemingly duplicated menu entries, half of which are disabled.

STEPS TO REPRODUCE

Instance 1:
1. Run Krita
2. Start a new image
3. Drag and drop a single image file from e.g. Dolphin into the canvas

and

Instance 2:
1. Run Krita
2. Start a new document
3. Drag and drop multiple image files (in one drag operation) from e.g. Dolphin into the canvas

OBSERVED RESULT
A menu appears with the following entries:

- Insert as New Layer
- Insert as New File Layer
- Open in New Document
- Insert as Reference Image
- Insert Many Layers
- Insert Many File Layers
- Open Many Documents
- Insert as Reference Images
- Cancel

Menu entries 5 to 8 are disabled in the first instance, menu entries 1 to 4 are disabled in the second, but otherwise the menu is identical in both instances.

EXPECTED RESULT
A menu to appear as the following in the first instance (with no disabled entries):

- Insert as New Layer
- Insert as New File Layer
- Open in New Document
- Insert as Reference Image
- Cancel

A menu to appear as the following in the second instance (with no disabled entries):

- Insert Many Layers
- Insert Many File Layers
- Open Many Documents
- Insert as Reference Images
- Cancel

In other words, rather than having a long menu with some entries disabled and some enabled, have two different short menus with equivalent entries in the same locations, just slightly differently worded. I think this would be better for usability - smaller on screen, less to glance at, read, and parse, and less cognitive load wondering why half the entries are greyed out.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250617
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.1
Kernel Version: 6.15.2-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Krita Version: 6.0.0-prealpha (git 79b3845)
Comment 1 John Veness 2025-06-19 16:11:08 UTC
Created attachment 182392 [details]
Menu that shows when drag one image to the canvas
Comment 2 John Veness 2025-06-19 16:11:43 UTC
Created attachment 182393 [details]
Menu that shows when drag many images to the canvas
Comment 3 John Veness 2025-06-19 16:14:04 UTC
Created attachment 182394 [details]
Menu that shows when drag one image to the canvas
Comment 4 John Veness 2025-06-19 16:15:14 UTC
Created attachment 182395 [details]
Menu that shows when drag many images to the canvas