Bug 30361

Summary: Inserting QR-code or barcode in LibreOffice writer doesn't work
Product: Mageia Reporter: leo lenoir <leo_nard>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: fri, joe_c_moi, mageia
Version: 8   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description leo lenoir 2022-05-02 15:04:14 CEST
Description of problem:
Inserting QR-code or barcode in LibreOffice writer doesn't work at all.
Nothing happen, no dialog box, no popup.
And no error message if I start LibreOffice in terminal.


Version-Release number of selected component (if applicable):
libreoffice-writer-7.3.2.2-1.mga8
On 2 PCs, Magiea 8 64 bits, with the 7.2.5.2.0 version, and 7.3.2.2 version.

How reproducible:

Steps to Reproduce:
1.Start LibreOffice writer
2.Insert Menu
3.Object
4.QR-code or Barcode
Comment 1 sturmvogel 2022-05-02 15:56:27 CEST
Can confirm this behaviour on a real MGA8 Plasma 64bit machine with libreoffice 7.3.2.2 
No error in console. No hidden window. Nothing.

There is a bug for Fedora (but without any helpfull information) with the same problem. https://bugs.documentfoundation.org/show_bug.cgi?id=145573

I didn't fire up my Fedora 35 VB to check. But under Tumbleweed (real machine) with libreoffice 7.3.3.1 everything works as expected.
Comment 2 Morgan Leijström 2022-05-02 16:54:12 CEST
Setting assignee and CC Nicolas like Bug 29556 on LO

Assignee: bugsquad => thierry.vignaud
CC: (none) => fri, mageia

Comment 3 Nicolas Nicolas 2022-05-08 11:03:35 CEST
Hello,

I think that for this function Libreoffice rely on Zxing.

Unfortunately, the configure option in the spec specify --disable-zxing and lib64zxing is not in the build requires in this file too.

When running the configure line, i got:

"checking whether to use zxing... no"

after removing the --disable-zxing and installing the devel package for zxing, i got:

checking whether to use zxing... yes
checking which libzxing to use... external
checking for ZXing/MultiFormatWriter.h... yes
checking for main in -lZXing... yes

Note: i didn't achieve to rebuild the rpm on my machine as the rpmbuild -bc complains about missing some requirements (cmake ones) but can't install the prerequisite because got error simialr to "can't install package because the depend on earliest version on packages that are installed."

CC: (none) => joe_c_moi