Bug 143637 - Taking vector screenshot from gtk3 UI leads to crash
Summary: Taking vector screenshot from gtk3 UI leads to crash
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.1.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-31 10:59 UTC by Hossein
Modified: 2022-05-12 12:07 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2021-07-31 10:59:24 UTC
Description:
Trying to take vector screenshots using "gtk vector screenshot module" (https://github.com/nomeata/gtk-vector-screenshot) which works with gtk3 UI, LibreOffice crashes

Steps to Reproduce:
1. Install gtk-vector-screenshot package for Ubuntu, or relevant package for other Linux distributions
2. Start LibreOffice with gtk3 UI
3. Invoke take-vector-screenshot command
4. Try taking vector screenshot from LibreOffice

Actual Results:
Crash

Expected Results:
Not crashing


Reproducible: Always


User Profile Reset: No



Additional Info:
Taking vector screenshots is currently possible only with gtk3 UI

Version: 7.1.3.2 / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Buovjaga 2022-05-12 10:55:43 UTC
It worked fine for me. Can you try again?

Arch Linux 64-bit
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 3dcf845691ee55621a9475d7c39cbc63611c3f7a
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 12 May 2022
Comment 2 Hossein 2022-05-12 11:19:47 UTC
(In reply to Buovjaga from comment #1)
> It worked fine for me. Can you try again?
> 
> Arch Linux 64-bit
> Version: 7.4.0.0.alpha0+ / LibreOffice Community
> Build ID: 3dcf845691ee55621a9475d7c39cbc63611c3f7a
> CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: gtk3
> Locale: fi-FI (fi_FI.UTF-8); UI: en-US
> Calc: threaded
> Built on 12 May 2022

I think this is fixed by Caolan at some point before 7.2. It works fine with:

Version: 7.2.4.1 / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Hossein 2022-05-12 11:28:27 UTC
This is the relevant discussion in the mailing lists:

Vector screenshots for the manuals: better quality and more visually attractive
https://listarchives.libreoffice.org/global/documentation/2021/msg00573.html
https://lists.freedesktop.org/archives/libreoffice/2021-June/087413.html

This is a sample documentation with the vector screenshots:
https://wiki.documentfoundation.org/images/4/4b/WG7120-CustomizingWriter-vector.pdf