-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
not auto pause when window side by side #5
Comments
Could you take a screen recording of this issue? I could not reproduce it on my Win10 machine. |
Same issue for Ubuntu too |
Here's a work around. https://gist.github.com/sanjarcode/84815d472ade218b6da33db3c80c45ce |
This seems to be a bug in the chromium itself: https://bugs.chromium.org/p/chromium/issues/detail?can=2&q=chrome.windows.onFocusChanged.addListener&colspec=ID+Pri+M+Iteration+ReleaseBlock+Cr+Status+Owner+Summary+OS+Modified&id=387377&thanks=387377&ts=1403370788 Not much I can do if not doing some custom logic to check for user inactivity in the window (which is not very good). In macintosh the event is fired correctly but for some reason it's not working in Windows. |
thx |
Hi, I made a pull request that fixed and added this feature. Side by side windows or even different monitors should work with this: #9 |
thx ! |
@zcw1030 please confirm the solution works for you so we can close this issue, thanks! |
sry, i tried, and still not working. |
here is a video i make to show the issue. chrome on left, file explorer on the right. |
Did you enable the new feature from settings? |
thx, now its kind of working, if i use mouse to change focus. |
Hmm, somehow this does not work on Windows 😠 I don't have a machine to debug this at the moment. If you have skills to take a look, or anyone else with Windows machine, please feel free to check if this could be fixed. I will try to get my PC working again and check this out later if it's not possible. Thanks again for great reporting! |
thx for your hard work ! cheers |
can I request a feature where the youtube video will play and pause automatically based on whether the window is active or not. The current version works when the windows are out of view. But I want a feature that works on split screen. Like I like to keep youtube on one side and vs code on the other side, so that I can follow coding tutorials and whenever I am writing on vscode the youtube stops playing and vice versa. |
hi, thx for your work on this extension, but i found one bug that.
for example, i have two windows side by side or stack on my screen, one is chrome, one is file explorer.
when chrome not focus, the "auto pause when window unfocus" not working. only if i minimize the chrome window to task bar, it will then auto pause.
environment: windows 10
The text was updated successfully, but these errors were encountered: