VirtualBox

Opened 5 years ago

Last modified 2 years ago

#18705 new defect

Icon error

Reported by: betoherrera82 Owned by:
Component: GUI Version: VirtualBox 6.0.8
Keywords: Launcher icon Cc:
Guest type: Linux Host type: Linux

Description

i am using ubuntu as host and when i launch some virtual machine, the icon does not appears. It looks like a lost item.

Attachments (4)

error_vm_icon.png (3.1 KB ) - added by betoherrera82 5 years ago.
Icon in ubuntu dock of a running virtual machine
screenshot_ubuntu_dock.png (44.9 KB ) - added by linuxbastler 4 years ago.
Screenshot from 2020-11-17 15-16-05.png (25.9 KB ) - added by gusman21 4 years ago.
Original launch
Screenshot from 2020-11-17 15-16-22.png (28.7 KB ) - added by gusman21 4 years ago.
swap workspaces

Download all attachments as: .zip

Change History (16)

by betoherrera82, 5 years ago

Attachment: error_vm_icon.png added

Icon in ubuntu dock of a running virtual machine

comment:1 by betoherrera82, 5 years ago

The icon of a running virtual machine on the host dock (ubuntu) is lost or unavailable.

comment:2 by dpint, 5 years ago

I am also encountering this bug on Ubuntu 19.04. It seem that it has been introduced in version 6.0.0 when VM handling has been transferred to VirtualBoxVM application. This application dynamically changes icon based on the OS type running in the guest VM, but it seems that this change isn't detected by GNOME.

Correct icon appears in the ALT-TAB menu. Also if you move window to another workspace, correct icon appears in the Dock.

One solution, although not perfect, is adding custom desktop shortcut. Easiest solution is just making a copy of /usr/share/applications/virtualbox.desktop and changing Name entry to VirtualBoxVM. Doing this shows ordinary VirtualBox icon instead of a red one.

comment:3 by fcastillo, 4 years ago

This is not a bug of Virtualbox. If you disable "ubuntu-dock" or "dash-to-dock", the problem is gone. You'll be able to see all the appropriate icons at all times.

by linuxbastler, 4 years ago

Attachment: screenshot_ubuntu_dock.png added

comment:4 by linuxbastler, 4 years ago

I use Ubuntu 20.10 as host and Windows XP and Ubuntu 14.04 as guest. When I start the guests, the icons of the running machines are empty and blank.

When I restart gnome shell with Alt+F2+r the icons of the running machines appear as expected. See attached screenshot before and after Alt+F2+r. See also that the tooltip changes from "VirtualBoxVM" to "VirtualBox Machine"

So it seems, gnome does not detect the icons always the right way. My knowledge with gnome is, for icons in the dock or on the desktop there have to be files named "someapplication.desktop" in folder /home/$USER/.local/share/applications/

Does virtualbox use this mechanism? Where are the icons for my running boxes and the changed tooltips after the restart come from?

comment:5 by janitor, 4 years ago

When you are in a state where the icon is missing, what happens if you let the screensaver kick in, or lock and unlock the screen?

comment:6 by Mario_Vilas, 4 years ago

A workaround is to switch to fullscreen mode and then back to windowed mode.

https://askubuntu.com/questions/1196531/virtualbox-on-ubuntu-19-10-shows-no-vm-icon-in-dock/1280732#1280732

By they way, I'd like to point out that saying "if you disable this and that the problem is gone" is akin to saying if you switch to another window manager the problem is gone, which is not a solution at all but a cop out. ¯\_(ツ)_/¯

comment:7 by linuxbastler, 4 years ago

screensaver and lock+unlock screen do not bring back the missing icon

comment:8 by gusman21, 4 years ago

Same issue in Linux Mint 20 Ulyana with Cinnamon 4.6.7. Original VM launch has invalid icon. Icons are corrected upon moving from one workspace to another.

by gusman21, 4 years ago

Original launch

by gusman21, 4 years ago

swap workspaces

comment:9 by alain pannetier, 3 years ago

Still there in 6.1.30

comment:10 by Klaus Espenlaub, 3 years ago

When we're asking to try something then it's not meant as a solution, but to collect information, checking if users see the same behavior as developers. Which unfortunately so far isn't the case and therefore it means that devs can't reproduce the issue and that makes finding a solution much less likely.

A quick check on my system running very minimal Gnome3 (Debian 10) shows the correct icon immediately after VM start in the dash. Since you seem to be using the Gnome shell extension dash-to-dock I'll install it when I find time next. Real progress in the name of Wayland that one needs to logout/login for such seemingly simple reconfiguration.

comment:11 by gwiesenekker, 3 years ago

Hi,

I am having the same issue with Virtualbox 6.1.32 on Zorin OS 6.1 64-bit: the icon of a running Windows 10 guest on the taskbar is (confusingly) the cart-wheel settings icon. Moving the window to another workspace does not help, but switching to full-screen mode and back triggers the display of the correct icon.

Regards, GW

comment:12 by bbert, 2 years ago

Issue still there in 6.1.34.

Debian 11.3 / X11 / Gnome Shell 3.38

All gnome shell extensions are disabled

After starting a VM a gearwheel icon is shown in <Alt><Tab>.

Toggling fullscreen mode brings back the right icon in <Alt><Tab>.

Moving the VM to another workspace works also, but only if the VM is not started in full screen mode.

Last edited 2 years ago by bbert (previous) (diff)
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette