Requires application restart to take effect
Extension
https://www.raycast.com/iamyeizi/toggle-menu-bar
Raycast Version
1.88.4
macOS Version
14.7.2
Description
I'm able to toggle the menu visibility with the command but it requires me to close and reopen a given application to take effect.
Steps To Reproduce
I have VLC Player open in fullscreen and I want to hide the menu bar.
I open Raycast and run the extension to toggle from "Never" to "In Full Screen Only".
At this point the menu bar is not hidden. If I close VLC and reopen it the menu bar will be hidden.
Current Behaviour
The toggle requires an app restart to take effect. The menu bar behavior is "sticky". The current visibility sticks with each individual app until it is restarted. At a given time some fullscreen apps will have hidden menu bars and some will not depending on whether they have been restarted since the last toggle.
Expected Behaviour
The toggle should take effect immediately and apply to all fullscreen applications that are already open.
Alternatively, there could be an extension that lets you set the default menu bar behavior for individual applications. For instance: I always want to see the menu bar in fullscreen Photoshop but I never want to see it in fullscreen VLC Player. The menu bar behavior with the glitch suggests that it would be possible.
Thank you for opening this issue!
🔔 @iamyeizi you might want to have a look.
💡 Author and Contributors commands
The author and contributors of iamyeizi/toggle-menu-bar can trigger bot actions by commenting:
-
@raycastbot close this issueCloses the issue. -
@raycastbot close as not plannedCloses the issue as not planned. -
@raycastbot rename this issue to "Awesome new title"Renames the issue. -
@raycastbot reopen this issueReopens the issue. -
@raycastbot assign meAssigns yourself to the issue. -
@raycastbot good first issueAdds the "Good first issue" label to the issue. -
@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊
I still can't find a way to refresh the UI without logging out, as there is no API for this, I've tried many ideas but none of them work. Sorry 😔
What do you think of the alternative strategy where the app can set the default menu bar visibility for individual apps?
@leddins Yes, all ideas are interesting, and could be easily added. But the extension is failing in its main action which is to switch between the ‘Automatically hide and show the menu bar’ options, until I find this solution I will postpone other features.
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊
This issue has been automatically closed due to inactivity.
Feel free to comment in the thread when you're ready to continue working on it 🙂
You can also catch us in Slack if you want to discuss this.