-
-
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
Recover file dialog buttons mismatch #2518
Comments
|
I didn't build with qt5, though I do have it installed on my system. |
And the icon on the Ignore button is gone. 😢 |
If its of any help, when I run
But I do not run my builds with |
Mine reads:
One would assume so. I haven't tried Qt5. |
@Umcaruje Trying some fixes now. What theme are you using? Are those button icons from a system or an LMMS theme? |
Actually, they seem to be a mix of both. The recover and close without saving buttons use icons from my system theme ( |
Do you run it directly from the build directory with |
Doing
|
Is there a way for us to update the html table/GUI with the text from the buttons? |
@zonkmachine this is how it looks over on qt5: No icons, and button height varies, but the text seems to be there. |
I think it's rather "zonkmachine related" I'm afraid... |
The message "Close without Saving" is called in qt with the following line:
|
The differences seem to stem from the desktops using different orders for the button roles as explicitly defined in qdialogbuttonbox.cpp // Qt::Horizontal
{
// WinLayout
{ ResetRole, Stretch, YesRole, AcceptRole, AlternateRole, DestructiveRole, NoRole, ActionRole, RejectRole, ApplyRole,
HelpRole, EOL, EOL, EOL },
// MacLayout
{ HelpRole, ResetRole, ApplyRole, ActionRole, Stretch, DestructiveRole | Reverse,
AlternateRole | Reverse, RejectRole | Reverse, AcceptRole | Reverse, NoRole | Reverse, YesRole | Reverse, EOL, EOL },
// KdeLayout
{ HelpRole, ResetRole, Stretch, YesRole, NoRole, ActionRole, AcceptRole, AlternateRole,
ApplyRole, DestructiveRole, RejectRole, EOL },
// GnomeLayout
{ HelpRole, ResetRole, Stretch, ActionRole, ApplyRole | Reverse, DestructiveRole | Reverse,
AlternateRole | Reverse, RejectRole | Reverse, AcceptRole | Reverse, NoRole | Reverse, YesRole | Reverse, EOL },
// Mac modeless
{ ResetRole, ApplyRole, ActionRole, Stretch, HelpRole, EOL, EOL, EOL, EOL, EOL, EOL, EOL, EOL, EOL }
}, |
Which is the information we need. Test the next RC build when it's out (not done cooking yet). |
LMMS master branch, built yesterday (d30a7df).
OS: Elementary OS Freya x64, Ubuntu based distro.
When I crash LMMS and an recovery is attempted, the dialog looks like this:
Instead of this (Picture from #2176)
So the 'discard' button became 'Close without saving' and also the actual order of the buttons changed.
On the other hand, I think the order of the buttons should be the same as the order of the columns (recover, ignore, discard, exit rather than recover, discard, ignore, exit).
I also think that 'Quit' should be renamed to 'Exit' in the text.
I'm sorry for pointing out these issues now, but I never got around testing #2176
Tagging @zonkmachine since he's the author of the mentioned PR.
The text was updated successfully, but these errors were encountered: