After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665225 - Layers dialog breaks diagram editing on Ubuntu 11.10
Layers dialog breaks diagram editing on Ubuntu 11.10
Status: RESOLVED NOTGNOME
Product: dia
Classification: Other
Component: general
0.97.x
Other Linux
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
: 670224 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-11-30 17:15 UTC by Dmitriy Tantsur
Modified: 2012-05-20 17:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dmitriy Tantsur 2011-11-30 17:15:44 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.
Comment 2 Dmitriy Tantsur 2011-11-30 17:38:23 UTC
Also valid for master HEAD
Comment 3 Hans Breuer 2011-11-30 21:54:13 UTC
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.
Comment 4 Dmitriy Tantsur 2011-12-01 13:50:23 UTC
That's a pity =(

Do you have any clues about the root cause? Trick with LIBOVERLAY_SCROLLBAR=0 doesn't help.
Comment 5 Hans Breuer 2011-12-03 21:54:33 UTC
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.
Comment 6 Dmitriy Tantsur 2011-12-03 21:56:59 UTC
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.
Comment 7 Hans Breuer 2012-02-16 20:52:10 UTC
*** Bug 670224 has been marked as a duplicate of this bug. ***
Comment 8 David Clarke 2012-02-16 21:29:27 UTC
I can also confirm that this problem exists as described with Xfce 4.8 with Ubuntu 11.10.
Comment 9 Cristian KLEIN 2012-02-17 09:53:56 UTC
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.
Comment 10 Hans Breuer 2012-05-20 17:24:28 UTC
Just updating to 12.04 fixes the issue - without any code changes in Dia.