-
-
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
Ability to show/hide menu bar #927
Conversation
On Mac OSX 10.10.5 you can toggle the menu point, but nothing happens. |
Thank you for the PR. Please explain why the menu bar should go from you point of view. I think it is a usability issue to hide the menu bar via mouse and need to remember that F12 is the magic key to bring it back. It should be more obvious to bring it back. It is too easy to look out. How about a "gear" menu like old nautilus or a header bar like the new one. Maybe it should be a skin and desktop environment option, if Mixxx has a classic menu bar or some usable replacement. |
Hi! The main reason is that toolbar looks out of place, especially in fullscreen mode. Mixxx skins just don't look nice with this toolbar, it have custom interface that doesn't look good with standart qt widgets. Toolbar should be with customizable color maybe to look nice. Applying dark Qt theme is not a solution, because so many apps just made to be in light skins. There's one dark skinned app, the Atom text editor from github. There they have also toggle menu bar option, and when menu bar is hidden you should pres Alt to reveal it again. |
src/widget/wmainmenubar.cpp
Outdated
pToggleMenuBar->setShortcut( | ||
QKeySequence(m_pKbdConfig->getValueString(ConfigKey("[KeyboardShortcuts]", | ||
"ViewMenu_ToggleMenuBar"), | ||
"F12"))); |
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.
It is common in other Applications like Firefox or Nemo to show the menu bar if the ALT key is pressed.
Mixxx should do the same.
In addition to the Alt Key, the Menu should be appear by a new Control Object. |
@dikouzmine: mixxx/src/widget/wmainmenubar.cpp Line 231 in e59916c
If the skin creates the control, the view menu is populated with the Action. |
Fix backwards compatibility with SelectPlaylist
Integrate Wix with scons
Post Visual Studio 2015 Upgrade
I've separated actions, signals and slots to separate invisible widget WMenuActionsContainer. Made MenuBar as widget controllable by skin. There is confusion with native menu bar (OS X, Unity), for now i just disabled it. Do we need it native? Also i'm having issue with new MenuBar widget: if i don't put it inside WidgetGroup or some other container, then visibility toggled on main skin container, but not on the MenuBar itself. There is also no straight way to make menu visibility toggle by Alt key, because QActions do not support this key alone. Might be possible to hack into qt message queue, but this solution don't fit into current framework so i don't know do we really need this? |
This branch does not merge cleanly with the current master. Maybe you should rebase you changes onto the current master. # if you have not already have an upstream branch
git remote add upstream https://github.com/mixxxdj/mixxx.git
git fetch upstream
git rebase --onto upstream/master 24c22123d25919624454e6aeb15164e60250f2b8
# resolve conflicts
git mergetool
git add <conflicting files>
git rebase --continue
# if you are satisfied
git push -f |
In general we should follow the Firefox way of handling the menu bar. |
This pull request has not been updated in over a year so I am closing it to reduce the clutter of open PRs. Also, I am not convinced that this is a great way to solve the problem of having space wasted by the menu bar. I think we should move everything that is only accessible through the menu bar currently into the main UI then remove the menu bar. |
This is IMHO a candidate for 2.1. We just need to rebase it and change the key to "Alt" |
I am opposed to that approach. I find it annoying in Firefox, so much so that I had to search how to disable it because I accidentally hit Alt frequently. I have had Chrome users borrow my computer briefly and get confused by the sudden appearance of the menu bar. |
Are you against hiding the menu bar or against Alt as a shortcut? The request of hiding the menu bar comes up from time to time, so there is a valid demand. |
I would prefer to remove the menu bar entirely. What is the need for it? Why not move the few items that are in the menu bar into the skins? Keeping the menu bar but putting the toggle for it buried in the preferences instead of a single key that is easy to press on accident could work, but IMO there is no point in maintaining it. |
I prefer the menu bar over the skin menu. Because this way the user find the settings in a common way of all programs. The skin menu is hard to discover for a fist time user and its look changes from skin to skin. |
FWIW menu bars help with accessibility. We do have some vision-impaired
users of Mixxx.
…On Wed, Apr 18, 2018 at 3:52 PM, Daniel Schürmann ***@***.***> wrote:
I prefer the menu bar over the skin menu. Because this way the user find
the settings in a common way of all programs. The skin menu is hard to
discover for a fist time user and its look changes from skin to skin.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#927 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AABnn1Y5v-7mICNAO7CfRIrrhNEDtlKAks5tp8OxgaJpZM4IMH-j>
.
|
This is not the case. More and more programs are adopting designs without menu bars. GNOME and Firefox have both abandoned menu bars.
Really? Have you watched a new user struggle to find it? I think the cog icon is quite clearly related to settings. Zulip uses this and I have not seen anyone complain that they cannot find the preferences. These are the only items in the menu bar currently that are not accessible another way:
|
I think it's a bit too broad of a statement to say that menu bars inherently help with accessibility. They are an accessible way to design a GUI, but that does not mean they are the only way. IIUC our custom skin system is really bad for accesibility. |
Specifically, what I mean is that the OS provides APIs to screen readers to inspect the menu tree. That won't be the case if we move all the options into the GUI (which at the moment is very hard to navigate for vision-impaired folks). Anyway, good accessibility is often a benefit for non-impaired users too (e.g. curb-cuts). Having a uniform way to get to, e.g. the preferences menu, that matches how other apps work is a benefit. |
and the Preferences menu with Broadcast, Record and Vinyl Control toggles.
yeah and I personally appreciate the ability to bring back a clear menu bar with the press of a (physical) button. |
What is the point of having a few menu items that do not control the music accessible to screen readers if the rest of the application is unusable for them? Those menu items do not obviate the need to make the rest of the UI accessible to screen readers. IIUC moving the few functions that are currently only available in the menu bar into the main GUI is not a step forward or backward for screen reader accessibility, it is a step sideways. If anyone wants to work on making Mixxx's skin system accessible, Qt has accessibility documentation. Plus, to make Mixxx actually usable with a screen reader, we'd need to write documentation on how to configure the OS screen reader to play to the headphone output. |
Re-closing this as there has been no development, there are lots of merge conflicts, and there is no consensus that this should be merged. Let's move further discussion on this topic to Zulip instead of this old pull request. |
Hi! Just added possibility to hide menu bar. In the View menu and F12 shortcut. Tested only in Linux though.