Weird behavior of the VM shutdown dropdown

Bug #1785083 reported by Pedro Côrte-Real
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-themes (Ubuntu)
New
Undecided
Unassigned
virt-manager (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

The VM window includes a shutdown button with a dropdown button next to it. I've noticed two weird things about it that seem like simple GTK bugs:

- The dropdown doesn't close just by clicking the dropdown button again
- All the items in the dropdown are greyed out as if they're not functional, but pressing any of them still works

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: virt-manager 1:1.5.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 2 16:58:28 2018
InstallationDate: Installed on 2018-05-31 (63 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
SourcePackage: virt-manager
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Pedro Côrte-Real (pedrocr) wrote :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This is how it looks for me (also 18.04).
Not greyed out and working fine (also open/close it)

It switches status when I switch guests - so if I select in the guest list one that is off the dropdown goes fully disabled - and when I come back to a running guest it is fine.

Could you check if that is in any way guest dependent with:
1. off guest
2. linux guest
3. win guest (I know from other bugs you have)

Maybe one of them has different Cpabilities announced or such triggering this case?

Changed in virt-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Pedro Côrte-Real (pedrocr) wrote :

I get this on all VMs if they're on. If they're off the dropdown is just disabled completely and I can't even open it (which makes sense). The greying out is probably a theming issue, you seem to be using a totally different one. I've attached a screenshot. Do you not get the inability to close the dropdown even with your theme?

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

No issue to close the dropdown at all - I can close it just fine.

My "Theme" is that I use KDE (and the default scheme there).
Let me spin up a default UI ...

Revision history for this message
Pedro Côrte-Real (pedrocr) wrote :

I assume it's still a theme as virt-manager didn't stop being a GTK app because you run KDE, or does it have a Qt replacement UI for KDE?

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

No in that POV it uses normal GTK.
The default theme is "Breeze" (package of the same name).

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I wanted to test an 18.04.1 install anyway.
With a Desktop install and adding virt-manager in there I see exactly what you describe
- options greyed out
- still working if clicked
- issues to close the dropdown

Being a theme issue I'd file a bug task for them as well, as I'd now know what is wrong on the virt side.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

So what do we know:
- Working in KDE + Breeze theme
- Broken in Gnome + Ambiance theme

I tried Gnome + Adwaita theme and it works fine then.

For the Desktop team steps to reproduce:
1. qemu-img create -f qcow2 /var/lib/libvirt/images/test.img 10M
2. apt install virt-manager libvirt-daemon-system
3. (relogin or "su -" to pick up group)
4. start virt-manager
5. define a guest based on existing image (the one created above)
6. start the guest

Now you'll see the dropdown showing these issues.
As mentioned, when switching to Adwaita the issue is gone.

Revision history for this message
Pedro Côrte-Real (pedrocr) wrote :

So you need me to open a new bug or is this one enough to track the ubuntu-themes issue?

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This one is fine, if you look at the top I added a task for it.
This is a thing Launchpad does really well - avoid the proliferation and confusion of bugs affecting or being discussed in multiple packages.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1758841, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I knew I had talked about it before, but couldn't find the bug last week - thanks Daniel for having a better bug navigation system!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.