Revision 5b12bf6...

Go back to digest for 22nd July 2012

Bug Fixes in Graphics

Fabio D'Urso committed changes in [okular] core/generator.cpp:

Call Generator::signalPixmapRequestDone _after_ saving the calculated bounding box

Fixes a bug that causes the extraction of a wrong bounding box:

If the request queue is not empty, signalPixmapRequestDone causes a new
pixmap request to be started, thus overwriting mPixmapGenerationThread's
mCalcBoundingBox before it is read by the if in the next line.

Now signalPixmapRequestDone is called after the bounding box is saved,
so that new requests are started only after all data from
mPixmapGenerationThread have been saved.


REVIEW: 105600

File Changes

Modified 1 files
  • core/generator.cpp
1 files changed in total