View Single Post
Old 09-13-2009, 06:52 AM   #141
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Quote:
Originally Posted by ericshliao View Post
Just found something interesting.
In djview4 with xepdmgr, when I flipped the page, there was always a redundant screen refreshment even after the page was properly displayed. That is, to display a page, the screen refreshes two times in a second, even though the first refreshment already does pretty well.
As to the flickering problem in fullscreen mode, I found a solution.
Djview4 puts all update actions into a queue, but with this line: "QTimer::singleShot(0, this, SLOT(updateActions()));", Djview4 will ask QT do the update in real time. On desktop PC, it will generate good result, but on iLiad, it will cause flickering. So I modified that line to "QTimer::singleShot(400, this, SLOT(updateActions()));" and the flickering problem disappeared.
Since I can't find the return point of all update actions, I can't use the approach of disabling and then enabling auto-refresh of xepdmgr for such scenario.

Last edited by ericshliao; 09-13-2009 at 07:06 AM.
ericshliao is offline   Reply With Quote