SUMMARY I installed Umbrello per snap package (Kubuntu 18.04). At program start up I could see any auto layout actions. I added "/usr/bin" to "Auto Layout"->"Generator executable path". After that the corresponding sub menu actions (e.g. apply 'vertical layout') was to see. But this actions do nothing. I tried that with the class diagram.
Auto layout support depends on the 'dot' command line tool which is normally part of the 'graphviz' package from your distribution. This hint is also displayed in the tooltip of the "Auto detect layout generator" checkbox in the "Auto layout" settings page.
Does it not work because dot is not installed ?
(In reply to Ralf Habacker from comment #2) > Does it not work because dot is not installed ? Graphviz package is installed on my machine. I installed umbrello from sources (as it described on oficial web side) too, but in this case i dont see any actions to apply auto layout. I used this commando: cmake -DCMAKE_INSTALL_PREFIX=$HOME/umbrello -DBUILD_KF5=1 -DCMAKE_BUILD_TYPE=Debug ../
(In reply to celentanos from comment #3) > I installed umbrello from sources (as it described on oficial web side) too, > but in this case i dont see any actions to apply auto layout. I used this > commando: > > cmake -DCMAKE_INSTALL_PREFIX=$HOME/umbrello -DBUILD_KF5=1 > -DCMAKE_BUILD_TYPE=Debug ../ The reason is that after installing on a non standard location umbrello do not know where to fetch the related config files from without setting a related environment variable (need to research for the exact name) or by placing the files into ~/.local/share/umbrello5/layouts (see result from kf5-config --path data). If umbrello is installed at a standard location (/usr or /usr/local) the layout related config files are installed into /usr/share/umbrello5/layouts and could be found by umbrello.
(In reply to Ralf Habacker from comment #4) > (In reply to celentanos from comment #3) > > I installed umbrello from sources (as it described on oficial web side) too, > > but in this case i dont see any actions to apply auto layout. I used this > > commando: > > > > cmake -DCMAKE_INSTALL_PREFIX=$HOME/umbrello -DBUILD_KF5=1 > > -DCMAKE_BUILD_TYPE=Debug ../ > The reason is that after installing on a non standard location umbrello do > not know where to fetch the related config files from without setting a > related environment variable (need to research for the exact name) or by > placing the files into ~/.local/share/umbrello5/layouts (see result from > kf5-config --path data). > > If umbrello is installed at a standard location (/usr or /usr/local) the > layout related config files are installed into /usr/share/umbrello5/layouts > and could be found by umbrello. Thank you, auto layout by manual installation (from sources) is now work. I copied layouts folder from install path to following path ~/.local/share/umbrello5/layouts (as you describe above). But snap package installation still don't work properly. I tried to place layouts folder to each path from "kf5-config --path data" output.
(In reply to celentanos from comment #5) > Thank you, auto layout by manual installation (from sources) is now work. I > copied layouts folder from install path to following path > ~/.local/share/umbrello5/layouts (as you describe above). nice to hear. > > But snap package installation still don't work properly. I tried to place > layouts folder to each path from "kf5-config --path data" output. Because snap package need to bundle all requirements there may be the case that graphviz may not be included in the snap package. Running umbrello from the snap package from a command line will give some more hints. Please file an independent bug report for this with 'installer' component.
(In reply to Ralf Habacker from comment #6) > Because snap package need to bundle all requirements there may be the case > that graphviz may not be included in the snap package. Running umbrello from > the snap package from a command line will give some more hints. Please file > an independent bug report for this with 'installer' component. Thank you, it was done :)