tips for Opera users
Federico Mena Quintero
federico at novell.com
Tue Oct 2 23:48:14 BST 2007
On Tue, 2007-09-18 at 10:57 +0100, Gavin McCullagh wrote:
> I got the patch to apply and work. I can't say for sure that it will fix
> your issue but it might at least alleviate it.
Thanks for testing the patch, Gavin!
> If I understand correctly, Federico's patch doesn't change the fact that
> firefox has to load all of the images, as pixmaps, into video ram to
> display the page. I presume all browsers must at some stage load each
> image in that way. It seems his patch causes the pixmaps to be removed
> after a short period, unless the particular picture is actually on-screen
> at that moment.
All of the above are correct. However, browsers (or any app) can avoid
creating pixmaps in the X server by using X images instead of pixmaps
(pixmaps are server-side resources, while images are client-side
resources). It should not be horribly difficult to change Firefox to do
this.
> > > http://www.carteretcountyschools.org/bms/teacherwebs/sdavenport/artgallery6.htm)
Ugh... this page does the mistake of making the browser load some huge
images, but then scaling them to a small size:
<img src="http://example.com/huge-image.jpg" width="100" height="100">
The solution to that is to make Firefox only store the scaled version of
the image (it still has to download it and uncompress it, but that's
client-side, not X-server-side). Or the page could be fixed to use
thumbnail images instead of the originals :)
Federico
More information about the edubuntu-users
mailing list