Arx Cruz told me:
--
The --html is only available when you compile with webkit > 2.8.1 and the 
library is webkit2gtk. See https://bugzilla.gnome.org/show_bug.cgi?id=749798

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 :-)

** Bug watch added: GNOME Bug Tracker #749798
   https://bugzilla.gnome.org/show_bug.cgi?id=749798

** Description changed:

  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 (if no longer WebKit).
+ 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://bugzilla.gnome.org/show_bug.cgi?id=749798
+ 
+ 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=/dev/stdin \
  --width=$(($wadd+640)) --height=$(($hadd+400)) \
  --title "$btitle" \
  --ok-label="Go" --cancel-label="Quit" \
  --checkbox="Check this box if you are ready to go"
  -----
  It should create a window similar to that in the attached file 
'correct-rendering-html-precise.png'
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: zenity 3.16.3-1ubuntu1
  ProcVersionSignature: Ubuntu 4.1.0-2.2-generic 4.1.3
  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)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to zenity in Ubuntu.
https://bugs.launchpad.net/bugs/1478386

Title:
  zenity's option to render html does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/1478386/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to