-
Notifications
You must be signed in to change notification settings - Fork 975
Exit of fullscreen view when a tab is closed #2618
Comments
We had the opposite request in the past. Can you describe a use case? Do any other browsers do this? |
I can confirm the same and it should be a bug, it was introduced on version 0.11.1 Brave: 0.11.1 whenever you have the browser on full screen mode (distraction free) "ctrl+command+f" and close a tab from the browser the browser itself will trigger the event to go out of full screen mode and back into normal desktop mode. The opposite is not true, if I close a tab while on desktop mode it will not enter full screen mode. |
from #2404:
(emphasis mine) I think the point of this new issue that closing a tab should not exit fullscreen mode unless the current tab (only) promoted the window to fullscreen. And it's not clear to me how you could even know that. I think 8cded9c should be reverted until it can be made more targeted to apply only to #2404. I use Brave in fullscreen (OSX, split screen with two windows) exclusively, and now I can't ever close tabs without having to drag it back to a fullscreen space. 😓 |
This reverts commit 8cded9c.
BTW, I can confirm that at least Opera doesn't always leave fullscreen if any tab is closed. |
I think maybe html5 (e.g. video) fullscreen should exit full screen and full screen mode at the browser level should not. |
Chrome exits fullscreen if it was prompted by YouTube, but not in normal fullscreen. Seems like |
that sounds best, thanks |
Fixes brave#2404 without compromising brave#2618.
…Screen, via webActions Fixes brave#2404 without compromising brave#2618.
Revert "Exit full screen on tab close" (fixes #2618)
I am also confirming the issue. Simply closing a tab takes the browser off from full screen mode. |
closing since this is fixed and will be in the next version. |
Is this only for macOS? I cannot confirm this was fixed for Windows 7 |
Issue confirmed on 0.11.2 Beta1 for Windows x64 install. Closing of any tab exits full screen and back to restore size. |
It appears my commits are not present in the tag for v0.11.2dev-beta1: https://github.com/brave/browser-laptop/compare/v0.11.2dev-beta1...benmosher:keep-fullscreen?expand=1 I can't speak for whether they will fix Windows as well, but given the little familiarity I have now with the code, I think odds are good. |
Actually, the commits/changes don't appear to be present on |
So my PR was against the I can rebase against wherever and resubmit if needed, commits are on |
I think it's merged to master, @bbondy ? |
Changes don't appear to be present on |
Oh I didn't notice that @benmosher, I'll try to watch that in case a contributor does that again. |
I'll pull it in now. |
into master+dev-channel and it'll be in the next respin. |
Ah, sorry about that! When I based the first PR on |
np thanks for noticing! |
I noticed this today as well. I closed my issue, but I was able to repro. |
Looks good! |
Describe the issue you encountered: When I am with Brave in fullscreen view and close a tab, Brave exits of fullscreen.
Expected behavior: Just close the tab and don't exit of fullscreen view.
The text was updated successfully, but these errors were encountered: