Bug 136761 - QR code uneditable after reopening document
Summary: QR code uneditable after reopening document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: draw odg qrcode qr
Keywords:
: 148286 (view as bug list)
Depends on:
Blocks: QR-code
  Show dependency treegraph
 
Reported: 2020-09-14 20:28 UTC by jon.tech.uk
Modified: 2022-04-03 18:11 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***