Bug 505645

Summary: Add "Don't ask again" option to image paste download prompt
Product: [Applications] krita Reporter: Jeeshway <bioniclekolacz>
Component: GeneralAssignee: Halla Rempt <halla>
Status: RESOLVED FIXED    
Severity: wishlist CC: halla
Priority: NOR    
Version First Reported In: 5.2.9   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jeeshway 2025-06-15 23:44:19 UTC
When pasting an image from the clipboard into Krita, especially from a web browser or external app, Krita often prompts with a "Do you want to download this image?" dialog box. This is useful for safety, but it can become disruptive for frequent workflows.

I’d like to request an option such as:

A checkbox on the prompt that says "Don't ask again"

Or a setting under Preferences > General to disable this prompt globally

This would streamline workflows for users who regularly paste images and already understand the source of the clipboard content.

Steps to Reproduce:

Copy an image from a web browser (e.g., Chrome or Firefox)

Open Krita

Press Ctrl+V

Dialog appears asking whether to download the image

Expected Behavior:
Option to skip this dialog permanently or suppress it with a setting.

Actual Behavior:
Dialog appears every time, even for trusted sources.

Thank you!
Comment 1 Halla Rempt 2025-06-16 12:29:21 UTC
Yes, that's reasonable, given that we have a similar checkbox in the image colorspace dialog box. It's a pity that QMessageBox doesn't provide this functionality: long ago, KMessageBox did...
Comment 2 Bug Janitor Service 2025-06-16 12:48:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2414
Comment 3 Bug Janitor Service 2025-06-30 07:40:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2421
Comment 4 Halla Rempt 2025-07-04 09:39:05 UTC
Git commit c97cd6525ebeb279673f24b6b44349442ffbfe97 by Halla Rempt.
Committed on 04/07/2025 at 09:38.
Pushed by rempt into branch 'master'.

Create a wrapper to add a do-not-ask checkbox to a messagebox

M  +8    -0    libs/global/CMakeLists.txt
A  +36   -0    libs/global/KisMessageBoxWrapper.cpp     [License: LGPL(v2.0+)]
A  +36   -0    libs/global/KisMessageBoxWrapper.h     [License: LGPL(v2.0+)]
M  +3    -1    libs/ui/KisRemoteFileFetcher.cpp

https://invent.kde.org/graphics/krita/-/commit/c97cd6525ebeb279673f24b6b44349442ffbfe97