Bug 506926

Summary: krita appimage and flatpak appears to use standard qt file picker instead of default file chooser
Product: [Applications] krita Reporter: Fivel <seafiish>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: minor CC: griffinvalley
Priority: NOR    
Version First Reported In: 5.2.9   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot of file picker dialog for appimage or flatpak

Description Fivel 2025-07-11 20:38:15 UTC
Created attachment 183172 [details]
screenshot of file picker dialog for appimage or flatpak

SUMMARY
krita appimage and flatpak appears to use standard qt file picker instead of default file chooser through xdg desktop portals

STEPS TO REPRODUCE
1. download/install krita appimage or flatpak
2. run krita
3. open file dialog (such as clicking file -> open or file -> save as...)

OBSERVED RESULT
opens a basic qt file picker

EXPECTED RESULT
opens xdg default file chooser dialog

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
associated kde discuss thread on this: https://discuss.kde.org/t/krita-file-picker-should-use-xdg-file-chooser-portal/36358?u=seafiish
might be a regression introduced from Commit 54651080: https://invent.kde.org/graphics/krita/-/commit/54651080e1a070956aec269c0af39995a8630fa1
Comment 1 Fivel 2025-07-11 21:02:50 UTC
update: I was able to reproduce this in versions as far back as 4.5.7 (just picked some random old versions from the download archive) from 2017 so that rules out this being a regression from that commit, or it being a recent code problem at all
Comment 2 wolthera 2025-07-11 21:17:21 UTC
Hi,

Can you check if settings->configure Krita->general->miscellaneous->enable native file dialogs fixes your problem?
Comment 3 Fivel 2025-07-11 22:52:56 UTC
(In reply to wolthera from comment #2)
> Hi,
> 
> Can you check if settings->configure Krita->general->miscellaneous->enable
> native file dialogs fixes your problem?

that option is grayed out/unclickable on the appimage, however the flatpak is clickable and turning it on changes the file dialog to show the standard gtk file picker instead of qt file picker or desktop default (in my case, dolphin)

changing the portals.conf "org.freedesktop.impl.portal.FileChoose" and "default" values to "gnome" or "gtk" or "kde" doesn't appear to change the behavior
Comment 4 Bug Janitor Service 2025-07-12 03:47:42 UTC
๐Ÿ›๐Ÿงน Thanks for your comment!

Automatically switching the status to REPORTED so the team can perform further triage.

In the future you may also do this yourself when providing needed information.