ianyh / Amethyst

Automatic tiling window manager for macOS à la xmonad.
https://ianyh.com/amethyst/
MIT License
14.83k stars 487 forks source link

Firefox Full Screen Video #1632

Open ncasdpo opened 6 months ago

ncasdpo commented 6 months ago

Describe the bug After entering then exiting a full screen video in Firefox, Amethyst stops working.

Applications: Firefox

To Reproduce

  1. Create 2 firefox windows (I am using Two Pane Layout).
  2. Play a video (youtube) in one. Go full screen for this video. Go out of full screen.
  3. The window that the video was NOT playing in goes back to full width. The window that the video was playing in goes back to the width it was.
  4. No Amethyst shortcuts work anymore until Amethyst is restarted.

Expected behavior After exiting full screen, the window should go back to the width it was before you went full screen like it currently does. But the second window should go back to the width it originally was and all amethyst shortcuts should still work.

Screenshots

Versions:

Debug Info

$ /Applications/Amethyst.app/Contents/MacOS/Amethyst --debug-info [--include-apps]

Version: 0.20.0 (108)

OS version: Version 14.4.1 (Build 23E224)

Screens: (0.0, 0.0, 1728.0, 1117.0) [(0.0, 0.0, 1728.0, 1117.0)]

Configuration: window-resize-step: 5 new-windows-to-main: 0 window-minimum-height: 0 focus-follows-mouse: 0 floating-is-blacklist: 0 debug-layout-info: 0 window-margins: 0 enables-layout-hud: 0 floating: ( { id = "com.google.Chrome"; "window-titles" = ( ); }, { id = "org.mozilla.firefox"; "window-titles" = ( ); } ) mouse-follows-focus: 0 use-canary-build: 0 screen-padding-bottom: 0 float-small-windows: 1 window-max-count: 0 screen-padding-top: 0 follow-space-thrown-windows: 1 mod1: ( option, shift ) enables-layout-hud-on-space-change: 0 layouts: ( fullscreen, "two-pane" ) window-margin-size: 0 screen-padding-left: 0 screen-padding-right: 0 ignore-menu-bar: 0 mod2: ( option, shift, control ) restore-layouts-on-launch: 1 window-minimum-width: 0

Manageable applications: IntelliJ IDEA (com.jetbrains.intellij) Firefox (org.mozilla.firefox) Spotify (com.spotify.client) Notes (com.apple.Notes) Obsidian (md.obsidian) Terminal (com.apple.Terminal)

Additional context

cemalokten commented 3 months ago

I'm also experiencing this problem.

ncasdpo commented 1 month ago

@ianyh I can see this problem does not exist in Chrome. Has some special code been added to handle entering/exiting full screen in Chrome that could also be applied to Firefox?