Skip to content
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

unexpected behaviour for toggle "auto hide menu bar" #35

Open
alvis233 opened this issue Jun 10, 2022 · 6 comments
Open

unexpected behaviour for toggle "auto hide menu bar" #35

alvis233 opened this issue Jun 10, 2022 · 6 comments

Comments

@alvis233
Copy link

Currently, "auto hide menu bar" only works for Window Mode. However, since MacOS Monterey, users are allowed to keep the menu bar visible when in Full-Screen Mode. It is quite useful for most situations to have a glance at the time when in Full-Screen Mode. But some apps' windows will just conflict with the menu bar, like Parallels Desktop. But "auto hide menu bar" in OnlySwitch does not work as expected when in Full-Screen Mode.

To Reproduce
Steps to reproduce the behavior:

  1. Make your app enter Full-Screen Mode
  2. Click on 'auto hide menu bar' to enable hiding menu bar

Expected behavior
the menu bar should be hidden

  • OS: MacOS
  • Version: Monterey
  • CPU: m1
@jacklandrin
Copy link
Owner

Thank you for your feedback. Since autohide menu bar in full screen and on desktop are two different toggles in System Preferences, I think a new switch for this feature is proper. Unfortunately, I haven't find an apple script way as auto hide menu bar on desktop to implement it. I know I can use UI script, but preferences UI maybe change when macOS upgrading, it isn't an elegant approach for this. If you know some better ways, please tell me.

@alvis233
Copy link
Author

alvis233 commented Jun 10, 2022

Thank you for your feedback. Since autohide menu bar in full screen and on desktop are two different toggles in System Preferences, I think a new switch for this feature is proper. Unfortunately, I haven't find an apple script way as auto hide menu bar on desktop to implement it. I know I can use UI script, but preferences UI maybe change when macOS upgrading, it isn't an elegant approach for this. If you know some better ways, please tell me.

So sad to hear that. I was a OneSwitch user before. "Auto hide menu bar" is the most important reason for me to switch to OnlySwitch. @jacklandrin

@jacklandrin
Copy link
Owner

@alvis233 Perhaps I can build a special version via UI scripting for you. If you feel it good, I'll release it but mark the feature as beta. When I get the better way, or in the Ventura provides an original script for it, I'll replace the method. BTW, I create a telegram group, feel free to join it: https://t.me/OnlySwitchforMac

@alvis233
Copy link
Author

@jacklandrin Huge thx!

@jacklandrin
Copy link
Owner

jacklandrin commented Jun 10, 2022

@alvis233 How about use shortcuts action? Like this it can be easily updated following macOS version upgrading. You can try this shortcut action I create: https://www.icloud.com/shortcuts/29341dfe669e4c898fd78faa6549dcbb
If you feel it good, I'll contribute it on OnlySwitch shortcuts gallery.

@alvis233
Copy link
Author

@jacklandrin Hi, Jack. I've tried the shortcuts action. It works well. But be careful about the contents to match the "title"(descriptions along the checkbox). Unlike application name or process name, they must conform with the system language so that the script could run correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants