[Libreoffice-bugs] [Bug 128731] exporting a selection crops the result

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 1 13:16:24 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=128731

csongor at halmai.hu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #5 from csongor at halmai.hu ---
My previous LO version was:

Version: 6.3.0.4 (x64)
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
CPU threads: 12; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-AU (en_AU); UI-Language: en-US
Calc: threaded

I did this:

- open "proof.odg" (first attachment in this ticket)
- do NOT select anything
- File -> Export ... -> save as type=PNG, checkbox "Selection" is ticked (!),
File name="a.png", Save
- in the PNG options dialog, keep all the default values and keep the two
checkboxes ticked. 
- click OK
- open the resulting a.png in an image viewer. It contains only the lower right
quarter of the ellipse, plus a huge clear transparent area. (*)

- keep the odt file open
- Edit -> Select All
- File -> Export ... -> save as type=PNG, checkbox "Selection" is ticked (!),
File name="b.png", Save
- in the PNG options, keep all the default values and keep the two checkboxes
ticked. 
- click OK
- open the resulting b.png in an image viewer. It contains the whole ellipse
within its bounding box, including the part that is beyond the margin, but
nothing else.

My original complaint in the first comment of this ticket needs a
clarification. In the first case a large png is generated that contains
everything _within the margins_ but nothing beyond them. In the second case the
selected objects are exported, even if they are beyond the margins.

I installed the new version:

Version: 6.3.3.2 (x64)
Build ID: a64200df03143b798afd1ec74a12ab50359878ed
CPU threads: 12; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-AU (en_AU); UI-Language: en-US
Calc: threaded

and the behaviour is still the same. 

I still believe that hiding this difference is confusing. If the user, by
accident, puts an object partly beyond the margins then the exported image will
be silently truncated.

Instead of the current behaviour, LO should ask the following dialog, when
Export Selection is ticked but nothing was selected. 

> Nothing is selected. What do you want to export?
> [Everything, even beyond margins]
> [Everything within the margins]
> [Nothing, I will select something]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200101/23b7f7fd/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list