Window position problem: top of window off screen
Posted: 25. Jul 2009, 04:50
Hi,
I have som real difficulties with VirtualBox and the window it creates for the guests. This is on Ubuntu 9.04 (jaunty) with VirtualBox 3.0.2, running icewm 1.2.37 as my window manager. I am not using KDE or Gnome. The problem has persisted for some time, and did also occur with VirtualBox 2.x. What happens is that once I start VirtualBox, the main window appears in the middle of the screen, so far so good. Once I select a host (in this case xp 32 bit), the window appears in the upper left corner, but the top of window and left side edge is missing. This makes it impossible to move the window, although by disabling mouse integration and playing around with ALT+right mouse to drag the window in place usually works. This is very annoying though. I have had this problem for some time now, hopefully it is possible to solve it somehow.
I played a little around with 'xwininfo', and it looks like the upper left positions do not take into account the size of the titlebar and left border. On vm-window that appears off screen it is like this:
Absolute upper-left X: 0
Absolute upper-left Y: 0
A window with correct placement should look something like this:
Absolute upper-left X: 4
Absolute upper-left Y: 23
If it matters, my screen resolution is 1920x1200. I have no problems with window placement in icewm besides with VirtualBox. Right now I suspect this might be a bug?
I have to add that this also happens frequently when the resolution is changed by dragging the window corner, then the window jumps back to its initial position.
I have som real difficulties with VirtualBox and the window it creates for the guests. This is on Ubuntu 9.04 (jaunty) with VirtualBox 3.0.2, running icewm 1.2.37 as my window manager. I am not using KDE or Gnome. The problem has persisted for some time, and did also occur with VirtualBox 2.x. What happens is that once I start VirtualBox, the main window appears in the middle of the screen, so far so good. Once I select a host (in this case xp 32 bit), the window appears in the upper left corner, but the top of window and left side edge is missing. This makes it impossible to move the window, although by disabling mouse integration and playing around with ALT+right mouse to drag the window in place usually works. This is very annoying though. I have had this problem for some time now, hopefully it is possible to solve it somehow.
I played a little around with 'xwininfo', and it looks like the upper left positions do not take into account the size of the titlebar and left border. On vm-window that appears off screen it is like this:
Absolute upper-left X: 0
Absolute upper-left Y: 0
A window with correct placement should look something like this:
Absolute upper-left X: 4
Absolute upper-left Y: 23
If it matters, my screen resolution is 1920x1200. I have no problems with window placement in icewm besides with VirtualBox. Right now I suspect this might be a bug?
I have to add that this also happens frequently when the resolution is changed by dragging the window corner, then the window jumps back to its initial position.