Summary: | Widgets are randomly resized when opening a saved diagram | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Robert Hairgrove <code> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | ralf.habacker |
Priority: | NOR | ||
Version: | 2.23.3 (KDE Applications 17.08.3) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Robert Hairgrove
2018-01-24 09:59:42 UTC
...should be "lower RIGHT corner", of course. (In reply to Robert Hairgrove from comment #0) > And it would be nice if the resizing function would also obey the grid. In the diagram property page there is a checkbox "snap component size" exactly for this purpose. I adding several widgets with this checkbox avtivated, saved as xmi file file, reload it without any issue. Can you confirm ? Thanks for the tip about sizing ... strange that this option is missing from the main menu, that it is necessary to open the dialog to find it. I tried making a very simple case with a package, four classes and four links to the package. I saved it, opened it again and saved the file without making any changes to a new file name. Although I couldn't see any difference by just looking at the screen, I ran the GNU `diff` command on them. There were a few differences in the following lines: (file 1): <startpoint starty="-475" startx="-1552"/> (file 2): <startpoint starty="-475" startx="-1550"/> and (file 1): <diagram canvaswidth="375" [...]> (file 2): <diagram canvaswidth="350" [...]> In the Umbrello configuration, I noticed the option for "Auto Layout", which was selected. Could this have anything to do with unwanted changes? I had a much more complicated layout which had difficulty with resizing. Maybe I can duplicate it in a test case. I'm thinking there must be rounding errors somewhere in the code. It's strange that Umbrello would change anything at all in the XMI file for a diagram that was not changed by the user (except for things like the timestamp, etc.) (In reply to Robert Hairgrove from comment #3) > Thanks for the tip about sizing ... strange that this option is missing from > the main menu, that it is necessary to open the dialog to find it. please file a feature request > I tried making a very simple case with a package, four classes and four > links to the package. I saved it, opened it again and saved the file without > making any changes to a new file name. > > Although I couldn't see any difference by just looking at the screen, I ran > the GNU `diff` command on them. There were a few differences in the > following lines: > > (file 1): <startpoint starty="-475" startx="-1552"/> > (file 2): <startpoint starty="-475" startx="-1550"/> > > and > > (file 1): <diagram canvaswidth="375" [...]> > (file 2): <diagram canvaswidth="350" [...]> You did that on the same machine and the same monitor ? stable umbrello versions currently saves files with coordinates/widget sizes based on the used monitor dpi (see bug 90103) > In the Umbrello configuration, I noticed the option for "Auto Layout", which > was selected. Could this have anything to do with unwanted changes? no, these settings only enables the search for dot excutable by default. Auto layouts are applied only manual. Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |