selection rectangle incorrect when zoom factor ≠ 1 and viewport scrolled
Bug #1131160 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app |
Fix Released
|
Medium
|
Olivier Tilloy | ||
webbrowser-app (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Observed with version 0.13 of ubuntu-browser.
Steps to reproduce:
1) on a nexus 10, open the browser and go to http://
2) pinch to zoom in on the page
3) long press on a text element to select it, e.g. "Tastefully tactile"
Expected result: the selection rectangle adapts to the zoom factor, and covers the selected text.
Current result: the selection rectangle ignores the zoom factor: its size and position are incorrect.
Related branches
lp:~osomon/webbrowser-app/selection-zoomed
- PS Jenkins bot: Approve (continuous-integration)
- Bill Filler (community): Approve
-
Diff: 54 lines (+11/-13)1 file modifiedsrc/Ubuntu/Components/Extras/Browser/UbuntuWebView.qml (+11/-13)
Changed in manhattan: | |
status: | New → Confirmed |
information type: | Proprietary → Public |
affects: | manhattan → webbrowser-app |
summary: |
- [browser] selection rectangle incorrect when zoom factor ≠ 1 + selection rectangle incorrect when zoom factor ≠ 1 |
Changed in webbrowser-app (Ubuntu): | |
status: | New → In Progress |
Changed in webbrowser-app: | |
importance: | Undecided → Medium |
Changed in webbrowser-app (Ubuntu): | |
importance: | Undecided → Medium |
Changed in webbrowser-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug is still valid (tested today on a Galaxy Nexus).
What I’m seeing is that the conditions for the selection rectangle to be mispositioned are the following:
- zoom factor > 1.0
- scrolled on the page (i.e. if the zoom factor is > 1.0 but the viewport is positioned at the top-left corner of the page, the selection rectangle is correctly positioned)