Add a keyboard shortcut for "undo tab close"

Bug #1499767 reported by Michael Terry
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Wishlist
Bill Filler
webbrowser-app (Ubuntu)
Fix Released
Wishlist
Ugo Riboni

Bug Description

It is very useful to be able to undo an accidentally-closed tab. Either because of a missed mouse click on the tab bar, accidentally hitting ctrl+w instead of ctrl+a (or whatever), or just simply being dumb.

Chromium and Firefox both use Shift+Ctrl+T for this.

Related branches

Revision history for this message
Olivier Tilloy (osomon) wrote :

Agreed, that would be a very useful addition.

Changed in webbrowser-app (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Michael Terry (mterry) wrote :

Without considering what competitors do, Shift+Ctrl+W would seem to make more sense than Shift+Ctrl+T. (Though we also have Ctrl+F4, so maybe also Shift+Ctrl+F4.)

Bill Filler (bfiller)
Changed in canonical-devices-system-image:
milestone: none → backlog
assignee: nobody → Bill Filler (bfiller)
Changed in webbrowser-app (Ubuntu):
assignee: nobody → Ugo Riboni (uriboni)
Changed in canonical-devices-system-image:
importance: Undecided → Wishlist
status: New → Triaged
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Michael Terry (mterry) wrote :

The linked branch looks like it implements a very bare bones version of this (restores a new tab with the closed URL). Which may be a good first cut. But note that our competitors (at least Firefox & Chrome) restore full state:

1) Position of tab relative to other tabs
2) Forward/back history of tab
3) State of form data and such in that tab

Bill Filler (bfiller)
Changed in canonical-devices-system-image:
milestone: backlog → ww02-2016
status: Triaged → In Progress
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
webbrowser-app (0.23+16.04.20151111.2-0ubuntu1) xenial; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.
  * Resync trunk.

  [ Olivier Tilloy ]
  * Add missing unit test cleanup.
  * Ship empty apparmor hardware profile directories to avoid adding a
    runtime dependency on apparmor-easyprof-ubuntu. (LP: #1511439)

  [ Ugo Riboni ]
  * Add keyboard shortcuts to undo closing tabs (Ctrl+Shift+T and
    Ctrl+Shift+W). (LP: #1499767)
  * Create the webview in a safer way, by keeping the incubator around
    and monitoring the progress, and by using sync creation if there is
    a pending request. (LP: #1514701)
  * Hide webviews created via onNewViewRequested until the tab they
    belong to becomes current. (LP: #1464436)
  * Use lowercase letters for keyboard shortcut invokation in autopilot
    tests.

 -- Olivier Tilloy <email address hidden> Wed, 11 Nov 2015 16:04:11 +0000

Changed in webbrowser-app (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Changed in canonical-devices-system-image:
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

Remote bug watches

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