Summary: | Regression: Reloading files doesn't work correctly in 3.1.2 | ||
---|---|---|---|
Product: | [Unmaintained] kghostview | Reporter: | gerein |
Component: | general | Assignee: | Wilco Greven <greven> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
gerein
2003-05-27 16:56:56 UTC
I just tried that with a quick hack. Declaring the variables _overrideOrientation, _overridePageMedia, and _currentPage public in KGVMiniWidget and setting them directly instead of calling slotOrientation, slotMedia, and goToPage fixes all problems! GS doesn't seem to like four sequential calls to showPage()...? Anyway, the multiple calls of showPage() are redundant anyway and should go away. Not sure how to do this more elegant, though... Ok, i see this and it is mostly my fault. I just applied a different fix to BRANCH: Changing the order in which things are done (since calling showPage in miniwidget results in resetting the _currentPage variable). In HEAD, this code has changed and it is all done with one function call so the problem is inexistent. Thanks for the report. luis |