selection rectangle incorrect when zoom factor ≠ 1 and viewport scrolled

Bug #1131160 reported by Olivier Tilloy
6
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://ubuntu.com
 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

Ugo Riboni (uriboni)
Changed in manhattan:
status: New → Confirmed
information type: Proprietary → Public
affects: manhattan → webbrowser-app
Olivier Tilloy (osomon)
summary: - [browser] selection rectangle incorrect when zoom factor ≠ 1
+ selection rectangle incorrect when zoom factor ≠ 1
Revision history for this message
Olivier Tilloy (osomon) wrote : Re: selection rectangle incorrect when zoom factor ≠ 1

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)

summary: - selection rectangle incorrect when zoom factor ≠ 1
+ selection rectangle incorrect when zoom factor ≠ 1 and viewport scrolled
Changed in webbrowser-app:
status: Confirmed → In Progress
Bill Filler (bfiller)
Changed in webbrowser-app (Ubuntu):
status: New → In Progress
Changed in webbrowser-app:
importance: Undecided → Medium
Changed in webbrowser-app (Ubuntu):
importance: Undecided → Medium
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:webbrowser-app at revision 327, scheduled for release in webbrowser-app, milestone ubuntu-13.04-month-5

Changed in webbrowser-app:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.22+13.10.20130924.1-0ubuntu1

---------------
webbrowser-app (0.22+13.10.20130924.1-0ubuntu1) saucy; urgency=low

  [ Ted Gould ]
  * Adding single instance marker to the desktop file.

  [ daker ]
  * Added support for Alert dialogs. (LP: #1169757)
  * Added support for HTTP/Proxy auth. (LP: #1212980)
  * Added certificateVerificationDialog component. (LP: #1227055)

  [ Adnane Belmadiaf ]
  * Added support for HTTP/Proxy auth. (LP: #1212980)
  * Added certificateVerificationDialog component. (LP: #1227055)

  [ Olivier Tilloy ]
  * Generate translation templates only for files under src/app/. Files
    under src/Ubuntu/… are the UbuntuWebView component, and they
    shouldn’t have any translatable strings.
  * Fix the selection rectangle size and position when zoomed and
    scrolled. (LP: #1131160)
  * Added support for HTTP/Proxy auth. (LP: #1212980)
  * Ensure the chrome is hidden when the permission request dialog is
    shown. (LP: #1226635)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 331
 -- Ubuntu daily release <email address hidden> Tue, 24 Sep 2013 07:05:03 +0000

Changed in webbrowser-app (Ubuntu):
status: In Progress → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers