Bug 122065 - Export to pdf selection in Draw always resulted export in whole page
Summary: Export to pdf selection in Draw always resulted export in whole page
Status: RESOLVED DUPLICATE of bug 40163
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.1.2.1 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2018-12-13 00:48 UTC by bagus
Modified: 2023-03-03 14:29 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
LO should contain the object with minimum size, not the whole page (1.28 KB, application/pdf)
2022-11-02 04:59 UTC, bagus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bagus 2018-12-13 00:48:57 UTC
Description:
When I tried to export of selection of drawing in Draw to pdf, 
it always exported as whole page. I tried both "export" and "export to pdf" menu, both are failed to export selection. It works if I exported as .eps.
Steps to reproduce:
1. Draw circle and square
2. Ctrl+A to select All
3. File > Export/Export to PDF > range --> selection
4. See exported result

LO version:
Version: 6.1.3.2
Build ID: 1:6.1.3~rc2-0ubuntu0.16.04.1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group threaded

Steps to Reproduce:
1. Draw circle and square
2. Ctrl+A to select All
3. File > Export/Export to PDF > range --> selection
4. See exported result

Actual Results:
exported whole page

Expected Results:
exported only selection


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.1.3.2
Build ID: 1:6.1.3~rc2-0ubuntu0.16.04.1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group threaded
Comment 1 Roman Kuznetsov 2018-12-13 14:16:21 UTC
confirm in

Версия: 6.1.2.1
ID сборки: 65905a128db06ba48db947242809d14d3f9a93fe
Потоков ЦП: 4; ОС:Windows 6.1; Отрисовка ИП: по умолчанию; 
Локаль: ru-RU (ru_RU); Calc: group threaded
Comment 2 QA Administrators 2020-12-13 03:46:32 UTC Comment hidden (obsolete)
Comment 3 Rajasekaran Karunanithi 2022-10-31 22:00:40 UTC
Can't reproduce in LO 7.4.2.3 under LXLE(x64) Focal distro.I did pdf export of particular selection(circle or square),then the exported pdf contains only the selection part not whole page.

Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 1; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.4.2~rc3-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 4 bagus 2022-11-02 04:59:55 UTC
Created attachment 183371 [details]
LO should contain the object with minimum size, not the whole page
Comment 5 bagus 2022-11-02 05:02:09 UTC
@Rajasekaran Karunanithi.

Strange. I also used LO 7.4.2.3 under Focal but still experiencing this bug.

Let me make it clear. The output should be the pdf with the size of the object (e.g., circle or square), not the page size (A4). If you got the selection but in page size, the bug still appears.


As in EPS exportation, the page size should be reduced to fit only the object. Hence, I am still claiming the bug is still persistent. See the attached file.
Comment 6 Rajasekaran Karunanithi 2022-11-11 23:56:33 UTC
(In reply to bagus from comment #5)
> @Rajasekaran Karunanithi.
> 
> Strange. I also used LO 7.4.2.3 under Focal but still experiencing this bug.
> 
> Let me make it clear. The output should be the pdf with the size of the
> object (e.g., circle or square), not the page size (A4). If you got the
> selection but in page size, the bug still appears.
> 
> 
> As in EPS exportation, the page size should be reduced to fit only the
> object. Hence, I am still claiming the bug is still persistent. See the
> attached file.

Yes,it does. As you told the selection got exported in page size.So it still exists.
Comment 7 Buovjaga 2023-03-03 14:29:25 UTC

*** This bug has been marked as a duplicate of bug 40163 ***