Bug 146975 - I can't change PNG export dimention from cm to points
Summary: I can't change PNG export dimention from cm to points
Status: RESOLVED DUPLICATE of bug 128957
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-24 18:32 UTC by Sabri Unal
Modified: 2022-01-24 20:45 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screencast of the bug. (788.71 KB, video/webm)
2022-01-24 18:32 UTC, Sabri Unal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sabri Unal 2022-01-24 18:32:17 UTC
Created attachment 177758 [details]
screencast of the bug.

Hi,

I accidentally found out about this bug. 

I can't change PNG export dimensions to "Points", LibreOffice closes itself.

How to reproduce:

* Open a Calc document.
* File -> Export 
* Select PNG from export types then click on the Save button.
* PNG Options will open. 
* From "Modify dimensions", change CM to Points.
* CM values will be changed to Points.
* You can click on +/- icons to increase/decrease width/height or just input a new value.
* LibreOffice will close itself.

My Terminal output is here, it might be useful.

sabri@yakusha:~$ libreoffice
(soffice:1186988): Pango-CRITICAL **: 21:25:29.816: pango_layout_set_width: assertion 'layout != NULL' failed
(soffice:1186988): Pango-CRITICAL **: 21:25:29.816: pango_layout_set_alignment: assertion 'layout != NULL' failed
(soffice:1186988): Pango-CRITICAL **: 21:25:29.816: pango_layout_set_text: assertion 'layout != NULL' failed
(soffice:1186988): Pango-CRITICAL **: 21:25:29.816: pango_layout_set_width: assertion 'layout != NULL' failed
(soffice:1186988): Pango-CRITICAL **: 21:25:29.816: pango_layout_set_alignment: assertion 'layout != NULL' failed
(soffice:1186988): Pango-CRITICAL **: 21:25:29.816: pango_layout_set_text: assertion 'layout != NULL' failed


I have tested on two versions of LibreOfice. 

Version: 7.2.5.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Ubuntu package version: 1:7.2.5~rc2-0ubuntu0.20.04.1~lo1
Calc: threaded

The second one is official AppImage from (https://www.libreoffice.org/download/appimage/)

Version: 7.2.5.2 / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 1 Sabri Unal 2022-01-24 18:35:24 UTC
I can confirm that the bug affects JPG/JPEG export options too.
Comment 2 BogdanB 2022-01-24 19:24:55 UTC
Even if this is Calc and the first report is Draw, it is the same problem.

*** This bug has been marked as a duplicate of bug 128957 ***
Comment 3 Ayhan Yalçınsoy 2022-01-24 20:07:00 UTC
I can't reproduce it on Pisi GNU/Linux and following system:
Version: 7.2.2.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: tr-TR (tr_TR.UTF-8); UI: tr-TR
Calc: threaded
Comment 4 BogdanB 2022-01-24 20:45:09 UTC
I have a crash in
Version: 7.3.1.0.0+ / LibreOffice Community
Build ID: de15e8d4f2f2e5d10cb5d9203e51f3a28347db8d
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

It's very important to press on + or - to change the size in points