Summary: | Unreachable code in okular/ui/pageview.cpp (related to drag scroll) | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Denis Pesotsky <denis> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | denis |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Denis Pesotsky
2011-01-31 21:15:49 UTC
it is richable if we move mouse quickly, but it doesn't do anything good if we reach it. Can you explain why "it doesn't do anything good if we reach it."? If mouse moves very fast (more that half of screen between 2 event loops), we reach this code and it fucks up delta. So document is dragged less than mouse actually moved. Sorry for bad English. You are reading the code wrong. if ( absDelta.y() > mouseContainer.height() / 2 ) happens not when you move the mouse very fast but when cursor wraps from the top to the bottom of the screen as the comment says. Anyway if you wish to continue discussing this please subscribe to okular-devel mailing list and post there. |