Bug 136761

Summary: QR code uneditable after reopening document
Product: LibreOffice Reporter: jon.tech.uk
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: jon.tech.uk, jrk33, nigeljtodd, raal
Priority: medium    
Version: 7.0.0.3 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: draw odg qrcode qr
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 127232    

Description jon.tech.uk 2020-09-14 20:28:07 UTC
When re-opening a document containing a QR code, that code is not editable.

Steps to recreate bug:
- create a new DRAW document
- menu >> insert >> object >> qr code...
- url/text >> test >> ok
- qr code appears in document
- right click qr code
- edit qr code... is available
- save document
- close document
- reopen saved document
- right click qr code
- edit qr code... is NOT available

This bus is for DRAW only. The above steps work correctly in WRITER.

Fix / workaround:
- extract content.xml file from .odg file
- remove the png tag, example:
<draw:image xlink:href="Pictures/100002010000001800000018D92FD38B996A0D40.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:mime-type="image/png"/>
- repack modified content.xml file into .odg file
- the qr code is now editable again
Comment 1 raal 2021-01-10 00:02:47 UTC
I can confirm with Version: 7.2.0.0.alpha0+
Build ID: 6bb6eb1692d7dd432103d0e7278534390084caf6
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 2 raal 2022-04-03 18:11:11 UTC
*** Bug 148286 has been marked as a duplicate of this bug. ***
Comment 3 QA Administrators 2024-04-03 03:13:43 UTC Comment hidden (obsolete)
Comment 4 jon.tech.uk 2024-04-11 11:12:21 UTC
The issue still exists in version 24.2

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 8; OS: Linux 6.7; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded