! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Improve transition between high-res images
Status:
RESOLVED: FIXED
Product:
Ristretto
Component:
Application

Comments

Description Mathias Brodala 2008-09-04 09:01:45 CEST
When switching from one high-res image to another one Ristretto currently briefly displays a blank screen.

This is quite distracting which is why the previous image should be displayed as long as possible or the preloading algorithm be improved. This way a seamless transition might be possible. (Only guessing here, of course.)

For testing purposes create one simple image (a single color is enough) with a resolution at e. g. 2000×2000 pixels. Copy this image and switch from one to the other and back in Ristretto.
Comment 1 Stephan Arts editbugs 2008-11-24 22:05:19 CET
Fixed in svn
Comment 2 Mathias Brodala 2009-04-05 20:51:15 CEST
(In reply to comment #1)
> Fixed in svn

At least not for me. I still get a blank screen between two images.
Comment 3 Stephan Arts editbugs 2009-05-20 14:51:18 CEST
Can you try the following experimental version?

http://git.xfce.org/stephan/ristretto/snapshot/ristretto-master.tar.bz2

Preloading is not working yet, but it does something.
Comment 4 Mathias Brodala 2009-05-20 18:52:38 CEST
(In reply to comment #3)
> Can you try the following experimental version?
> 
> http://git.xfce.org/stephan/ristretto/snapshot/ristretto-master.tar.bz2
> 
> Preloading is not working yet, but it does something.

Yes, there is no distracting black screen anymore. But now there is a distracting buildup process like from progressive JPEG images. Is this intended or will it be removed in future versions?

(BTW: Why the change of hotkeys? I initially found myself stumbled because PgDown and PgUp apparently have no function anymore.)
Comment 5 Stephan Arts editbugs 2009-05-20 22:22:26 CEST
(In reply to comment #4)
> (In reply to comment #3)
> > Can you try the following experimental version?
> > 
> > http://git.xfce.org/stephan/ristretto/snapshot/ristretto-master.tar.bz2
> > 
> > Preloading is not working yet, but it does something.
> 
> Yes, there is no distracting black screen anymore. But now there is a
> distracting buildup process like from progressive JPEG images. Is this intended
> or will it be removed in future versions?

It takes time to load the image at full-size, usually more time then the user is willing to wait. To compensate, ristretto does 2 things: 

1) it renders the thumbnail at full-size to give a low-quality impression of what the image looks like
2) it 'preloads' images so they are rendered in the background before the user has the intention of seeing them. This can be disabled because it obviously has implications on ristretto's memory usage.

Currently, in the experimental branch, preloading is broken/not-implemented.


> 
> (BTW: Why the change of hotkeys? I initially found myself stumbled because
> PgDown and PgUp apparently have no function anymore.)


The experimental branch uses gtkuimanager for building the menus and controlling the accelerators (or hotkeys). By using this method, the accelerators can be easily changed. 

Unfortunately, this has implications on the use of keys used for menu-navigation, like PG_UP/PG_DOWN,ARROWS and ESC.

Any use for those keys need to be hard-coded once-again :/
Comment 6 Stephan Arts editbugs 2009-05-21 07:35:26 CEST
Ok, those hotkeys work again :)
Comment 7 Mathias Brodala 2009-05-21 08:34:50 CEST
(In reply to comment #6)
> Ok, those hotkeys work again :)

Thank you.
Comment 8 Stephan Arts editbugs 2011-10-22 21:23:50 CEST
The new implementation of the imageviewer and image-list allows for seamless transition between images (without progressive image-loading).

Closing this ticket again.

Bug #4350

Reported by:
Mathias Brodala
Reported on: 2008-09-04
Last modified on: 2011-10-22

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information