View Single Post
Old 09-07-2009, 06:01 AM   #3
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by dixon View Post
When I tested it I noticed that sometimes it does not refresh screen when it should. So if you see garbage on your screen or you see the message "Loading..." for too long time just scroll the text once and that will refresh screen.
The low level display driver has a complicated algorithm involving timers, area size, widget types and widget names to determine if an actual screen refresh is needed (see sysd-code). One trick that I use is to update a gtk_label, this always seems to trigger a full screen refresh (with a delay of 1-2 seconds). I am not sure if Evince has a label that can be used?
Mackx is offline   Reply With Quote