! 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 !
navigation bar causes continuous flicker
Status:
RESOLVED: FIXED
Product:
Ristretto
Component:
Application

Comments

Description ochnap2 2011-08-03 22:32:49 CEST
Opening an image that is larger than the available window space when the navigation bar is visible produces repetitive repaints of the image. Enlarging the main window so that the image and the navigation bar do not intersect makes the flickering to disappear.
Comment 1 Stephan Arts editbugs 2011-09-03 00:37:06 CEST
This is actually not the navigation-bar. This is a race-condition when the scrollbars get visible and invisible continuously when having the resizing the image to fit the window.
Comment 2 Stephan Arts editbugs 2011-10-17 14:10:50 CEST
Fixed in this commit > http://git.xfce.org/apps/ristretto/commit/?id=23c1c7206a9b423d8f53c7ca2aa8b980131bf894

From the commit-msg:

Move update of the adjustment page_size to the queued_repaint callback function. This way the adjustments do not get their updates before the _upper limit is changed too. This fixes a problem where the image-viewer is updated too often, sometimes indefinately until the widget-size is changed again.

Bug #7867

Reported by:
ochnap2
Reported on: 2011-08-03
Last modified on: 2011-10-17

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information