Address bar text can get overwritten if page loads whilst editing

Bug #1373918 reported by Michael Sheldon
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Medium
Olivier Tilloy
webbrowser-app
Fix Released
High
Olivier Tilloy
webbrowser-app (Ubuntu)
Fix Released
High
Olivier Tilloy
webbrowser-app (Ubuntu RTM)
Fix Released
High
Olivier Tilloy

Bug Description

Steps to reproduce

1. Start loading a new page

2. Whilst loading edit the address bar, replacing the text with something new

3. Wait for original page to finish loading

Expected result

Text the user entered should be preserved

Actual result

When the page starts to load the address bar text gets replaced with the new URL.

This is easiest to see on slow connections as the change happens early in the loading process.

I suspect this could be fixed by checking that addressbar.state isn't "editing" in AddressBar's onActualUrlChanged handler.

Related branches

Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: New → Confirmed
Changed in webbrowser-app:
assignee: nobody → Michael Sheldon (michael-sheldon)
Revision history for this message
Bill Filler (bfiller) wrote :

this is quite annoying, happens to me all the time.

Changed in webbrowser-app:
importance: Undecided → High
Changed in webbrowser-app (Ubuntu):
importance: Undecided → High
Changed in webbrowser-app (Ubuntu RTM):
importance: Undecided → High
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
milestone: none → ww05-2015
importance: Undecided → Medium
Changed in canonical-devices-system-image:
status: New → Confirmed
Olivier Tilloy (osomon)
Changed in webbrowser-app:
assignee: Michael Sheldon (michael-sheldon) → Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu RTM):
status: New → Confirmed
Changed in webbrowser-app (Ubuntu):
status: New → Confirmed
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: Confirmed → In Progress
Changed in webbrowser-app (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu RTM):
assignee: nobody → Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+15.04.20150123-0ubuntu1

---------------
webbrowser-app (0.23+15.04.20150123-0ubuntu1) vivid; urgency=low

  [ Michael Sheldon ]
  * Keep data URIs in their original form when retrieving image URLs
    (LP: #1413964)

  [ Olivier Tilloy ]
  * Update translation template.
  * Do not ever change the contents of the address bar or remove focus
    from it while the user is editing it. (LP: #1373918)
 -- Ubuntu daily release <email address hidden> Fri, 23 Jan 2015 14:32:25 +0000

Changed in webbrowser-app (Ubuntu):
status: In Progress → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: In Progress → Fix Released
Changed in webbrowser-app (Ubuntu RTM):
status: Confirmed → In Progress
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
assignee: nobody → Olivier Tilloy (osomon)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+15.04.20150123~rtm-0ubuntu1

---------------
webbrowser-app (0.23+15.04.20150123~rtm-0ubuntu1) 14.09; urgency=low

  [ Michael Sheldon ]
  * Keep data URIs in their original form when retrieving image URLs
    (LP: #1413964)

  [ Olivier Tilloy ]
  * Do not ever change the contents of the address bar or remove focus
    from it while the user is editing it. (LP: #1373918)
 -- Ubuntu daily release <email address hidden> Fri, 23 Jan 2015 17:04:06 +0000

Changed in webbrowser-app (Ubuntu RTM):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.