surf/midori www browser svg rendering broken

Bug #1394903 reported by irrelative
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webkitgtk (Ubuntu)
New
Undecided
Unassigned

Bug Description

Need to view in browser some svg plot, created with matplotlib/pylab (python). In most major www browsers svg rendering is good, but in surf there is no grid, nor vertical lines. I think, this is related to webkit bug ( https://bugs.webkit.org/show_bug.cgi?id=92254 ). There is <defs> construction at the end of svg body structure, if I move it to the top of svg body, surf rendering become appropriate.

Summary: need to view svg plot in surf
Expected: some functions plot with grid, legend, lines
Happened: some functions plot with legend, horizontal lines, but without grid and vertical lines

Command to view svg:
$ surf file:///tmp/plot.svg

(surf:14394): libsoup-WARNING **: No feature manager for feature of type 'SoupCookie'
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

System:

$ cat /etc/issue
Ubuntu 14.04.1 LTS \n \l

$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

$ apt-cache policy surf
surf:
  Installed: 0.4.1-8
  Candidate: 0.4.1-8
  Version table:
 *** 0.4.1-8 0
        500 http://by.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

$ surf -v
surf-0.4.1, © 2009 surf engineers, see LICENSE for details

I built surf from sources ( http://git.suckless.org/surf ) with ubuntu 14.04 webkit devs packages, but the bug is still here.

$ /opt/surf/bin/surf -v
surf-0.6, ©2009-2014 surf engineers, see LICENSE for details

At the same time, some webkit(-gtk) based www browsers (Chromium) render this plots good.

$ chromium-browser --version
Chromium 38.0.2125.111 Ubuntu 14.04

Just tested this case in Ubuntu versions of Midori and Epiphany and the svg rendering is broken too.

$ midori --version
Midori 0.4.3

Copyright (c) 2007-2011 Christian Dywan

Please report comments, suggestions and bugs to:
 https://bugs.launchpad.net/midori

Check for new versions at:
 http://www.twotoasts.de

$ /usr/bin/epiphany-browser --version
Web 3.10.3

There are two versions (1.0 and 3.0) of libwebkitgtk packages are installed, but surf (and midori) uses 1.0:

$ ldd /usr/bin/surf | grep webkit
 libwebkitgtk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libwebkitgtk-1.0.so.0 (0x00007f623b932000)

$ ldd /usr/bin/midori | grep webkit
 libwebkitgtk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libwebkitgtk-1.0.so.0 (0x00007f85bfd0b000)

$ apt-cache policy libwebkitgtk-1.0-common
libwebkitgtk-1.0-common:
  Installed: 2.4.7-1~ubuntu1
  Candidate: 2.4.7-1~ubuntu1
  Version table:
 *** 2.4.7-1~ubuntu1 0
        500 http://by.archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     2.4.4-1~ubuntu1 0
        500 http://by.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     2.4.0-1ubuntu2 0
        500 http://by.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

$ apt-cache policy libwebkitgtk-1.0-0
libwebkitgtk-1.0-0:
  Installed: 2.4.7-1~ubuntu1
  Candidate: 2.4.7-1~ubuntu1
  Version table:
 *** 2.4.7-1~ubuntu1 0
        500 http://by.archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     2.4.4-1~ubuntu1 0
        500 http://by.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     2.4.0-1ubuntu2 0
        500 http://by.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Tags: svg webkitgtk
Revision history for this message
irrelative (user989) wrote :
Reiner Herrmann (deki)
affects: surf (Ubuntu) → webkitgtk (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.