zenity's option to render html does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| zenity (Ubuntu) |
High
|
Unassigned |
Bug Description
Zenity was updated a few days ago. Until then there was a bug with --checkbox, which is fixed now :-) But another bug was introduced: zenity's option to render html does not work. A similar bug was squashed in OpenSuse last year, and is still there in Fedora and Centos. But --html works in all versions of the Ubuntu flavours from 12.04 LTS 'Precise' to 15,04 'Vivid', and worked in 'Wily' until this last update of/to zenity 3.16.3.
The error output states:
"This option is not available. Please see --help for all possible usages."
The bug that was squashed last year was fixed in OpenSuse by compiling with WebKit. Maybe that works also now, maybe another tool is necessary now to add capability for html with the option --html.
Arx Cruz knows which tool to use:
"The --html is only available when you compile with webkit > 2.8.1 and the library is webkit2gtk. See https:/
If the new zenity wasn't built with support to this, you won't see the --html option."
You can run the following bash shell-script to test if it works or not.
-----
#!/bin/bash
echo "<h1>HTML headline</h1>
Hello World" | zenity --text-info --html --filename=
--width=
--title "$btitle" \
--ok-label="Go" --cancel-
--checkbox="Check this box if you are ready to go"
-----
It should create a window similar to that in the attached file 'correct-
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: zenity 3.16.3-1ubuntu1
ProcVersionSign
Uname: Linux 4.1.0-2-generic i686
ApportVersion: 2.18-0ubuntu5
Architecture: i386
CasperVersion: 1.362
CurrentDesktop: LXDE
Date: Sun Jul 26 19:29:08 2015
LiveMediaBuild: Lubuntu 15.10 "Wily Werewolf" - Alpha i386 (20150725)
SourcePackage: zenity
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
sudodus (nio-wiklund) wrote : | #1 |
description: | updated |
Mélodie (meets) wrote : | #3 |
Hello,
I was wondering if the name of the option could have changed, or replaced by another action, so I did a check on the info file "text.page" in /usr/share/
*******
<item>
<p>Enable html support.</p>
</item>
*******
Best regards,
Mélodie
Launchpad Janitor (janitor) wrote : | #4 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in zenity (Ubuntu): | |
status: | New → Confirmed |
sudodus (nio-wiklund) wrote : | #5 |
Arx Cruz told me:
--
The --html is only available when you compile with webkit > 2.8.1 and the library is webkit2gtk. See https:/
If the new zenity wasn't built with support to this, you won't see the --html option.
--
So please re-compile zenity with such a webkit version :-)
description: | updated |
Changed in zenity (Ubuntu): | |
importance: | Undecided → High |
victor00000 (vict1971) wrote : | #6 |
hello!
my
zenlty:
yes - <img src="http://
not - <img src="file:
what?
sudodus (nio-wiklund) wrote : | #7 |
In wily zenity does not even accept the option --html
victor00000 (vict1971) wrote : | #8 |
Yes http://
L~$
L~$ echo "<img src=\"http://
read(7, "<img src=\"http://
[pid 31543] send(15, "GET /1.png HTTP/1.1\r\nHost: local"..., 169, MSG_NOSIGNAL) = 169
L~$
not file://
Next version?
Changed in zenity (Ubuntu): | |
status: | Confirmed → Fix Committed |
sudodus (nio-wiklund) wrote : | #9 |
Where can I find a fixed version for testing?
Launchpad Janitor (janitor) wrote : | #10 |
This bug was fixed in the package zenity - 3.16.3-1ubuntu3
---------------
zenity (3.16.3-1ubuntu3) wily; urgency=medium
* debian/control.in: build-depends on gnome-common
-- Sebastien Bacher <email address hidden> Thu, 01 Oct 2015 17:04:38 +0200
Changed in zenity (Ubuntu): | |
status: | Fix Committed → Fix Released |
sudodus (nio-wiklund) wrote : | #11 |
I found it in the repos, upgraded and yes, zenity works with --html again in Wily :-)
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here: iso.qa. ubuntu. com/qatracker/ reports/ bugs/1478386
http://