[Bug 88320] Re: Feisty: Firefox/SVG re-rendered (slow) during a tab-switch.

Andy Brook javahollic at gmail.com
Tue Apr 3 08:13:18 UTC 2007


Alex: I tried latest 2.0.0.3 for both edgy and fiesty, its the same on
each OS release.  [I have 200 odd fiesty updates pending from yesterday
- waiting a collegue to give me the boot-ok all-clear :) If it makes a
difference I'll comment.

The format for this application is Java/JSP web-application running on Edgy/Jboss/SUN150 JRE.  It gets user data from Active Directory and other clocking systems.  
The struts code forwards to a custom JSP which outputs an SVG.  To work around windows 2000/IE6 SVG rendering bugs I EMBED the content in a web page.  All components are computed from some hard coded offsets so that the two level tree automatically lays out.

To give an better idea of what I'm rendering I've attached a screen
grab, from this you should be able to see the following:

[misc]
4 flag images
18 vertical tics
1 horizonal tick
2 Text objects (refresh and Note)
1 mouse status (click/drag) indicator
background javascript that loops ever 10S (used for a 5minute refresh countdown)

[user details x1]
1 user image 
10 text objects

[ hierarchy details x18]
1 background box, gradient shaded (the white bar is a known bug in the gradient code)
1 transparent hit-box (outlined) in top 55% of each
1 user sillouette image
1 small telephone icon
7 text objects (obscured)

The SVG makes use of

---------
To clarify: when I say switching tabs I talking about switching from a non-SVG content page back to my generated SVG.

If I leave the SVG unscrolled, it appears left aligned, with 50% not
visible (browser is on one screen at 1600x1200) off the right hand part
of the EMBED.  Switching to other tabs and back introduces no real delay
in rendering on fiesty: (My main dev box, Opteron 2.0Ghz, 3GB ram) .  If
I scroll right so that the user info section (top left) is half off-
screen to the left, when I switch tabs and back to the SVG, it takes a
full second or so to render.  Does the SVG render render at 0,0 and then
do some kind of offset re-render? Is the browser responsible for
positioning EMBEDed content?  I don't know.

On edgy (HP laptop, AMD64 2.20 GHz 2GB) I seem to get the delay
switching tabs irrespective of whether the image is far left or not.
Fiesty seems to have improved the performance for left aligned  EMBEDed
SVGs.

-------

I'll try and put an example WAR together demoing the issue with
contrived data, hopefully in the next few days.

** Attachment added: "Image showing the SVG output (two screens needed for full size)"
   http://librarian.launchpad.net/7125053/example.gif

-- 
Feisty: Firefox/SVG re-rendered (slow) during a tab-switch.
https://bugs.launchpad.net/bugs/88320
You received this bug notification because you are a member of Mozilla
Bugs, which is a bug assignee.




More information about the Ubuntu-mozillateam-bugs mailing list