Bug 423145

Summary: Please add option to use DE-native (KDE, GNOME) save dialog instead of Qt save dialog
Product: [Applications] Falkon Reporter: Bill Dietrich <kdebt4>
Component: generalAssignee: David Rosca <nowrep>
Status: REPORTED ---    
Severity: wishlist CC: white.tw.tw
Priority: NOR Keywords: usability
Version First Reported In: 3.1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bill Dietrich 2020-06-18 10:37:43 UTC
STEPS TO REPRODUCE
1. Open an image in a tab
2. Right-click on the image and do Save Image As
3. 

OBSERVED RESULT

Get a KDE-style Save dialog, instead of (in my configuration) an Ubuntu GNOME save dialog.  The UIs are fairly different, I would like them to be consistent.

EXPECTED RESULT

Present a DE-specific Save dialog.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 
Ubuntu GNOME 20.04

ADDITIONAL INFORMATION
Comment 1 Christoph Feck 2020-07-09 10:49:48 UTC
*** Bug 423147 has been marked as a duplicate of this bug. ***
Comment 2 TW3 2020-07-12 00:11:31 UTC
https://doc.qt.io/qt-5/qfiledialog.html#Option-enum

> By default, the native file dialog is used unless you use a subclass of QFileDialog that contains the Q_OBJECT macro, or the platform does not have a native dialog of the type that you require.

Although I don't currently have access to a Linux machine with gnome DE to test which dialogs if all are not native. A quick grep for QFileDialog shows quite a few instances of QFileDialog in Falkon's src.

https://doc.qt.io/qt-5/qfiledialog.html#details

> By default, a platform-native file dialog will be used if the platform has one.

> Note: This option must be set before changing dialog properties or showing the dialog.

The documentation I linked is for Qt 5.15 and the reporter has not mentioned the Qt version (which would help.)

On Windows, the native Windows file dialog opens when I select the 'Open File' option from the application menu. This is the expected behaviour here I believe.
Comment 3 Bill Dietrich 2020-07-12 08:52:38 UTC
I don't know how to get the Qt version.  Most of my packages with "qt" in the name have "5.12.8-0ubuntu1" in the name, but some have "5.68.0-0ubuntu1", some show other numbers.
Comment 4 TW3 2020-07-13 08:45:23 UTC
> I don't know how to get the Qt version.

Menu -> Help -> About Qt.
Or
Type 'falkon:config' into the address bar and press enter.

It looks like you have Qt version 5.12.8 from your comment. Which is pretty old.

Could do with some one to verify that the bug does not happen with newer versions of Qt on Linux. I wouldn't be surprised if the file dialog thing is a bug in Qt 5.12.
Comment 5 Bill Dietrich 2020-07-13 10:18:23 UTC
> Menu -> Help -> About Qt.

"This program uses Qt version 5.12.8."