GNOME Bugzilla – Bug 665225
Layers dialog breaks diagram editing on Ubuntu 11.10
Last modified: 2012-05-20 17:24:28 UTC
Original report: https://bugs.launchpad.net/ubuntu/+source/dia/+bug/892815 How to reproduce: 1. Open Dia 2. Add a layer 3. Try to draw something, to right click, to move, ... 4. Drawing surface doesn't respond 5. Switch to different workspace and back 6. See picture like on the screenshot 7. Delete all layers but one 8. Now you see everything you draw Tested on official Ubuntu's 0.97.1-9 and on GIT branch dia-0-97.
Screenshot: https://bugs.launchpad.net/ubuntu/+source/dia/+bug/892815/+attachment/2602864/+files/dia-fail.png
Also valid for master HEAD
IMO it is Ubuntu 11.10 breaking Dia - and I wont add Ocelot specific kludges in Dia to work around issues broken elsewhere. See e.g. bug 662728 for reference.
That's a pity =( Do you have any clues about the root cause? Trick with LIBOVERLAY_SCROLLBAR=0 doesn't help.
My guess would be some bad interaction with the infamous top menu hack or some general problem with top most windows. But I don't have the patience to look up how to disable that. I can confirm though, there is an issue on Ubuntu 11.10. But according to the original report's comment and my own tests it's not layer support broken, just the layer dialog. I've checked with Mint 12 - reproduceable - and with Fedora 16 - Dia still not broken by it. The work around is to close the layer dialog to enable diagram editing again.
I can confirm that once layers window is closed everything works! BTW I do not use Unity and so on, I use Xfce panel with Awesome WM.
*** Bug 670224 has been marked as a duplicate of this bug. ***
I can also confirm that this problem exists as described with Xfce 4.8 with Ubuntu 11.10.
I am not sure it is a bad interaction with the "top menu hack". Disabling global menu / app menu doesn't solve the issue for me. I tried both: UBUNTU_MENUPROXY= dia and sudo apt-get purge appmenu-gtk appmenu-gtk3 The buggy behaviour is still there.
Just updating to 12.04 fixes the issue - without any code changes in Dia.