-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Use native file dialogs everywhere #5240
Comments
I disagree w/ this issue. Will post a proper explanation when I have time to type it out. |
The save dialogue's looks match the rest of LMMS, which I quite like. Blender does themed load/save as well to great effect, with custom functionality (like super easy custom format filtering, import options, etc.). Not to mention, it lists system bookmarks (which, as far as i can remember, LMMS already does for me too?) |
Some arguments in favour of this issue:
|
I've been thinking about this for a while (before reading this PR). |
I strongly disagree with having both, it's just pointless complexity having to maintain two effectively identical systems. |
I know this issue may be "stale" at this point, but I hope I can put my two-cents in. I disagree with having native dialogs but I do think that the
However, I think there may be a happy medium: there is a far better file dialog the I'll list the cons first:
Now the pros:
I think it comes down to a balancing act: how much work do we want to do for something that users may find insignificant overall? EDIT: KF5's file dialog does not have a breadcrumb menu from what I can see...it's just a textbox/combobox where you can paste paths or select from recent/suggested file paths. |
I think the additional dependency is not a problem if we can set it as optional in CMake and then use |
Update: this is the class I think we want it to inherit from: https://api.kde.org/frameworks/kio/html/classKFileCustomDialog.html |
Please do it. I can't properly use LMMS because any access to the file dialog takes ages to react. Just single-clicking a file takes around 40-50 seconds to react!! |
I agree with @superpaik that the simplest option for now would be to let the users choose via the preference. It could be a simple checkbox with the text "Use native file dialogs". The implementation would likely be something like an interface for all the file operations with the following implementations:
Using If somebody wants to experiment with this, e.g. on Windows, here's how to adjust the open file code:
|
Mainly for consistency with the rest of the interface, we currently use themed file dialogs everywhere, instead of native, but unlike native, they
@Wallacoloo once wrote:
That being said, switching to native file dialogs everywhere has some implications.
Class
VersionedSaveDialog
has some added features that can't be implemented in native file dialogs:No. 1 is useless, as users just manually change the filename, so it should be removed.
I don't know what to do about No. 2, though. 💭
Related: #3792, specifically: #3792 (comment).
The text was updated successfully, but these errors were encountered: