-
-
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
Fix dialog button mismatch #2908
Conversation
You mean Discard and Ignore? |
Yes. |
Yup, It's a keeper! |
I was trying to reproduce on a Mac to post back a screenshot, but can't seem to get the dialog to open. Could you post instructions on how to get to that dialog? I tried both running lmms twice and to |
This should work. If you run from the build directory you may have to reselect auto save as we now have a separate .lmmsrc file ( per folder or per build directory... don't quite remember ) |
@teeberg does the button order make sense to you, as a Mac user? Qt changes the button order depending on the OS, to provide a consistent look and feel over applications, but I'm not sure how applicable this is in this case. |
To me, it would feel more intuitive to have the buttons be in the same order as the text. Although that still requires me to map the button texts to their meanings. How do you feel about making the descriptions the buttons? Instead of having a table with button names and descriptions and those four buttons at the bottom. I.e. have 4 big buttons, one on top of each other, with the descriptions instead of the short names, and completely lose the "Recover"/"Discard"/'Ignore"/"Exit" names. |
I feel like this would be inconsistent with the rest of the software. I think I'll just make all the buttons the same role, so we can have custom ordering on all platforms |
Ok, setting all the buttons to |
I am totally agree with this. And It seems that the biggest difference is on the Mac. 👍 |
@Umcaruje at least its more consistent than before. Isn't the goal to be
entirely on qt5 at some point anyway?
|
Ok here are the changes I've done:
Screenshots: |
Weird, that's opposite then what I have when I compile with qt4 ... Maybe this is a bug with qt4 and elementary os, since it works ok on qt5. |
Version 1.1.90-g18439ed (Linux/x86_64, Qt 4.8.6, GCC 4.8.4) |
Ok, so I did some testing. On unity, the order on qt4 is correct: But when I tested on Xubuntu, the order appeared reversed, just like in @zonkmachine's screenshot. Anyways, I think this can't go any better. Some testing on Mac and Windows would be nice. |
Tested! Cool, like the last shot but buttons centred. |
Self merging in 12 hours if there are no objections. |
* Fix dialog button mismatch * Change order in menu * Make buttons the same role, so we have custom ordering * Hide the exit button, add a close button to the dialog, change ordering * Make the exit button not visible
Fixes #2518
Added/designed missing icons for the other 3 buttons. All buttons are now manually added. The ordering is done relative to the OS, and I don't think that should get fixed since qt probably has a good reason for it.
Sreenshots:
Qt4:
Qt5:
Testing on as many platforms would be appreciated, I'll see to make some windows builds (@tresf, when you get back from Vacation, could you test on a Mac?)