Bug 896674

Summary: zenity lacks the --html option, probably needs to compile zenity with WebKit.
Product: [openSUSE] openSUSE 13.1 Reporter: Forgotten User RS3d9eADYG <forgotten_RS3d9eADYG>
Component: GNOMEAssignee: Dominique Leuenberger <dimstar>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P4 - Low CC: dimstar, forgotten_RS3d9eADYG
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 13.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User RS3d9eADYG 2014-09-15 10:48:28 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0

I use zenity in 'mkusb' version 9 described at

    https://help.ubuntu.com/community/mkusb

    This command (in a bash script) was developed in Ubuntu and works in
    several distros, for example Debian, Knoppix and Mageia Gnome:

    in the mkusb script:

    (echo "$htmlbody") | zenity --text-info --html --filename=/dev/stdin \
    --height=$(($hadd+120)) --title "" --timeout 2 2>> "$errout"

    for testing from a command line:

    echo "hello world" | zenity --text-info --html --filename=/dev/stdin

    But in Fedora and openSUSE, it fails. It seems to me, that the --html
    option is missing.

    I use the --html option to enable colours, text control and graphics.

    1. Red background for a final warning before flashing an iso to a device

    2. For better control of the text

    3. For graphics - the mkusb logo icon and an arrow

    *Question*

    Is it correct, that the --html option is missing? Or is it something
    else that makes it fail?

    *Details*

    Ubuntu 12.04.5 LTS uses zenity version 3.4.0
    Ubuntu 14.04.1 LTS uses zenity version 3.8.0
    Knoppix 7.4 (the current version) uses zenity version 3.12

    and they all work.
    -----
    openSUSE 13.1-GNOME uses zenity version 3.8.0

    and fails with the following message:

    This option is not available. Please see --help for all possible usages.

    It works without the --html option
    -----

Reply from the zenity developer ArX Cruz:

Hello

--html option uses WebKit to render. Probably zenity wasn't compiled with WebKit, so the option doesn't exist. You need to open a bug against the distro to compile zenity with WebKit.

Kind regards 
Arx Cruz


Reproducible: Always

Steps to Reproduce:
1.Try this command from a terminal window

echo "hello world" | zenity --text-info --html --filename=/dev/stdin

2. It fails with the following message:

    This option is not available. Please see --help for all possible usages.

3. But without the option --html it works (displays a window with 'hello world')


Actual Results:  
zenity fails in opensuse and fedora, but works in several other distros.

Expected Results:  
success, so that html formatting can be used with zenity --text-info

--html option uses WebKit to render. Probably zenity wasn't compiled with WebKit, so the option doesn't exist.

Please try to solve the problem by compiling zenity with WebKit!
Comment 1 Forgotten User RS3d9eADYG 2014-09-15 11:10:20 UTC
This is my first experience of bugzilla. I have used Launchpad before, but I am a beginner here so I do not understand your code-words yet.

-o-

I thought the entry for hardware meant Intel and AMD 64 bit, but if IA64 means Itanium, the classification is wrong.

I have tested this problem with the following iso file

openSUSE-13.1-GNOME-Live-x86_64.iso
Comment 2 Forgotten User RS3d9eADYG 2014-09-15 11:32:41 UTC
I downloaded and tested the 32-bit version too from

openSUSE-13.1-GNOME-Live-i686.iso

and could reproduce the bug. So the bug is there in

the standard 64-bit and 32-bit versions of

openSUSE-13.1-GNOME-Live
Comment 3 Dominique Leuenberger 2014-09-17 12:53:29 UTC
Thank you very much for your report and all the analysing work already done!
Comment 4 Dominique Leuenberger 2014-09-17 12:55:00 UTC
(In reply to comment #1)
> This is my first experience of bugzilla. I have used Launchpad before, but I am

Nothing wrong in particular for your first time - well done (only one thing: do not adjust the 'priorities': this field is for the teams fixing the bugs to be decided)
Comment 5 Bernhard Wiedemann 2014-09-17 14:00:52 UTC
This is an autogenerated message for OBS integration:
This bug (896674) was mentioned in
https://build.opensuse.org/request/show/249948 13.1 / zenity
Comment 6 Forgotten User RS3d9eADYG 2014-09-17 17:30:12 UTC
Hi Dominique,

I'm glad that the information I supplied is useful, and I'll try stay away from those priority switches :-)
Comment 7 Swamp Workflow Management 2014-09-28 10:06:57 UTC
openSUSE-RU-2014:1231-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 896674
CVE References: 
Sources used:
openSUSE 13.1 (src):    zenity-3.10.2-2.8.1
Comment 8 Forgotten User RS3d9eADYG 2014-09-28 17:15:24 UTC
Thanks a lot,

mkusb works now with the zenity --html option :-)

Best regards
sudodus alias Nio Wiklund
Comment 9 Dominique Leuenberger 2014-09-30 22:49:36 UTC
Fix available for 13.1 and checked in to Factory,