#3841 closed defect (fixed)
Export to image/clipboard has too tight bounding boxes
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OMEdit | Version: | |
Keywords: | Cc: |
Description
In an OMEdit diagram view, I right-click, export as an Image, set a path, hit save, and.. nothing happens: The dialog does not go away, no picture is being created, I can only exit by canceling.
Expected behaviour: Close the dialog, and save an image file.
This happens for all available image types.
This happens on OMEdit v1.10.0-dev-53-g45d32fb
Attachments (4)
Change History (17)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
So, I found that image export works (sorry I can't edit the initial ticket description), but if a component has a long name (I suspect longer than the icon is wide), the component name gets *omitted* in the exported image. See attached file, and screenshot for reference.
by , 9 years ago
Attachment: | Export_as_image.png added |
---|
by , 9 years ago
Attachment: | screenshot.PNG added |
---|
comment:3 by , 9 years ago
Summary: | Export as an Image is broken → Export as an Image omits long component names |
---|
comment:4 by , 9 years ago
Summary: | Export as an Image omits long component names → Export Image/clipboard omits long component names |
---|
comment:5 by , 9 years ago
Export to clipboard does the same.
Also, both cut the bounding box too tight, so graphical elements like the output triangle of integrator2 in the above file gets cut off.
Additionally, export to clipboard has some weird wrapping issues, see the left border of the attached file.
by , 9 years ago
Attachment: | Export to clipboard.png added |
---|
comment:6 by , 9 years ago
OK, rearranging the icons shows that the reason behind the omitted names seem to be the too tight bounding boxes, as the name of the top-most component gets cut off, see following image.
by , 9 years ago
Attachment: | sdfdsf_2.png added |
---|
comment:7 by , 9 years ago
Summary: | Export Image/clipboard omits long component names → Export to image/clipboard has too tight bounding boxes |
---|
comment:8 by , 9 years ago
Milestone: | Future → 1.10.0 |
---|
Fixed in a9c53de/OMEdit.
I am keeping the ticket open so test and let me know.
comment:9 by , 9 years ago
Thank you! The responsiveness of OM devs is amazing!
Today's nightly build seems to have failed : "Looks like the node went offline during the build. Check the slave log for the details", so I'll have to wait until tomorrow for a new build to test.
hm, wait, it seems this has gone away after restarting OMEdit, but now the images saved don't contain labels. I'll investigate more.