codehenry / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

Fullscreen window grows with each click on HTML5 videos in Google Chrome #585

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open Google Chrome and play HTML5 embedded video.
2. Fullscreen the video (I'm using `isFullscreen --> doFullFloat` in my 
ManageHook)
3. Click anywhere with the fullscreened video, and it's window will "grow" with 
each click.

What is the expected output? What do you see instead?

 I don't expect the window to grow when I click it.

What version of the product are you using? On what operating system?

 Xmonad 0.11 on Ubuntu 14.04 (installed using cabal, not APT)

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".

 No output from "xmonad --recompile".

Please provide any additional information below.

Original issue reported on code.google.com by mikebrod...@gmail.com on 30 Dec 2014 at 9:25

Attachments:

GoogleCodeExporter commented 8 years ago
Hypothesis: the cause is related to some interaction with window borders, 
because disabling the borders completely (borderWidth=0) fixes the issue.

(There's the other "mplayer fullscreen is one pixel too large" issue that's 
discussed e.g. in 
http://funktionaali.com/posts/2014-07-01-How%20to%20get%20XMonad%20play%20well%2
0with%20fullscreen%20mpv.html that might possibly be related.)

Original comment by fizz...@gmail.com on 30 Dec 2014 at 9:34

GoogleCodeExporter commented 8 years ago
The problem seems to be even more general. Any click while in a fullscreen 
Chrome/Chromium window grows the window.

Here's the smallest xmonad.hs that still reproduces the bug:

import XMonad
import XMonad.Hooks.EwmhDesktops
import XMonad.Layout.NoBorders

main = do
  xmonad $ defaultConfig
    { handleEventHook   = fullscreenEventHook
    , layoutHook        = smartBorders $ layoutHook defaultConfig
    }

Original comment by vially.i...@gmail.com on 9 Mar 2015 at 2:34