-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
go fullscreen early #3844
go fullscreen early #3844
Conversation
I tested this on Windows7 and it works seamless without any glitch! |
If I tick "Start in Fullscreen", i'm getting SIGSEGV:
|
uff, no idea where this is coming from. I'll investigate |
@Holzhaus |
Still crashes for me:
|
Maybe because we recreate the menu bar every time we open fullscreen and overwrite the pointer? |
that doesn't happen during startup, only when toggling fullscreen later on, doesn't it? |
No, you call |
commenting out
However, I have no idea about the referenced bug report. |
right, my bad. This is unnecessary in the first place because we don't need to toggle, just go fullscreen directly with Though I wonder why it works for me with Qt 5.12.8 and on Win7... |
The later because these statements are encapsulated in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine, thank you. Should I merge or do you want more testing first?
In the long term, I think we should remove the "Start in Fullscreen" option and just remember if fullscreen was enabled when mixxx is closed. Not for 2.3 though.
I want to squash and then testing in MATE 20 would be good which is currently the only contemporary distro that has a global menu out of the box. Apart from that it seems 'global menu' is supplied only 3rd-party extensions. |
hehee, sure. so effectively revert #3493, just that it works for everyone : ) |
didn't try MATE but even there it seems to be an optional extension. latest findings (yet not tested by me): only KDE plasma has native global menu capabilities, though it's not enabled. Anyhow, long story short: I re-enabled my Xfce-appmenu plugin (disabled for styling the Mixxx menubar) and there are no issues. menu is populated all the time, all shortcuts work. Sqashed, ready for merge. Thanks for testing on short notice @Holzhaus @JoergAtGithub ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
@ronso0 can you resolve the merge conflicts with |
I've just resolved the conflicts for testing this PR with main. Will do the merge if there are no other conflicts occur. |
Great, thanks! |
I had the move the initialization of m_pLibraryExporter before switching to fullscreen. |
Done, please retest. |
Also (maybe?) unrelated but a serious bug: connectMenuBar() is invoked multiple times now and establishes duplicate signal/slot connections!! Could easily be verified by opening the About dialogue. This has probably been messed up by a previous PR that tweaked the initialization order. We need to use unique connections if we cannot prevent repeated invocations. |
And clazy is complaining, I didn't notice that: https://github.com/mixxxdj/mixxx/runs/2558341753?check_suite_focus=true
|
just realized your comments apply to main...puh |
window decoration became obvious with hiding the menubar during startup #3839
Let's wrap up the startup polishing and go fullscreen early.
Now we have a clean launch screen, then the skin shows up with the styled menubar.
This also fixes the bug that
[ ] Fullscreen
is unchecked after startup even when we are fullscreen.https://bugs.launchpad.net/mixxx/+bug/1579493
For full enjoyment merge #3839 on top : )