extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Requires application restart to take effect

Open leddins opened this issue 1 year ago • 1 comments

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.

leddins avatar Jan 12 '25 00:01 leddins

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 issue Closes the issue.
  • @raycastbot close as not planned Closes the issue as not planned.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

raycastbot avatar Jan 12 '25 00:01 raycastbot

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 😊

raycastbot avatar Mar 03 '25 01:03 raycastbot

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 😔

iamyeizi avatar Mar 04 '25 17:03 iamyeizi

What do you think of the alternative strategy where the app can set the default menu bar visibility for individual apps?

leddins avatar Mar 04 '25 17:03 leddins

@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.

iamyeizi avatar Mar 05 '25 03:03 iamyeizi

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 😊

raycastbot avatar Apr 24 '25 04:04 raycastbot

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.

raycastbot avatar May 04 '25 07:05 raycastbot