Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using GTK File Chooser Dialog? #388

Closed
orschiro opened this issue Sep 25, 2015 · 5 comments
Closed

Using GTK File Chooser Dialog? #388

orschiro opened this issue Sep 25, 2015 · 5 comments

Comments

@orschiro
Copy link
Contributor

Dear all,

I know that CopyQ is using Qt. Yet I would like to know whether it is possible to replace the default file chooser dialog below with the native, more powerful GTK file chooser (in my case on an Ubuntu 15.04 installation).

Thankfully,

Robert

Default file chooser:
image

GTK file chooser:
image

@hluk
Copy link
Owner

hluk commented Sep 27, 2015

Hmm, that's strange because the native dialog should be used by default (option QFileDialog::DontUseNativeDialog can be used to disable that behavior).

Where does the dialog come from? Do Import and Export dialogs look the same?

Perhaps using CopyQ built with Qt 5 will fix that.

@orschiro
Copy link
Contributor Author

Dear @hluk,

I figured the problem. Import and Export both use the native dialog. The non-native shown above is used by Save as snippet:

image

@hluk hluk closed this as completed in 5d99a50 Sep 27, 2015
@hluk
Copy link
Owner

hluk commented Sep 27, 2015

I replaced the dialog with native one (if available on given system).

Problem could be that the dialog could complain in some rare cases since it's specifically for saving to a file.

@orschiro
Copy link
Contributor Author

@hluk

Nice, thank you!

I will test and report back as soon as there is a new deb package released.

Warmly,

Robert

@orschiro
Copy link
Contributor Author

Tested the latest version. Beautiful.

Thank you!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants