-
-
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
allow to hide the menu bar with [Controls],show_menubar #3184
Conversation
|
||
void WMainMenuBar::showHideMenuBar(double v) { | ||
if (v > 0) { | ||
int minHeight = sizeHint().height(); |
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.
Does it make sense to read this after initialization, or keep it here in case fonts or decoration or whatever is changed by OS measures while Mixxx runs?
I would incoperate this changes into #3189 if this approach gets greenlight, since I need this here next |
We need testing on all supported OS first, especially macOS with the global menu. |
I'll address the comments. On the scenario: |
I would say always optional (maybe add a skin flag, so that old skins that don't have the button keep working). |
Thinking about it, always optional is better as the user has to toggle the button to hide the menu and therefore implicitely knows how to recall it. |
We now have two similar menu buttons in the skins one for the application menu and one for the skin menu. That is OK looking at the legacy, but feels unintuitive. Do we have an idea to improve it? We may fix the shrink issue that makes the "skin preview" during setting the skin option void in turn. I have in mind to integrate the skin menu as pop up widget into the view menu of the menu bar. What do you think? What are alternatives? |
On Ubuntu Bionic + Gnome, the Menu button stops working in full-screen mode and does not work again after leaving it. Some issues are logged:
|
All Gnome based desktops suffer the issue of the broken button after full screen. |
Okay, thanks for testing. I'll try to hide it in fullscreen only, regardless of the skin. Maybe I also get an eventFilter working that catches single-pressing Alt to show it again. |
In Unity, I have the issue to have no Menu bar when starting if full screen the first time. |
In Full screen mode ALT+O does not work but Crtl+P still works. |
With Gnome, unlike Unity, I see a menu bar starting in full screen mode. |
Closing this. Happy to have it in my personal branch until #3189 is merged :) |
supersede #927
https://bugs.launchpad.net/mixxx/+bug/1703777
Allows to hide the main menubar with
[Controls],show_menubar
.I added a toolbar button to all skins except Shade. State is not persistent across restarts.
All keyboard shortcuts work regardless of the show/hide state.
Menus can be opened as before (like Alt + F for File menu).
ToDo
Nice to have
Alt