steffenh added a comment.
Yes, I have found this, if okular is build / using new poppler versions, but
I don't know why. (poppler version poppler-0.77.0 and poppler-0.62.0 is working)
REPOSITORY
R223 Okular
REVISION DETAIL
https://phabricator.kde.org/D21759
To: steffenh, #okular, ngraha
steffenh updated this revision to Diff 70747.
steffenh added a comment.
rebase
REPOSITORY
R223 Okular
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D21759?vs=60870&id=70747
BRANCH
holdZoomCenter
REVISION DETAIL
https://phabricator.kde.org/D21759
AFFECTED FILES
ui/pageview
steffenh abandoned this revision.
REPOSITORY
R223 Okular
REVISION DETAIL
https://phabricator.kde.org/D25627
To: steffenh
Cc: okular-devel, johnzh, andisa, siddharthmanthan, maguirre, fbampaloukas,
joaonetto, kezik, tfella, ngraham, darcyshen, aacid
steffenh created this revision.
Herald added a project: Okular.
Herald added a subscriber: okular-devel.
steffenh requested review of this revision.
REVISION SUMMARY
remove unused variable
remove qDebug and unused code
correct some code style
hold zoom center middle mouse click an
steffenh updated this revision to Diff 60870.
steffenh edited the summary of this revision.
steffenh added a comment.
- lock mouse cursor for middle mouse button zooming
- adjust for disappear and appear of scrollbars
- try to recenter if zoom center moving below the mouse cursor
REPOSITOR
steffenh updated this revision to Diff 60400.
steffenh added a comment.
fix typos and make centerBegin and centerEnd const
REPOSITORY
R223 Okular
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D21759?vs=59730&id=60400
BRANCH
holdZoomCenter
REVISION DETAIL
https://phabricator.
steffenh added a comment.
Hi @aacid,
thanks for testing,
> Also it doesn't work? or not how i would expect it?
>
> I'm doing ctrl+wheel zoom here with the mouse over the a and ends up being
over the p.
>
> I was expecting it to end up being over the a too?
to begin the wi
steffenh updated this revision to Diff 59730.
steffenh added a comment.
Use initial cursor position for middle-button-drag zooming
rework the calculation for newScroll, because d->zoomFactor don't hold the
exact zoom factor.
REPOSITORY
R223 Okular
CHANGES SINCE LAST UPDATE
https://p
steffenh created this revision.
steffenh added a reviewer: Okular.
Herald added a project: Okular.
Herald added a subscriber: okular-devel.
steffenh requested review of this revision.
REVISION SUMMARY
This patch hold (if possibly) the zoom center below the mouse position (zoom
with Ctrl + Mouse