Closed
Bug 357235
Opened 18 years ago
Closed 17 years ago
The "undo close tab" keyboard shortcut should be more discoverable
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
FIXED
Firefox 3 beta1
People
(Reporter: dietrich, Assigned: ventnor.bugzilla)
Details
(Whiteboard: PRD:TAB-003d)
Attachments
(1 file, 3 obsolete files)
1.53 KB,
patch
|
mconnor
:
approval1.9+
|
Details | Diff | Splinter Review |
Adding the shortcut to the first entry in the Recently Closed Tabs menu is a possible solution (via https://bugzilla.mozilla.org/show_bug.cgi?id=345568#c1).
Assignee | ||
Comment 1•18 years ago
|
||
This patch does exactly that.
Attachment #242744 -
Flags: review?(dietrich)
Comment 2•18 years ago
|
||
(In reply to comment #1) > Created an attachment (id=242744) [edit] > - var m = undoPopup.appendChild(document.createElement("menuitem")); > + var m = document.createElement("menuitem"); What's wrong with adding the menuitem right after creation? > + undoPopup.appendChild(m); Please watch your tabs. Does this work correctly for you? I thought that we had already tried this but it failed for whatever reason...
Assignee | ||
Comment 3•18 years ago
|
||
Comment on attachment 242744 [details] [diff] [review] Patch (In reply to comment #2) > (In reply to comment #1) > > Created an attachment (id=242744) [edit] > > > - var m = undoPopup.appendChild(document.createElement("menuitem")); > > + var m = document.createElement("menuitem"); > > What's wrong with adding the menuitem right after creation? > > > + undoPopup.appendChild(m); > > Please watch your tabs. > > Does this work correctly for you? I thought that we had already tried this but > it failed for whatever reason... > Nope. My testing showed that the key attribute could not be changed after the menu item was appended. However, by separating the two functions, it still works correctly and the key attribute could still be applied.
Attachment #242744 -
Flags: review?(dietrich) → review?(zeniko)
Assignee | ||
Comment 4•18 years ago
|
||
Crap, I hate it how Notepad++ fills in tabs for you. Anyone know how to change it?
Attachment #242744 -
Attachment is obsolete: true
Attachment #242805 -
Flags: review?(zeniko)
Attachment #242744 -
Flags: review?(zeniko)
Comment 5•18 years ago
|
||
Comment on attachment 242805 [details] [diff] [review] Patch w/o tabs Works as expected. It does however look slightly strange when there's hardly any space between the most recently closed tab's title and Ctrl+Shift+T -- which happens when only one tabs has been closed or when it's got the longest title from the list. Might still be worth taking though (at least for further evaluation on Trunk).
Attachment #242805 -
Flags: review?(zeniko)
Attachment #242805 -
Flags: review?(mano)
Attachment #242805 -
Flags: review+
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → ventnor.bugzilla
Status: ASSIGNED → NEW
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•18 years ago
|
||
There have been changes to the section which affects this patch (read: I broke my own patch with bug 344140). Updated the patch.
Attachment #242805 -
Attachment is obsolete: true
Attachment #243303 -
Flags: review?(mano)
Attachment #242805 -
Flags: review?(mano)
Comment 7•18 years ago
|
||
Comment on attachment 243303 [details] [diff] [review] Patch v2 r=mano code-wise.
Attachment #243303 -
Flags: ui-review?(beltzner)
Attachment #243303 -
Flags: review?(mano)
Attachment #243303 -
Flags: review+
Updated•17 years ago
|
Whiteboard: [needs ui-review beltzner]
Comment 8•17 years ago
|
||
Comment on attachment 243303 [details] [diff] [review] Patch v2 Let's try this for now. It might look awkward, but I'm not sure the other alternative (adding an "Open last closed tab" command to the History menu beneath the "Recently Closed Tabs" submenu) is any less awkward :)
Attachment #243303 -
Flags: ui-review?(beltzner) → ui-review+
Assignee | ||
Comment 9•17 years ago
|
||
Wow, its been almost a year since the last patch.
Attachment #243303 -
Attachment is obsolete: true
Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Whiteboard: [needs ui-review beltzner]
Comment 10•17 years ago
|
||
Comment on attachment 281569 [details] [diff] [review] For checkin This has been sitting around too long. It's a simple, obvious fix, and we should get it in. Requesting approval to land this for M9. If approved, I'll check it in and then take responsibility for dealing with regressions.
Attachment #281569 -
Flags: approval1.9?
Comment 11•17 years ago
|
||
Please re-request checkin-needed once approval1.9 has been granted.
Keywords: checkin-needed
Updated•17 years ago
|
Attachment #281569 -
Flags: approval1.9? → approval1.9+
Comment 12•17 years ago
|
||
Checking in browser/base/content/browser.js; /cvsroot/mozilla/browser/base/content/browser.js,v <-- browser.js new revision: 1.845; previous revision: 1.844 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
OS: Mac OS X → All
Hardware: PC → All
Whiteboard: PRD:TAB-003d
Target Milestone: --- → Firefox 3 M9
You need to log in
before you can comment on or make changes to this bug.
Description
•