Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Stevebo on April 18, 2008, 08:31:24 am

Title: Problem when pasting text in a note...
Post by: Stevebo on April 18, 2008, 08:31:24 am
Has anyone else run in to the problem where you first copy some text of interest (could be from a note within a different drawing), then add a note to say a Use Case description, then paste the copied text in the note, and the note appears to be about an inch or so wide but vertically a mile long? I end up having to scroll down and down to find the bottom of the note box and then resize it to a more usable size. It didn't used to do this but did after I updated to the current version of 7.1  Wondering what happened or if maybe some preferences got changed.

steve
Title: Re: Problem when pasting text in a note...
Post by: thomas.kilian on April 18, 2008, 06:11:44 pm
Looks like EA wraps the text always at the default width. You should report this as a feature (well, they would not accept this as bug, would they?) request to calc the width of a note depending on the widest single line.
Title: Re: Problem when pasting text in a note...
Post by: «Midnight» on April 20, 2008, 09:19:54 pm
Or set a default note width on a global or per-project basis...
Title: Re: Problem when pasting text in a note...
Post by: Stevebo on April 21, 2008, 12:35:31 pm
How would you do this (set a default Notes width) on a global basis?

thanks,

steve
Title: Re: Problem when pasting text in a note...
Post by: mrf on April 21, 2008, 01:41:48 pm
Quote
How would you do this (set a default Notes width) on a global basis?

thanks,

steve

Please refer to the manual section titled "Element Templates" http://www.sparxsystems.com.au/EAUserGuide/index.html?using_element_templates.htm
Title: Re: Problem when pasting text in a note...
Post by: Paolo F Cantoni on April 21, 2008, 03:12:30 pm
Quote
Please refer to the manual section titled "Element Templates" http://www.sparxsystems.com.au/EAUserGuide/index.html?using_element_templates.htm
Hi Michael,

Did you actually try this out?  If you did, can you provide EXACT steps to making it work.

"Note" does not appear in the list of Element types and so I would guess that your suggested fix might not work...

So I tried it and sure enough it doesn't seem to...  Admittedly, I haven't been as close to EA recently, but...

More EAUI...  (That's why we need the EXACT steps to get any functionality working.)

I won't use the word that cannot mention its name...  But I will observe the templates package does work with other (real?) element types (such as Requirements)

TIA,
Paolo
Title: Re: Problem when pasting text in a note...
Post by: mrf on April 21, 2008, 04:02:59 pm
:-[ Yes, sorry that's my mistake. The Template Package won't include notes, as notes are stored against diagrams rather than being contained within a package (much the same as boundaries etc).

Please submit a feature request to Sparx Support if you'd like to see this functionality included.

PS: Neil and I have been having a look into this, it appears that Notes will honour the template package prototype if they are dragged in from the toolbox or created from the Create Element context menu. What doesn't work is if the note is created from the UML Elements toolbar or from the New Element button in the Project Browser. I'll look into this ASAP.
Title: Re: Problem when pasting text in a note...
Post by: «Midnight» on April 21, 2008, 10:24:36 pm
Thanks Michael,

The problem you cite stopped me cold. I did not think to try the workaround.

David