Skip to content
This repository has been archived by the owner on May 26, 2018. It is now read-only.

Apply topify on fullscreen change to keep it on the top #1011

Merged
merged 1 commit into from Aug 29, 2017

Conversation

meandavejustice
Copy link
Owner

@6a68 This still needs to be tested on mac to ensure it actually works :p

Copy link
Collaborator

@jaredhirsch jaredhirsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM 👍

Flows I tested, touchbar 13" 2017 MBP on 10.12.6:

  1. fullscreen a firefox window with minvid open. topify correctly puts minvid on top.
  2. fullscreen a firefox window with minvid open, then exit fullscreen mode. topify again maintains the topmost window status.
  3. fullscreen another app window with minvid open: minvid window is not shown but audio continues.
  4. open minvid, then hit the screen saver. minvid window is correctly not shown, and audio continues. Audio continues in regular firefox as well, so this is IMO expected behavior.

I think for (3) to work, we'll have to go platform-specific and figure out how to detect when any app goes fullscreen on mac. The same code would detect when the user swipes between 'Spaces' (desktops), as fullscreened mac apps extend the Spaces analogy. I'll add some comments to the original bug and land this for now.

@jaredhirsch jaredhirsch merged commit 50fc883 into master Aug 29, 2017
meandavejustice pushed a commit that referenced this pull request Aug 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Youtube][MacOS] Min Vid does not stay in foreground after you exit full screen
2 participants