Discussion:
[Libreoffice-bugs] [Bug 121786] New: LO Draw: Empty .htm page if to Preview draw document in Web browser
b***@bugs.documentfoundation.org
2018-11-29 08:40:38 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121786

Bug ID: 121786
Summary: LO Draw: Empty .htm page if to Preview draw document
in Web browser
Product: LibreOffice
Version: 6.3.0.0.alpha0+ Master
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Draw
Assignee: libreoffice-***@lists.freedesktop.org
Reporter: ***@basealt.ru

Description:
Empty .htm page if to Preview document in Web browser

Steps to Reproduce:
1. Create new Draw document, insert some picture.
2. File -> Preview in Web browser


Actual Results:
Empty .htm page is opened (I use Firefox)

Expected Results:
.htm page contains my picture


Reproducible: Always


User Profile Reset: No



Additional Info:
Reproduced for

Version: 6.3.0.0.alpha0+
Build ID: b15b1a2a90fa4c239ff8a6a33e73ff50ea422abf
CPU threads: 1; OS: Linux 4.14; UI render: default; VCL: kde5;
TinderBox: Linux-rpm_deb-***@86-TDF, Branch:master, Time:
2018-11-28_06:21:05
Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
Calc: threaded

Reproduced for

Version: 6.3.0.0.alpha0+
Build ID: b15b1a2a90fa4c239ff8a6a33e73ff50ea422abf
CPU threads: 1; OS: Linux 4.14; UI render: default; VCL: gtk3;
TinderBox: Linux-rpm_deb-***@86-TDF, Branch:master, Time:
2018-11-28_06:21:05
Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
Calc: threaded

---

I also tried to Export draw document in .htm, so result is OK, .htm is not
empty
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-11-29 08:40:54 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121786

--- Comment #1 from Vera Blagoveschenskaya <***@basealt.ru> ---
Created attachment 147120
--> https://bugs.documentfoundation.org/attachment.cgi?id=147120&action=edit
draw-preview
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-11-29 08:42:10 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121786

--- Comment #2 from Vera Blagoveschenskaya <***@basealt.ru> ---
This is source code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/transitional.dtd">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title></title>
<meta name="generator" content="LibreOfficeDev 6.3.0.0.alpha0 (Linux)"/>
<meta name="created" content="2018-11-29T11:37:41.142473787"/>
<meta name="changed" content="2018-11-29T11:37:48.457081515"/>
</head>
<body>
<h1></h1>
</body>
</html>
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-11-29 14:38:15 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121786

V Stuart Foote <***@utsa.edu> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |bibisectRequest
Version|6.3.0.0.alpha0+ Master |5.3.7.2 release
OS|Linux (All) |All
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
CC| |***@utsa.edu

--- Comment #3 from V Stuart Foote <***@utsa.edu> ---
Confirming the empty preview as HTML 4.01 Transitional is generated on Windows
10 Home 64-bit en-US with current master and with on hand.
Version: 5.3.7.2 (x64)
Build ID: 6b8ed514a9f8b44d37a1b96673cbbdd077e24059
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; Layout Engine:
new;
Locale: en-US (en_US); Calc: group

Needs bibisect. Suspect the SID_WEBHTML in view shell [1] that "graphic_HTML"
filter got refactored and actual content is not being written to the temp file
created.

=-ref-=
[1] https://opengrok.libreoffice.org/xref/core/sfx2/source/view/viewsh.cxx#536
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-11-29 14:41:27 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121786

V Stuart Foote <***@utsa.edu> changed:

What |Removed |Added
----------------------------------------------------------------------------
Blocks| |108799


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108799
[Bug 108799] [META] HTML export bugs and enhancements
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-11-29 16:56:32 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121786

V Stuart Foote <***@utsa.edu> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|5.3.7.2 release |4.4.1.2 release
CC| |***@collabora.com

--- Comment #4 from V Stuart Foote <***@utsa.edu> ---
From the few admin installs loaded at hand--the Draw objects on canvas was
handled in HTML with an "img src=" stanza for a single JPEG holding the whole
sd Draw canvas. The HTML is marked with the slide movement strings "First page
Back Continue Last page" but they are not active links.

Howver, the missing Draw object rendering to a JPEG image also happen with
Impress slides from the same point pre 4.4.1.2--through current master.

Needs a bibisect

OK
Version: 4.1.5.2
Build ID: a02f36998a4af5e2f9fbec2b7e9f70a8b0bc934

BAD
Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Locale: en_US
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-12-03 13:24:20 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121786

Xisco Faulí <***@libreoffice.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@libreoffice.org
Keywords| |regression
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-12-08 07:34:42 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121786

raal <***@post.cz> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords|bibisectRequest |bibisected, bisected
CC| |***@gmail.com,
| |***@post.cz

--- Comment #5 from raal <***@post.cz> ---
This seems to have begun at the below commit.
Adding Cc: to TomaÅŸ Vajngerl ; Could you possibly take a look at this one?
Thanks

16d2798254a62975fb561ac2dfe3acf05c144a99 is the first bad commit
commit 16d2798254a62975fb561ac2dfe3acf05c144a99
Author: Matthew Francis <***@gmail.com>
Date: Thu May 28 20:58:02 2015 +0800

source-hash-69fe10662845288c09a05716a93876e2ca95c4bd

commit 69fe10662845288c09a05716a93876e2ca95c4bd
Author: TomaÅŸ Vajngerl <***@collabora.com>
AuthorDate: Fri Apr 11 14:14:49 2014 +0200
Commit: TomaÅŸ Vajngerl <***@collabora.com>
CommitDate: Sat Apr 12 12:58:49 2014 +0200

sd html export: "single document" publish mode & support tables

Change-Id: I0c9f45011091f962d5304c9efcaebbed7e6c3d9d
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-12-08 16:05:57 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121786

V Stuart Foote <***@utsa.edu> changed:

What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.documentfounda
| |tion.org/show_bug.cgi?id=11
| |7084,
| |https://bugs.documentfounda
| |tion.org/show_bug.cgi?id=11
| |3696

--- Comment #6 from V Stuart Foote <***@utsa.edu> ---
Related to missing image in a HTML "Preview in Web Browser" as here--we also
are missing an image rendering of the Draw canvas with an Export -> "XHTML
(*.html, *.xhtml)"

The Draw canvas is just not being written into the markup, neither embedded nor
as an image link.

The clunky Export -> "HTML Document (Draw) (*.html, *.htm)" dialog does convert
the document canvas to chosen image format, and prepares thumbnail and full
size image as new files, inserted as local hyperlinks in the markup.

Likewise the other Export image formats: BMP, EMF, EPS, GIF, JPEG, PNG, SVG,
TIFF, and WMF all function.

So not a problem with generating an image of the Draw canvas--just in the
linkage into the HTML temp preview, or XHTML markup.
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...