VirtualBox

Ticket #12534 (closed defect: fixed)

Opened 4 years ago

Last modified 3 weeks ago

Set identifyable WM_CLASS to virtual machine windows => should be fixed, 21.11.17, 5.2 and later

Reported by: antitoxic Owned by:
Priority: major Component: GUI
Version: VirtualBox 4.3.6 Keywords:
Cc: Guest type: all
Host type: Linux

Description

As far as  I read WM_CLASS is used by modern linux desktops to identify and group windows.

That is useful in navigation. WM_CLASS helps with minimisation, grouping, setting icon per virtual machine.

Things that aid productivity and comfort.

VirtualBox however only sets 2 window classes to all of its windows:

WM_CLASS(STRING) = "Qt-subapplication", "VirtualBox"

That doesn't help with identifying different virutal machines.

Is it possible to add the name of the virtual machine as a WM_Class?

Change History

comment:1 Changed 4 years ago by frank

  • Component changed from other to GUI

comment:2 Changed 2 years ago by ttosttos

Would really love a command line option to be implemented (a la "--wm-class <WM_CLASS>")

comment:3 Changed 8 weeks ago by willbproggin

(This issue is applicable to VirtualBox 5.1 as well as the version mentioned above)

There are several *nix window managers that need different name and class strings for WM_CLASS to identify multiple application windows, as explained above.

For example, my window manager, JWM, cannot discern between the VM Manager and a VM because the WM_CLASS name and class are both VirtualBox. I want to hide the title bar and borders for my VMs, but I'm also forced to hide these elements for the VM Manager because there's no way for the window manager to discern between the two windows.

It would be nice if the WM_CLASS name was VirtualBox and class was VirtualBoxManager for the machine manager, VirtualBoxVM for VMs and so-on.

Thanks!

Last edited 8 weeks ago by willbproggin (previous) (diff)

comment:4 Changed 4 weeks ago by michael

  • Summary changed from Set identifyable WM_CLASS to virtual machine windows to Set identifyable WM_CLASS to virtual machine windows => should be fixed, 21.11.17, 5.2 and later

comment:5 Changed 3 weeks ago by michael

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use