Umbrello/FAQ: Difference between revisions

From KDE UserBase Wiki
No edit summary
 
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Proposed_deletion|reason=This info is completely out of date but the app is still maintained and has a handbook.}}
<languages />
<languages />
<translate>
<translate>


<!--T:1-->
===What are the different versions of Umbrello ?=== <!--T:1-->
===What are the different versions of Umbrello ?===


The current stable version 1.5.8 is probably the last release for the [http://www.kde.org/announcements/changelogs/changelog3_5_7to3_5_8.php KDE 3.x version series].<br/>
<!--T:3-->
The next version (2.0, to be released 1Q2008) will be based on [http://techbase.kde.org/Getting_Started/Build/KDE4 KDE 4].)
The current stable version 2.21.3 is based on [https://techbase.kde.org/Getting_Started/Build/KDE4 KDE 4].
There are also versions available for [http://uml.sourceforge.net/download.php download on this site] for older KDE releases.


When submitting bug reports with Umbrello it is helpful if you have tested against a recent build from [http://uml.sourceforge.net/install.php#source-code KDE SVN].
<!--T:58-->
[http://websvn.kde.org/trunk/KDE/kdesdk/umbrello/ Umbrello 2.x] is based on the Qt4 and KDE4 technologies.
There are also versions available for [https://umbrello.kde.org/installation.php download on this site] for older KDE releases.


===Can I use Umbrello command line features without an X server ?===
<!--T:4-->
No, unfortunately the existence of a graphics display is encoded deep into Umbrello's design.
When submitting bug reports with Umbrello it is helpful if you have tested against a recent build from [https://projects.kde.org/projects/kde/kdesdk/umbrello/repository KDE Git].
As a workaround, you can use xvfb, which is part of xorg-x11-server or Xvnc to provide a virtual display without any real output. For further discussion see [http://bugs.kde.org/show_bug.cgi?id=283748 bug 283748].
[https://projects.kde.org/projects/kde/kdesdk/umbrello/repository Umbrello 2.x] is based on the Qt4 and KDE4 technologies.


===Can I submit a patch ?===
===Can I use Umbrello command line features without an X server on Unix like OS ?=== <!--T:5-->


We love patches.  Patches should be against a current svn checkout. Then run <pre>svn diff &gt; mypatch.diff</pre> to get the patch. Put the resulting patch on a webserver somewhere and send the URL with an explanation to [http://uml.sourceforge.net/contact.html uml-devel].
<!--T:59-->
No, unfortunately the existence of a graphics display is encoded deep into Umbrello's design.
As a workaround, you can use xvfb, which is part of xorg-x11-server or Xvnc to provide a virtual display without any real output. For further discussion see {{Bug|283748}}.


===Umbrello takes up too much memory ?===
===Can I submit a patch ?=== <!--T:6-->


Switch to a code generator other than C++ or Java. Recent SVN versions also allow Undo to be switched off. Umbrello 1.3 handles memory much better than previous versions for large diagrams.
<!--T:7-->
We love patches.  Patches should be against a current git clone. Then run {{Input|git diff &gt; mypatch.diff}} to get the patch.  Put the resulting patch on a webserver somewhere and send the URL with an explanation to the [https://mail.kde.org/mailman/listinfo/umbrello-devel umbrello-devel] mailing list or file a bug at [https://bugs.kde.org/enter_bug.cgi?product=umbrello&format=guided bugs.kde.org] and append the patch.


===How can I install the development version in parallel to the production version ?===
===Umbrello takes up too much memory ?=== <!--T:8-->


You would need to install it to a separate path using<br />
<!--T:9-->
<pre> ./configure --prefix=/home/me/kdedevelopment</pre>
Switch to a code generator other than C++ or Java.  Recent Git versions also allow Undo to be switched off.  Current Umbrello handles memory much better than previous versions for large diagrams.


then set to include this<br />
===How can I install the development version in parallel to the production version ?=== <!--T:10-->
<pre>  export KDEDIRS=`kde-config --prefix`:/home/me/foo</pre>


===Can I help translate Umbrello into my spoken language ?===
<!--T:11-->
You would need to install it to a separate path using (from the <tt>build</tt> subdirectory in the source)


Certainly.  As part of KDE you will have to work with the KDE i18n team for your language [http://i18n.kde.org http://i18n.kde.org].
<!--T:60-->
{{Input|1=cmake -DCMAKE_INSTALL_PREFIX=/home/me/kdedevelopment ..}}


Umbrello contains some UML and programming specific terms.  Take care to research the most understandable translations of these terms for your spoken language.
<!--T:12-->
then set to include this


===How do I write a code generator ?===
<!--T:61-->
{{Input|1=export KDEDIRS=`kde-config --prefix`:/home/me/foo}}


First check that there isn't already one in the KDE SVN version of Umbrello.
===Can I help translate Umbrello into my spoken language ?=== <!--T:13-->


Then read the instructions in <em>codegenerator.h</em> and use one of the other generators as a template. The C++ and Java code generators are a lot more advanced than the rest, it would be nice to have the others offer the same functionality as them.
<!--T:14-->
Certainly. As part of KDE you will have to work with the KDE i18n team for your language [https://i18n.kde.org https://i18n.kde.org].


===I'm compiling from SVN, where is the ./configure script ?===
<!--T:15-->
Umbrello contains some UML and programming specific terms.  Take care to research the most understandable translations of these terms for your spoken language.


KDE uses an extra step: <pre>make -f Makefile.cvs</pre>
===How do I write a code generator ?=== <!--T:16-->
See [http://uml.sourceforge.net/install.php install] for how to compile and install.


===Why the silly name ?===
<!--T:17-->
First check that there isn't already one in the KDE Git version of Umbrello.


The program's name is <em>Umbrello UML Modeller</em>. The
<!--T:18-->
shortened form is <em>Umbrello</em>.  When translating it translate
Then read the instructions in <code>codegenerator.h</code> and use one of the other generators as a templateThe C++ and Java code generators are a lot more advanced than the rest, it would be nice to have the others offer the same functionality as them.
<em>UML Modeller</em> in the most sensible way or if it can not be
easily translated it can be left out.  <em>Umbrello</em> should
generally be left as is when translating to latin alphabet
languages.


Previously the programme was called UML Modeller or UML Object
===Why the silly name ?=== <!--T:21-->
Modeller or just UML.  This was considered too generic by packagers
and others.  After some consultation and a public vote Umbrello showed
surprising popularity, so the name Umbrello UML Modeller is now used.
Umbrello does not mean anything as far as we know.


===I'm having compilation problems on Debian 3.0/Woody/Stable ?===
<!--T:22-->
The program's name is ''Umbrello UML Modeller''.  The shortened form is ''Umbrello''.  When translating it translate ''UML Modeller'' in the most sensible way or if it can not be easily translated it can be left out. ''Umbrello'' should generally be left as is when translating to Latin alphabet languages.


You need qlist.h which is in the package libqt3-compat-headers
<!--T:23-->
Previously the program was called UML Modeller or UML Object Modeller or just UML.  This was considered too generic by packagers and others. After some consultation and a public vote Umbrello showed surprising popularity, so the name Umbrello UML Modeller is now used. Umbrello does not mean anything as far as we know.


===In sequence diagrams how do I extend the object's lifeline ?===
===In sequence diagrams how do I extend the object's lifeline ?=== <!--T:26-->


<!--T:27-->
Drag a message arrow downwards.
Drag a message arrow downwards.


<!--T:28-->
In previous versions you had to click and drag with the mouse at the bottom of the object's vertical line.
In previous versions you had to click and drag with the mouse at the bottom of the object's vertical line.


===My package format is not supported and I can't install from source, what do I do ?===
===My package format is not supported and I can't install from source, what do I do ?=== <!--T:29-->


<!--T:30-->
Contact us and if there are enough requests, we may be able to find a way to help you.
Contact us and if there are enough requests, we may be able to find a way to help you.


===Can I have SVN write access ?===
===Can I have Git write access ?=== <!--T:31-->


Umbrello is now part of KDE (in kdesdk). Anyone with a [http://developer.kde.org/documentation/other/developer-faq.html#q8 KDE SVN account]  
<!--T:32-->
can commit changes. Anything significant should be run past the [contact.php mailing list] first.
Umbrello is now part of KDE (in kdesdk). Anyone with a [https://techbase.kde.org/Development/FAQs/General_FAQ KDE developer account] can commit changes. Anything significant should be run past the [https://mail.kde.org/mailman/listinfo/umbrello-devel mailing list] first.


===Can I have bugs.kde.org write access ?===
===Can I have bugs.kde.org write access ?=== <!--T:33-->


You firstly need write access to KDE's SVN.  Then make sure your
<!--T:34-->
address in [http://websvn.kde.org/trunk/KDE/kde-common/accounts kde-common/accounts] (kde-common is a SVN module)
You firstly need write access to KDE's Git.
is the same as the one used by your bugs.kde.org account.


===Some UML features that I need don't seem to be supported ?===
===Some UML features that I need don't seem to be supported ?=== <!--T:35-->


<!--T:36-->
Let us know what features you require.  The most requested features will be the first features introduced.
Let us know what features you require.  The most requested features will be the first features introduced.


===What file format does the program use ?===
===What file format does the program use ?=== <!--T:37-->
 
<!--T:38-->
Versions before 1.4 used a file format that was only very loosely based on XMI and was not compatible with other UML programs.
 
<!--T:62-->
Version 1.4 can read the static structure elements from most other UML tools which use XMI 1.x. Umbrello 2.14 will be able to import the subset of XMI 2.0 (UML 2.x) which maps to implemented features but cannot import UML-DI (Diagram Interchange.)
 
<!--T:63-->
If you have a specific problem with XMI interchange then please add a detailed description to the {{Bug|56184}}.
 
===Why don't I have any icons on the toolbar ?=== <!--T:39-->


Versions before 1.4 used a file format that was only very loosely based on XMI and was not compatible with other UML programmes.
<!--T:64-->
Version 1.4 can read the static structure elements from most other UML tools which use XMI 1.x. However, currently Umbrello cannot import XMI 2.0
This occurs when you change the location of installing the program by using a prefix on <i>cmake</i> and KDE is unaware of that location.
or UML-DI (Diagram Interchange.)<br>  
If you have a specific problem with XMI interchange then please add a detailed description to the [http://bugs.kde.org/56184 existing problem report].


===Why don't I have any icons on the toolbar ?===
<!--T:40-->
This occurs when you change the location of installing the program by using a prefix on <i>configure</i> and KDE is unaware of that location.
To help KDE find the program you have to edit the environmental variable '''KDEDIRS'''.  You will need to consult your distribution documentation for the exact file to edit, but there's a chance it will be <tt>.bash_profile</tt> in your home directory if you are the only one to use the program.  If more than one person will use the program you can edit the file <i>profile</i> in the <i>etc</i> directory.


To help KDE find the program you have to edit the environmental variable <b>KDEDIRS</b>.  You will need to consult your distribution documentation for
<!--T:41-->
the exact file to edit, but there's a chance it will be <i>.bash_profile</i> in your home directory if you are the only one to use the program.  If more
Just add the following lines
than one person will use the program you can edit the file <i>profile</i> in the <i>etc</i> directory.


Just add the following lines<pre>
<!--T:65-->
KDEDIRS="$KDEDIRS:<i>prefix use in configure</i><br>
{{Input|1=KDEDIRS="$KDEDIRS:<prefix use in cmake>"
export KDEDIRS</pre>
export KDEDIRS}}


Run <pre>kbuildsycoca</pre> the first time you do this.
<!--T:42-->
Run {{Input|kbuildsycoca4}} the first time you do this.


If you compiled from source you may have installed Umbrello in
<!--T:43-->
/usr/local or /usr/local/kde in which case you can add that directory
If you compiled from source you may have installed Umbrello in <tt>/usr/local</tt> or <tt>/usr/local/kde</tt> in which case you can add that directory to $KDEDIRS or change -DCMAKE_INSTALL_PREFIX so it installs in <tt>/usr</tt> or <tt>/opt/kde</tt> or whatever the norm for your distribution is.
to $KDEDIRS or change --prefix so it installs in /usr or /opt/kde or
whatever the norm for your distribution is.


===I can't export diagrams as images, it complains about the mime type ?===
===I can't export diagrams as images, it complains about the mime type ?=== <!--T:44-->


<!--T:45-->
Check your KDE install and upgrade or recompile kdelibs if possible.
Check your KDE install and upgrade or recompile kdelibs if possible.


Then delete <em>/tmp/kde-storri/ksycoca</em> file and restarting Umbrello fixed the problem.
<!--T:46-->
Then delete <tt>/tmp/kde-storri/ksycoca</tt> file and restarting Umbrello fixed the problem.


===What's the difference between $KDEDIR and $KDEDIRS ?===
===What's the difference between $KDEDIR and $KDEDIRS ?=== <!--T:47-->


The following is taken from #kde-devel
<!--T:48-->
The following is taken from [irc://irc.freenode.net/kde-devel #kde-devel]


<ul>
<!--T:66-->
* one is a list of paths, the other is the single KDE installation path where the binaries and libs are expected to be


<li>one is a list of paths, the other is the single KDE installation
<!--T:67-->
              path where the binaries and libs are expected to be</li>
* KDEDIRS is supposed to be used for configfile location resolution
<li>KDEDIRS is supposed to be used for configfile location resolution</li>
<li>--prefix overrides $KDEDIR</li>
<li>install it wherever, but make sure that KDEDIR still points to the
              original KDE install path, and add the prefix where you're installing the
              app to KDEDIRS</li>
</ul>


===Can I compile Umbrello with KDE 3.2 ?===
<!--T:68-->
* -DCMAKE_INSTALL_PREFIX overrides $KDEDIR


Yes, if you checkout branches/KDE/3.5/kdesdk, you have to change a line in
<!--T:69-->
admin/acinclude.m4.in (about line 1000):
* install it wherever, but make sure that KDEDIR still points to the original KDE install path, and add the prefix where you're installing the app to KDEDIRS


<pre>
===Does Umbrello run on Windows ?=== <!--T:54-->
  if test -z "$1"; then
  # Current default Qt version: 3.3
  kde_qtver=3
- kde_qtsubver=3
+ kde_qtsubver=2
</pre>


===Does Umbrello run on Windows ?===
<!--T:71-->
Yes. Umbrello is part of the [http://windows.kde.org/ KDE on Windows initiative].
Yes. Umbrello is part of the [https://windows.kde.org/ KDE on Windows initiative].


===My problem still isn't solved - help!===
===My problem still isn't solved - help!=== <!--T:55-->


If it is a user related problem, send an e-mail to the <strong>uml-user mailing list</strong>.  If it is a developer problem,
<!--T:56-->
try the <strong>uml-devel mailing list</strong>.  Details of the mailing lists can be found on the [http://uml.sourceforge.net/contact.php contact page].
If it is a user related problem, send an e-mail to the [https://mail.kde.org/mailman/listinfo/umbrello Umbrello mailing list].  If it is a developer problem,  
try the [https://mail.kde.org/mailman/listinfo/umbrello-devel Umbrello development mailing list].  Details of the mailing lists can be found on the [https://umbrello.kde.org/developers.php Umbrello Developer Resources] page.


===My user-mode-linux won't work ?===
===My user-mode-linux won't work ?=== <!--T:57-->


Try asking [http://user-mode-linux.sourceforge.net/ User Mode Linux].
<!--T:2-->
<!--T:2-->
Try asking [https://user-mode-linux.sourceforge.net/ User Mode Linux].
===How do I print a diagram on multiple pages ?=== <!--T:72-->
<!--T:73-->
Multi page printing could be performed by using pdf output and pdfposter, which is available in many distributions for example:
<!--T:74-->
* https://wiki.ubuntuusers.de/pdfposter
<!--T:75-->
* https://software.opensuse.org/package/pdfposter?search_term=pdfposter
<!--T:76-->
Example
<!--T:77-->
* print diagram to pdf using a0 page size
<!--T:78-->
* to print out on a3 pages run {{Input|1=pdfposter -mA3 -pA4 <input-file> <outputfile>}}
===How to fix the error message 'There was a problem saving file'  ?=== <!--T:79-->
<!--T:80-->
On saving a document I get a dialog box with the title 'Save Error: Umbrello UML Modeller' and the message text 'There was a problem saving file xxx'. How can I fix this ? </translate>
<translate>
<!--T:81-->
* On Windows this can be caused by a local firewall which may block the communication between umbrello and the required background process kioslave.exe. kioslave.exe performs copying of the saved file from a temporary to the final location. To solve this issue umbrello.exe and kioslave.exe should be listed as firewall exception. </translate>
<translate>
<!--T:82-->
* Another reason could be that umbrello tries to store files into write protected folders. </translate>
<translate>
<!--T:83-->
* Umbrello can open files from an online resource like http, https or ftp urls. Saving a file to that url may fail because of missing access rights or not configured write access on the server. </translate>
<translate>
<!--T:84-->
* Umbrello/KF5 may show this message if the required background process (kioslave) could not be started by klauncher5. This typical indicates a system configuration issue or missing support for autostarting the required processes inside the KF5 framework. A workaround is to start kdeinit5 before running umbrello.
<!--T:70-->
[[Category:Development]]
[[Category:Development]]


</translate>
</translate>

Latest revision as of 17:47, 8 May 2024

Pending Deletion

This page has been proposed for deletion for the following reason:
This info is completely out of date but the app is still maintained and has a handbook.
Please use the discussion section of this page to voice your opinion on this.
Other languages:

What are the different versions of Umbrello ?

The current stable version 2.21.3 is based on KDE 4.

There are also versions available for download on this site for older KDE releases.

When submitting bug reports with Umbrello it is helpful if you have tested against a recent build from KDE Git. Umbrello 2.x is based on the Qt4 and KDE4 technologies.

Can I use Umbrello command line features without an X server on Unix like OS ?

No, unfortunately the existence of a graphics display is encoded deep into Umbrello's design. As a workaround, you can use xvfb, which is part of xorg-x11-server or Xvnc to provide a virtual display without any real output. For further discussion see bug #283748.

Can I submit a patch ?

We love patches. Patches should be against a current git clone. Then run

git diff > mypatch.diff

to get the patch. Put the resulting patch on a webserver somewhere and send the URL with an explanation to the umbrello-devel mailing list or file a bug at bugs.kde.org and append the patch.

Umbrello takes up too much memory ?

Switch to a code generator other than C++ or Java. Recent Git versions also allow Undo to be switched off. Current Umbrello handles memory much better than previous versions for large diagrams.

How can I install the development version in parallel to the production version ?

You would need to install it to a separate path using (from the build subdirectory in the source)

cmake -DCMAKE_INSTALL_PREFIX=/home/me/kdedevelopment ..

then set to include this

export KDEDIRS=`kde-config --prefix`:/home/me/foo

Can I help translate Umbrello into my spoken language ?

Certainly. As part of KDE you will have to work with the KDE i18n team for your language https://i18n.kde.org.

Umbrello contains some UML and programming specific terms. Take care to research the most understandable translations of these terms for your spoken language.

How do I write a code generator ?

First check that there isn't already one in the KDE Git version of Umbrello.

Then read the instructions in codegenerator.h and use one of the other generators as a template. The C++ and Java code generators are a lot more advanced than the rest, it would be nice to have the others offer the same functionality as them.

Why the silly name ?

The program's name is Umbrello UML Modeller. The shortened form is Umbrello. When translating it translate UML Modeller in the most sensible way or if it can not be easily translated it can be left out. Umbrello should generally be left as is when translating to Latin alphabet languages.

Previously the program was called UML Modeller or UML Object Modeller or just UML. This was considered too generic by packagers and others. After some consultation and a public vote Umbrello showed surprising popularity, so the name Umbrello UML Modeller is now used. Umbrello does not mean anything as far as we know.

In sequence diagrams how do I extend the object's lifeline ?

Drag a message arrow downwards.

In previous versions you had to click and drag with the mouse at the bottom of the object's vertical line.

My package format is not supported and I can't install from source, what do I do ?

Contact us and if there are enough requests, we may be able to find a way to help you.

Can I have Git write access ?

Umbrello is now part of KDE (in kdesdk). Anyone with a KDE developer account can commit changes. Anything significant should be run past the mailing list first.

Can I have bugs.kde.org write access ?

You firstly need write access to KDE's Git.

Some UML features that I need don't seem to be supported ?

Let us know what features you require. The most requested features will be the first features introduced.

What file format does the program use ?

Versions before 1.4 used a file format that was only very loosely based on XMI and was not compatible with other UML programs.

Version 1.4 can read the static structure elements from most other UML tools which use XMI 1.x. Umbrello 2.14 will be able to import the subset of XMI 2.0 (UML 2.x) which maps to implemented features but cannot import UML-DI (Diagram Interchange.)

If you have a specific problem with XMI interchange then please add a detailed description to the bug #56184.

Why don't I have any icons on the toolbar ?

This occurs when you change the location of installing the program by using a prefix on cmake and KDE is unaware of that location.

To help KDE find the program you have to edit the environmental variable KDEDIRS. You will need to consult your distribution documentation for the exact file to edit, but there's a chance it will be .bash_profile in your home directory if you are the only one to use the program. If more than one person will use the program you can edit the file profile in the etc directory.

Just add the following lines

KDEDIRS="$KDEDIRS:<prefix use in cmake>"
export KDEDIRS

Run

kbuildsycoca4

the first time you do this.

If you compiled from source you may have installed Umbrello in /usr/local or /usr/local/kde in which case you can add that directory to $KDEDIRS or change -DCMAKE_INSTALL_PREFIX so it installs in /usr or /opt/kde or whatever the norm for your distribution is.

I can't export diagrams as images, it complains about the mime type ?

Check your KDE install and upgrade or recompile kdelibs if possible.

Then delete /tmp/kde-storri/ksycoca file and restarting Umbrello fixed the problem.

What's the difference between $KDEDIR and $KDEDIRS ?

The following is taken from #kde-devel

  • one is a list of paths, the other is the single KDE installation path where the binaries and libs are expected to be
  • KDEDIRS is supposed to be used for configfile location resolution
  • -DCMAKE_INSTALL_PREFIX overrides $KDEDIR
  • install it wherever, but make sure that KDEDIR still points to the original KDE install path, and add the prefix where you're installing the app to KDEDIRS

Does Umbrello run on Windows ?

Yes. Umbrello is part of the KDE on Windows initiative.

My problem still isn't solved - help!

If it is a user related problem, send an e-mail to the Umbrello mailing list. If it is a developer problem, try the Umbrello development mailing list. Details of the mailing lists can be found on the Umbrello Developer Resources page.

My user-mode-linux won't work ?

Try asking User Mode Linux.

How do I print a diagram on multiple pages ?

Multi page printing could be performed by using pdf output and pdfposter, which is available in many distributions for example:

Example

  • print diagram to pdf using a0 page size
  • to print out on a3 pages run
    pdfposter -mA3 -pA4 <input-file> <outputfile>

How to fix the error message 'There was a problem saving file'  ?

On saving a document I get a dialog box with the title 'Save Error: Umbrello UML Modeller' and the message text 'There was a problem saving file xxx'. How can I fix this ?

  • On Windows this can be caused by a local firewall which may block the communication between umbrello and the required background process kioslave.exe. kioslave.exe performs copying of the saved file from a temporary to the final location. To solve this issue umbrello.exe and kioslave.exe should be listed as firewall exception.
  • Another reason could be that umbrello tries to store files into write protected folders.
  • Umbrello can open files from an online resource like http, https or ftp urls. Saving a file to that url may fail because of missing access rights or not configured write access on the server.
  • Umbrello/KF5 may show this message if the required background process (kioslave) could not be started by klauncher5. This typical indicates a system configuration issue or missing support for autostarting the required processes inside the KF5 framework. A workaround is to start kdeinit5 before running umbrello.