VirtualBox

Opened 6 years ago

Last modified 6 years ago

#17576 new defect

After update vbox guest machines force window decorations even when disabled by window manager

Reported by: Will B Owned by:
Component: GUI Version: VirtualBox 5.2.8
Keywords: Cc:
Guest type: all Host type: Linux

Description

After VirtualBox was updated last night to 5.2.8 on Debian Testing, guest machines now have window decorations and borders forced even though my window manager (JWM) is set to remove them.

Before last night's VirtualBox update, my window manager rules worked properly. It appears that something was changed in VirtualBox to cause this.

Change History (3)

comment:1 by Valery Ushakov, 6 years ago

Unfortunately our amulet of ESP was stolen by a wooden nymph, so we are not quite sure how exactly your window manager is configured.

in reply to:  1 comment:2 by Will B, 6 years ago

Replying to vushakov:

Unfortunately our amulet of ESP was stolen by a wooden nymph, so we are not quite sure how exactly your window manager is configured.

Cute.

The relevant spot in .jwmrc is:

<Group>
    <Class>VirtualBox Machine</Class>
    <Option>notitle</Option>
    <Option>noborder</Option>
</Group>

I did not make any changes to the .jwmrc file...the problem happened after VirtualBox was updated to 5.2.8.

comment:3 by Will B, 6 years ago

As of this date this is still an issue.

After looking at the code in src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp void UIMachineWindow::prepare() it's quite possible that the X11 window class is being set too late in the creation of the vm's window. "Too late" meaning that the window has been created and handled by the window manager before vbox is setting the class.

As mentioned before, the window class was being set correctly right before the 5.2.8 update, but not after.

My Linux system / distro does not ship with the necessary libraries and other tools necessary to build vbox, otherwise I'd test this out myself.

Version 0, edited 6 years ago by Will B (next)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use