Bug 68209

Summary: Widget sizes too small on load when large font is used
Product: [Applications] umbrello Reporter: Peeter Russak <pezz>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Actor's name on the right is 'longactorname2'
use cases have the same problem
just a funny XMI-file I like to play with

Description Peeter Russak 2003-11-14 15:19:03 UTC
Version:           1.2-beta (using KDE 3.1.93 (CVS >= 20031111), compiled sources)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-99-default

When I start Umbrello and it opens previous diagramm, then actors names are not drawn correctly: characters from both start and end are missing depending on actor's name's length. After opening and closing actor's properties dialog names get drawn correctly.
Comment 1 Peeter Russak 2003-11-14 15:22:12 UTC
Created attachment 3223 [details]
Actor's name on the right is 'longactorname2'

As you can see, both actors' names are drawn incorrectly. Actor's name on the
right is 'longactorname2'.
Comment 2 Jonathan Riddell 2003-11-14 17:44:56 UTC
Hmm, works for me.  Can anyone else confirm?
Comment 3 Peeter Russak 2003-11-14 23:57:48 UTC
In home machine I noticed that same happens with usecases too. I'll upload screenshot and sample file. Could it be related that I'm using Bitstream Vera everywhere in GUI?
Comment 4 Peeter Russak 2003-11-14 23:59:55 UTC
Created attachment 3231 [details]
use cases have the same problem

use cases should contain text 'kauba pakendamine' and 'raha maksmine'
Comment 5 Peeter Russak 2003-11-15 00:00:51 UTC
Created attachment 3232 [details]
just a funny XMI-file I like to play with
Comment 6 Sebastian Stein 2003-11-15 09:06:59 UTC
Subject: Re: [Uml-devel]  Actors names are not drawn correctly on startup

pezz@tkwcy.ee <pezz@tkwcy.ee> [031115 08:57]:
> Created an attachment (id=3232)
>  --> (http://bugs.kde.org/attachment.cgi?id=3232&action=view)
> just a funny XMI-file I like to play with

I can only partly reproduce the bug. If I open your example file, I get 1 or
2 missing pixels. Nevertheless, maybe on other systems it might be more. I
think it is the same problem like bug #66461. I will try to look into it.

Comment 7 Peeter Russak 2003-11-17 22:37:25 UTC
It looks to me like Umbrello doesn't honour usecase's text's font size during calculation of size of usecase's bubble. Maybe it's a problem of initial displaying, because after opening and closing usecase's properties dialog with 'Ok'-button usecase gets drawn correctly.

What do you get when you 
a) open sample file
b) double click on usecase and change it's font size to 28 (after closing properties dialog anything looks OK, usecase is wider and text fits well into bubble)
c) press ctrl+s to save file
d) close Umbrello 
e) open it so that last file is automatically opened
Comment 8 Jonathan Riddell 2003-12-06 15:55:06 UTC
Found the issue.

When you set the font to something larger than the default this is not taken into account on load and the widgets appear too small.

This affects all widgets as far as I can tell.
Comment 9 Jonathan Riddell 2003-12-07 00:51:41 UTC
Now fixed in CVS.