Skip to content

Conversation

@Wallacoloo
Copy link
Member

Previously lmms used themed dialogs for project saving/opening, but not when changing settings (edit -> settings).

With this change, the settings editor also uses themed dialogs. I believe that means every file dialog in lmms now uses our own FileDialog themed dialog type.


Since everything's going through FileDialog, it's just one line of code to enable/disable theming should I someday manage to convince you all that we should use OS-native dialogs instead of custom-themed ones (because, say, the gtk file chooser includes previews for image types whereas custom dialogs don't, or because OS-native file choosers include user-bookmarked locations, whereas custom dialogs don't, ...).

But regardless of your views when it comes to themed vs native dialogs (hint: native is better), hopefully everyone agrees at the very least that making the application internally consistent is better than mixing themed and native dialogs, which is what this PR accomplishes.

Previously lmms used themed dialogs for project saving/opening, but not
when editing settings (edit -> settings).

With this change, the settings editor also uses themed dialogs.
@husamalhomsi
Copy link
Member

we should use OS-native dialogs instead of custom-themed ones (because, say, the gtk file chooser includes previews for image types whereas custom dialogs don't, or because OS-native file choosers include user-bookmarked locations, whereas custom dialogs don't, ...).

I totally agree. FWIW, LMMS is the only program I use that uses custom-themed file dialogs.

@Spekular
Copy link
Member

Spekular commented Apr 17, 2018 via email

@Wallacoloo Wallacoloo merged commit 3401de4 into LMMS:master Apr 21, 2018
@Wallacoloo Wallacoloo deleted the feature/native-dialogs branch April 21, 2018 02:01
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
Previously lmms used themed dialogs for project saving/opening, but not
when editing settings (edit -> settings).

With this change, the settings editor also uses themed dialogs.
@allejok96 allejok96 mentioned this pull request Jul 3, 2025
2 tasks
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

Successfully merging this pull request may close these issues.

3 participants