Bug 423145 - Please add option to use DE-native (KDE, GNOME) save dialog instead of Qt save dialog
Summary: Please add option to use DE-native (KDE, GNOME) save dialog instead of Qt sav...
Status: REPORTED
Alias: None
Product: Falkon
Classification: Applications
Component: general (show other bugs)
Version: 3.1.0
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords: usability
: 423147 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-18 10:37 UTC by Bill Dietrich
Modified: 2020-07-13 10:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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."