KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
117990
:
In ER models adding associations will add blank...
P
roduct
:
umbrello
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
1.5
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
0
Description
:
Opened:
2005-12-09 12:43
Last Changed:
2005-12-17 10:48:33
Version: 1.5 (using KDE 3.5.0, Debian Package 4:3.5.0-1 (testing/unstable)) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.8-2-686 When drawing ER diagrams, every single association will add a blank line in the entity attributes. The entity cannot be resized, and it results in a huge waste of space, and in unpretty diagrams.
Comment
#1
Oliver Kellogg 2005-12-10 17:59:20
I can't confirm this when adding associations. However, when adding an entity attribute the attribute compartment in the entity box is made taller than needed (a blank line appears below the new attribute.)
Comment
#2
Matthias Kretz 2005-12-16 22:52:31
Created an attachment (id=13947)
[details]
Fix for the problem m_List apparently holds the associations in addition to the attributes, and it seems that it holds even more, resulting in the minimum size reported by the EntityWidget having far too much height. This patch filters out the attributes and counts those for the calculation of the height. If the patch is correct I'm happy to commit to 3.5 branch.
Comment
#3
Oliver Kellogg 2005-12-16 23:59:34
> If the patch is correct I'm happy to commit to 3.5 branch.
Looks fine to me, go right ahead!
Comment
#4
Matthias Kretz 2005-12-17 10:48:33
SVN commit 489110 by mkretz: BUG: 117990 This fixes entity widgets being too high. M +2 -1 entity.cpp --- branches/KDE/3.5/kdesdk/umbrello/umbrello/entity.cpp #489109:489110 @@ -167,7 +167,8 @@ } int UMLEntity::entityAttributes() { - return m_List.count(); + UMLClassifierListItemList entityAttributes = getFilteredList(Uml::ot_EntityAttribute); + return entityAttributes.count(); }
P
latform
:
unspecified
O
S
:
Linux
K
eywords
:
People
Reporter
:
MM
Assigned To
:
Umbrello Development Group
CC
:
kretz kde org
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
Fix for the problem
(376 bytes, patch)
2005-12-16 22:52
,
Matthias Kretz
Details
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In