VirtualBox

Ticket #6479 (new defect)

Opened 4 years ago

Last modified 2 months ago

XMonad active border does not work with guest additions (Ubuntu 9.10 64-bit, Win 7 host)

Reported by: crankydillo Owned by:
Priority: minor Component: guest additions
Version: VirtualBox 4.0.4 Keywords: XMonad vboxdriver active border
Cc: Guest type: Linux
Host type: Windows

Description

XMonad is a tiling window manager. By default, it paints a different color around the active window. When I use the vesa driver, the active border works perfectly. However, when I use guest additions with the vboxdriver, the active border color gets messed up. The only way I can tell which window is active is by the cursor. I would attach a screenshot, but the screenshot comes out fine.

Change History

comment:1 Changed 4 years ago by crankydillo

I didn't mean for this to be major. For the most part, it's just an annoyance.

comment:2 Changed 4 years ago by michael

Reproducible on a Fedora 13 guest. I added a bit of logging, and it seems that the X server doesn't send update notifications to the driver for those window borders. Not sure if this is a server bug or our driver doing something wrong, I will post to xorg-devel to ask.

comment:3 Changed 4 years ago by michael

Once I have checked what XMonad is actually doing when it draws those borders that is.

comment:4 Changed 4 years ago by michael

No need. XMonad uses windowSetBorder(), which in turn calls ChangeWindowAttributes() which calls FillPolyRect() inside the X server. We use the shadowfb server extension for getting notified that something has changed onscreen, and shadowfb doesn't monitor (potentially) accelerated operations like FillPolyRect(). Don't know why, but it probably wouldn't help much anyway. So the long and the short of this is that it will probably stay broken until I have time to add 2D accelerated operations to vboxvideo, I'm afraid.

comment:5 Changed 4 years ago by lannm

Using a compositing manager like xcompmgr seems to be an effective workaround for this, although it of course comes with its own problems, like an ugly background color for workspaces without windows (which can be fixed with hsetroot), and a small but noticeable performance hit switching workspaces.

comment:6 Changed 4 years ago by archguest

Reproducible on an Arch 2.6.34 guest in VirtualBox 3.2.6 under OS X. *Not* reproducible on a Debian Lenny (stable) guest under the same conditions. I am happy to help by providing more information if I can to fix this annoying bug.

comment:7 Changed 3 years ago by poims

I experience the same problems with a Mac OS X host and a Ubuntu 10.10 guest running scrotwm on Virtualbox 4.0.4.

comment:8 Changed 3 years ago by michael

You might actually want to ask the X.Org people whether this is a bug in the server (see comment 4 for the details). I don't know whether this is working as intended, or whether it is an oversight in the server code.

comment:9 Changed 3 years ago by michael

  • Priority changed from major to minor
  • Version changed from VirtualBox 3.1.6 to VirtualBox 4.0.4

comment:10 Changed 2 years ago by kini

CCing myself

comment:11 in reply to: ↑ description Changed 14 months ago by L29Ah

cc

comment:12 Changed 2 months ago by Tuzik

Workround that worked for freshly installed Arch Linux- with XMonad startup script also run:

hsetroot -solid "#000000"
xcompmgr 
Last edited 2 months ago by Tuzik (previous) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use