Bug 494953

Summary: "native file dialogs" option on Gnome 47 is not using new file dialogs
Product: [Applications] krita Reporter: nikolas.gur
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 5.2.6   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The old looking dialog still in use in Krita
New dialogs already in use in Kdenlive

Description nikolas.gur 2024-10-17 19:30:24 UTC
Created attachment 174958 [details]
The old looking dialog still in use in Krita

SUMMARY

Gnome 47 introduced new dialogs for saving / opening files (https://release.gnome.org/47/). If you enable the "enable native file dialogs" option in Settings, I would expect these new dialogs to be used. Instead, the dialogs which pop up seem to be based on an older GTK version. Kdenlive 24.08.1 for example already uses the new dialogs.

STEPS TO REPRODUCE
1. Turn on "Settings - Configure Krita - Miscellaneous - Enable native file dialogs"
2. Press File - Open

OBSERVED RESULT

"Open Images" dialog uses some old looking FileChooser thing

EXPECTED RESULT

"Open Images" dialog should use the new file open and save file dialogs introduced in Gnome 47

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch, Gnome 47

ADDITIONAL INFORMATION
Happens both with Krita 5.2.6 installed from Flathub and Krita 5.2.6-2 installed from the Arch package repository.
Comment 1 nikolas.gur 2024-10-17 19:31:56 UTC
Created attachment 174960 [details]
New dialogs already in use in Kdenlive
Comment 2 Halla Rempt 2024-10-18 07:33:46 UTC
Sorry, but this is beyond the scope of what we are trying to do. The switch switches between Qt's built-in dialogs and the dialogs the Qt platform plugin provides, and that is all; if on some platforms, the platform plugin doesn't use the native dialogs, that's something that happens inside Qt.