Bug 68209 - Widget sizes too small on load when large font is used
Summary: Widget sizes too small on load when large font is used
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: HI normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-14 15:19 UTC by Peeter Russak
Modified: 2003-12-07 00:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Actor's name on the right is 'longactorname2' (61.19 KB, image/jpeg)
2003-11-14 15:22 UTC, Peeter Russak
Details
use cases have the same problem (78.46 KB, image/jpeg)
2003-11-14 23:59 UTC, Peeter Russak
Details
just a funny XMI-file I like to play with (24.52 KB, application/octet-stream)
2003-11-15 00:00 UTC, Peeter Russak
Details

Note You need to log in before you can comment on or make changes to this bug.
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.