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 151544 - zooming causes fatal graphical bugs with text and lines
zooming causes fatal graphical bugs with text and lines
Status: RESOLVED DUPLICATE of bug 153609
Product: dia
Classification: Other
Component: general
0.94
Other Windows
: High critical
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2004-08-31 18:33 UTC by aggro
Modified: 2005-02-07 22:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot from the program when graphics are bugging (67.58 KB, image/jpeg)
2004-08-31 19:20 UTC, aggro
Details

Description aggro 2004-08-31 18:33:42 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.
Comment 1 Steffen Macke 2004-08-31 18:47:51 UTC
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. 
Comment 2 aggro 2004-08-31 19:20:58 UTC
Created attachment 31153 [details]
Screenshot from the program when graphics are bugging
Comment 3 Hans Breuer 2004-09-19 18:38:39 UTC
Same here with render-test.dia from CVS under windoze and linux. As this appears
to be a recent regression bumping severity ...
Comment 4 Lars Clausen 2004-11-02 22:53:45 UTC
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?
Comment 5 kleinerwu 2004-12-15 03:02:12 UTC
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.
Comment 6 Lars Clausen 2005-02-07 22:23:07 UTC

*** This bug has been marked as a duplicate of 153609 ***