Bug 117084 - Preview in Web browser displays mangled document in Draw and Impress (only text)
Summary: Preview in Web browser displays mangled document in Draw and Impress (only text)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 121786 134633 148396 (view as bug list)
Depends on:
Blocks: (X)HTML-Export
  Show dependency treegraph
 
Reported: 2018-04-18 10:35 UTC by Samuel Mehrbrodt (allotropia)
Modified: 2023-05-04 10:29 UTC (History)
10 users (show)

See Also:
Crash report or crash signature:


Attachments
Bugdoc (32.95 KB, application/vnd.oasis.opendocument.graphics)
2018-04-18 10:35 UTC, Samuel Mehrbrodt (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Mehrbrodt (allotropia) 2018-04-18 10:35:30 UTC
Created attachment 141454 [details]
Bugdoc

Open attached document, go to File->Preview in Web Browser.

Each page used to be displayed as a graphic so you have an exact preview.
But now, you only see all the text unformatted.

Regression from https://cgit.freedesktop.org/libreoffice/core/commit/?id=69fe10662845288c09a05716a93876e2ca95c4bd
Comment 1 Tomaz Vajngerl 2018-04-18 13:33:36 UTC
Well this HTML export was being proposed for removal in tdf#105303. The only thing that would stay is the default html export that is triggered now, which is used by --convert-to and is used mostly for gathering of text with simple formatting that can be used for indexing (this is why it is currently quite basic with no image support). So this still must stay regardless of the change. 

Anyway as the rendering to HTMLl export as a series of images is slated to be removed, this would also mean that the "Preview in Web Browser" option would be removed. 

If somebody uses this then I wonder for what reason? To just see the document in an external application? Then I would generally rather consider exchanging this with option with an option that would open a PDF, and if it must be in a web browser, then use a PDF.js to open the PDF in a web browser. The fidelity of that would be much much better and more useful.
Comment 2 V Stuart Foote 2018-04-18 13:50:15 UTC
(In reply to Tomaz Vajngerl from comment #1)
> 
> If somebody uses this then I wonder for what reason? To just see the
> document in an external application? Then I would generally rather consider
> exchanging this with option with an option that would open a PDF, and if it
> must be in a web browser, then use a PDF.js to open the PDF in a web
> browser. The fidelity of that would be much much better and more useful.

Or, as Heiko hints in bug 105303, would think SVG, or even PNG, is a better format to "preview" pages of the ODG in a browser. Taking it through the PDF export for a preview seems kind of heavy weight.
Comment 3 Xisco Faulí 2018-07-18 14:56:07 UTC
Dear Samuel Mehrbrodt,
This bug has been in ASSIGNED status for more than 3 months without any
activity. Resetting it to NEW.
Please assigned it back to yourself if you're still working on this.
Comment 4 QA Administrators 2019-12-09 03:39:41 UTC Comment hidden (obsolete)
Comment 5 BogdanB 2019-12-09 05:39:08 UTC
6.5 also affected

Version: 6.5.0.0.alpha0+
Build ID: 5030be4e85179147476b1e441eb618fb6ed58235
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-11-28_20:14:48
Locale: ro-RO (ro_RO.UTF-8); UI-Language: en-US
Calc: threaded
Comment 6 BogdanB 2021-07-31 05:17:23 UTC
Also in
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 5aa74aa1e6fac571f99146ebcb6adc9feb1459ad
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-07-28_19:35:14
Calc: threaded
Comment 7 BogdanB 2021-07-31 14:57:01 UTC
Should the wizard be dropped based on bug 105303?
Comment 8 Tomaz Vajngerl 2021-08-02 04:27:21 UTC
(In reply to BogdanB from comment #7)
> Should the wizard be dropped based on bug 105303?

That's what I already said
Comment 9 Stéphane Guillou (stragu) 2023-05-02 23:02:24 UTC
*** Bug 148396 has been marked as a duplicate of this bug. ***
Comment 10 Stéphane Guillou (stragu) 2023-05-02 23:09:08 UTC
*** Bug 121786 has been marked as a duplicate of this bug. ***
Comment 11 Stéphane Guillou (stragu) 2023-05-02 23:09:41 UTC
*** Bug 134633 has been marked as a duplicate of this bug. ***
Comment 12 Rajasekaran Karunanithi 2023-05-04 10:29:55 UTC
Still present in L.O 7.6 alpha release under Windows 10(x64).

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 006b35d50024b1932d84380b5d2fec1f7066bccd
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-IN (en_IN); UI: en-US
Calc: threaded