GNOME Bugzilla – Bug 151544
zooming causes fatal graphical bugs with text and lines
Last modified: 2005-02-07 22:23:07 UTC
1. Select UML tools 2. select "class" 3. Draw a class by clicking once on the canvas 4. Double click it to open the properties dialog 5. Go to attributes-tab 6. Press "New" 3 times 7. Name the attributes one, two, three 8. Press OK 9. Change zoom to 70.7% 10. Change zoom to 200% 11. Change zoom to 100% 12. Change zoom to 400% 13. Change zoom to 70% In console window, these warnings appear: ------------------------------ ** (dia.exe:304): WARNING **: Failed to appropriately tweak zoomed font for zoom factor 14,000000. ** (dia.exe:304): WARNING **: Failed to appropriately tweak zoomed font for zoom factor 14,000000. ** (dia.exe:304): WARNING **: Failed to appropriately tweak zoomed font for zoom factor 14,000000. ------------------------------ And the text "Class" is bigger than the class itself. I think the text has size 400% and the class is on the 70%. If you try to move the class, it doesn't repaint the place where it was, so it is like drawing ink to a canvas and moving your thumb on it around the canvas, that is what it looks like. I tried to repeat this, but failed, but instead the texts went smaller at size 400%. I have been however able to reproduce this several times by just playing with the zoom. This happens so often that I can't actually use this version at all. Also the text is unreadable at zoom 70%, while with version 0.92 it was still readable. Don't know if that is related to this at all, just mentioned it.
I can confirm this behavior using the current CVS version on Linux. What is notable that (in my case), the text for Class title, attributes one and three seems to be scaled correctly, but attribute two is too big. I'm also getting the warning messages.
Created attachment 31153 [details] Screenshot from the program when graphics are bugging
Same here with render-test.dia from CVS under windoze and linux. As this appears to be a recent regression bumping severity ...
Can't reproduce at all from description or render-test.dia with todays CVS, but not enough has changed that it can have been fixed. Using larsrc@linux:~/dia> pkg-config --modversion gtk+-2.0 2.4.1 larsrc@linux:~/dia> pkg-config --modversion pango 1.4.0 Perhaps older versions are to blame?
Same here using Dia 0.94 on Gnome 2.8.1/X.org/FreeBSD 5.3 Other elements are also affected, e.g. UML Action. When using a big UML diagram containing about 70 classes, zooming in and out changes the font size of different classes/Actions. ** (dia:2218): WARNING **: Failed to appropriately tweak zoomed font for zoom factor 14.139999. It's especially annoying, because it also changes element sizes and connection points, destroying the overall layout.
*** This bug has been marked as a duplicate of 153609 ***