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)
Change History (16)
by , 5 years ago
Attachment: | error_vm_icon.png added |
---|
comment:1 by , 5 years ago
The icon of a running virtual machine on the host dock (ubuntu) is lost or unavailable.
comment:2 by , 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 , 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 , 4 years ago
Attachment: | screenshot_ubuntu_dock.png added |
---|
comment:4 by , 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 , 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 , 4 years ago
A workaround is to switch to fullscreen mode and then back to windowed mode.
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:8 by , 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.
comment:10 by , 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 , 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 , 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.
Icon in ubuntu dock of a running virtual machine