Virtual Machine Manager (virt-manager) UI corruption.

I am seeing some UI corruption that suddenly appears when running the virtual machine manager. The menus which should be readable have suddenly become insanely tightly packed, rendering the menus almost unusable:

http://i.imgur.com/ZFyktk7.png

I managed to make it go away once, and I imagined that typing fc-cache -f or that rm -rf ~/.cache/fontconfig had something to do with that, but nothing I do makes this go away.

Anyone seen this and have any idea how to make it stop?

Warren

That’s likely some kind of general graphics rendering problem, not specific to virt manager although that’s where the problem is being seen.

Recommend first trying a system update running the following in a root console if you didn’t just do so (Following is for TW only)

zypper dup

If updating your system doesn’t fix the problem,
Recommend submitting a bug report to https://bugzilla.opensuse.org.
If you say that you are finding it more difficult to remedy, that’s actually good because hopefully that will mean the problem is more likely re-producible.

Be sure to include
Detailed description of your efforts to remedy.
The contents of

cat /etc/os-release

The Desktop you’re running.
Possibly the GTK version although it can probably be found easily based on your os-release info.

Needless to say,
These are bugs you can expect to see regularly if you are running TW.
If you want to avoid a life of bugs, “upgrade” to a stable version of openSUSE, current versions which still will be supported more than 6 months as of today are LEAP and 13.2.

TSU

Hi
Just checked here, no issues seen with virt-manager on the GNOME DE (openSUSE Tumbleweed (20160505) (x86_64)), I’m guessing a Plasma/GTK issue…

Requested details:

zypper dup is going to move up 144 packages.

Desktop is Plasma/KDE5, app is definitely GTK2 app. Will switch to Gnome and see if anything changes.

wpostma@linux-euo3:~> cat /etc/os-release 
NAME=openSUSE
VERSION="Tumbleweed"
VERSION_ID="20160504"
PRETTY_NAME="openSUSE Tumbleweed (20160504) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:20160504"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
ID_LIKE="suse"

wpostma@linux-euo3:~> uname -a
Linux linux-euo3 4.5.2-1-default #1 SMP PREEMPT Thu Apr 21 09:07:52 UTC 2016 (0454a6e) x86_64 x86_64 x86_64 GNU/Linux


wpostma@linux-euo3:~> /sbin/lspci | grep NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750] (rev a2)
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)
wpostma@linux-euo3:~> 



The application is running inside Python 2.7 and is loading pygtk 2.0,
I’m totally happy to run a broken system until I can figure this out and help narrow the cause down. If it’s a regression, I’m even willing to learn how to build this package from sources and debug it.

PyGTK2 appears to be using some deprecated APIs, which is resulting in the following being written 1000x or more to stderr, with different gtk.css:X:Y values:


(virt-manager:6861): Gtk-WARNING **: Theme parsing error: gtk.css:8:46: The s
tyle property GtkScrolledWindow:scrollbars-within-bevel is deprecated and sho
uldn't be used anymore. It will be removed in a future version

I’m probably an ideal Tumbleweed user because I’m not even mad when it breaks, I just hope I can be helpful to the project. OpenSuse is quite amazing to me, and Tumbleweed is the place where stuff has to boil and bubble and fizz a bit, and I’m cool with it. I want it shiny, frequently broken, and with lots of very sharp edges.

Warren

Updating with zypper dup had no effect, but changing my desktop environment option before Login to Gnome (formerly Plasma) seems to fix it.

Warren

Cool.
Now you can submit a bug with the additional info.
And, of course all virt manager Users thank you for being the canary that experiences this problem early enough so that it can be fixed before it affects many others.

TSU

Reported here:

Appears to potentially affect ANY GTK2 app on Plasma. Geany and virt-manager are just two out of perhaps hundreds.

https://bugzilla.opensuse.org/show_bug.cgi?id=980001

Warren

No, it is about GTK3 apps actually.

The problem is that GTK 3.20 broke compatibility with themes, and KDE’s breeze theme for GTK3 hasn’t been updated yet.

A workaround is to set another GTK3 theme in KDE’s “Configure Desktop” (systemsettings5)->Application Appearance->GTK.

This still occurs, but the Emacs theme lets me work in KDE Plasma.

Gnome Application Style (GTK) has indeed a GTK2 and GTK3 theme, and selecting GTK3 Theme of “Emacs” works around this for now.

http://i.imgur.com/lZxpMNC.png

Yes.
As I wrote, GTK 3.20 broke compatibility with themes.

Support for GTK 3.20 has been added to breeze-gtk recently, but you’ll need to wait for the Plasma 5.7.0 release, which will be in a few weeks.

Gnome Application Style (GTK) has indeed a GTK2 and GTK3 theme, and selecting GTK3 Theme of “Emacs” works around this for now.

Yes.
Adwaita e.g. (GNOME/GTK’s upstream default) should work as well though.

As expected, now that Plasma 5.7 is released, everything is cool again!

Thanks to everybody who worked on Plasma 5.7!

Warren