codehenry / xmonad

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

WIndows using OpenGL don't resize properly when partially offscreen #580

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start a program that uses OpenGL such as glxgears
2. Drag the program window partially off the top of the screen
3. Resize the window to be longer vertically

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

I expect to see the window expand to fill the new space. Instead I see a blank 
black space in that area (for glxgears, for my own personal program at 
https://gitorious.org/linted/linted I see old and stale data from what was last 
drawn there by other programs.)

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

$ xmonad --version
xmonad 0.11

$ uname -a
Linux proteus 3.17.2-gnu #1 SMP Thu Oct 30 19:27:36 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux

I'm using Trisquel 7 from trisquel.info and the Linux-Libre kernel from 
http://www.fsfla.org/ikiwiki/selibre/linux-libre/

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

xmonad --recompile gives no errors or warnings. My xmonad.hs is attached.

Please provide any additional information below.

Two pictures of the bug are provided.

Original issue reported on code.google.com by StevensE...@gmail.com on 5 Nov 2014 at 11:27

Attachments:

GoogleCodeExporter commented 8 years ago
It occurs to me I should probably give the details of my 3D graphics stack in 
case the problem lies there. Attached is the output of glxinfo.2

Original comment by StevensE...@gmail.com on 5 Nov 2014 at 11:30

Attachments:

GoogleCodeExporter commented 8 years ago
Window contents, including redrawing, is not under the control of the window 
manager. When the window is resized, the X server sends Expose events... but I 
admit I do not know how this is reflected to OpenGL programs, which do not talk 
to the X server directly. In any case, it is more or less xorg driver <-> X 
server (Mesa component in the case of OpenGL) <-> program, with the window 
manager only involved in the interaction with the user during the resize.

Original comment by allber...@gmail.com on 6 Nov 2014 at 12:20