Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quickmozview landscape fixes #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

pvuorela
Copy link
Contributor

Fixes at least text selection with components-webview / WebView. A bit similar to earlier done browser transpose() fix, but here the portrait assumptions and coordinate flipping went a bit further.

Also cleaned up the message pump a bit, separating better what's the inherited public api and what are the local helpers, etc.

Added overrides for inherited API and lowercased + privatized the
helper methods. There seemed to be a bit confusion over these,
ScheduleWork() is a reimplemented method but wasn't declared virtual,
ScheduleWorkLocal() is a helper but was marked virtual.
This almost worked but text selection (e.g. sailfish components-webview)
was receiving wrong coordinates. Similar to QMozOpenGLWebPage before
commit f492ed4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants