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

Opening fullscreen and leaving fullscreen enables UI menubar even when turned off #94

Closed
bjornpijnacker opened this issue Jan 9, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@bjornpijnacker
Copy link

Opening the fullscreen mode from the player and closing it with escape enables the menu bar even when the menubar is turned off in settings. Turning the menubar off requires going to the settings, then enabling and disabling the menubar. See attached video for more information (https://user-images.githubusercontent.com/35508080/148688503-789179d3-fc96-40ab-a945-1bf08c8963d3.mp4).

Exact steps to reproduce:

  1. Open the now playing window by clicking the bottom bar or the arrow in the bottom right corner
  2. In the top left, choose "Full Screen"
  3. Close fullscreen mode by pressing Esc
  4. The menu bar is now visible while it should not be.
@Mastermindzh Mastermindzh added the bug Something isn't working label Jan 18, 2022
@Mastermindzh
Copy link
Owner

Hey @bjornpijnacker,

I can easily recreate the issue. I don't know when I'll have the time to look into it but it is definitely a bug 😄.
Thanks!

@bjornpijnacker
Copy link
Author

Thanks!

Just googling real quick makes it seem like this is a bug in Electron rather than tidal-hifi. A potential fix is shown here: jupyterlab/jupyterlab-desktop@12819f9, which is how jupyterlab fixed the issue.

@Mastermindzh
Copy link
Owner

Hey @bjornpijnacker,

Yeah, I knew it was an electron issue since we don't do anything with fullscreen ourselves.
Funnily enough, the fix is nearly identical to the one I had in my mind 😂 (except variable names and I'd use the store).

Tell me, is this affecting your day to day usage? I think I can make some extra time tonight if this has any kind of priority 🤷🏻

@bjornpijnacker
Copy link
Author

Hey!

It's not really affecting my day-to-day, as I don't use fullscreen all too often. In my opinion: no need to drop everything and fix it right away, it can wait until you have the time.

It's a small fix, luckily (:

Mastermindzh added a commit that referenced this issue Jan 23, 2022
@Mastermindzh
Copy link
Owner

Hey @bjornpijnacker,

The fix was a bit more elaborate (though not much..) because it isn't actually us (Tidal-hifi) that enables fullscreen but rather listen.tidal.com.

Because of that, I had to add an event listener which triggered an event for the main process.

This event is listened to in the main process and it updates the menubar to whatever setting the user has in their settings.

Builds are now running. I expect a 2.7.1 release within the hour.

@Mastermindzh
Copy link
Owner

Released in 2.7.1

@bjornpijnacker
Copy link
Author

It works great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants