VirtualBox

Ticket #6479 (closed defect: obsolete)

Opened 13 years ago

Last modified 7 years ago

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

Reported by: crankydillo Owned by:
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 13 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 13 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 13 years ago by michael

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

comment:4 Changed 13 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 13 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 13 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 12 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 12 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 12 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 11 years ago by kini

CCing myself

comment:11 in reply to: ↑ description Changed 10 years ago by L29Ah

cc

comment:12 Changed 9 years ago by Tuzik

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

hsetroot -solid "#000000"
xcompmgr 
Last edited 9 years ago by Tuzik (previous) (diff)

comment:13 Changed 7 years ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete

Please reopen if still relevant with a recent VirtualBox release.

comment:14 Changed 7 years ago by michael

Actually I think this was fixed in the upstream X.Org X server some time ago.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use