Closed
Bug 102831
Opened 24 years ago
Closed 21 years ago
if focus is the url bar, ctrl-f4 does not close the topmost tab
Categories
(SeaMonkey :: Tabbed Browser, defect)
SeaMonkey
Tabbed Browser
Tracking
(Not tracked)
VERIFIED
FIXED
seamonkey2.0a1
People
(Reporter: joschi, Assigned: csthomas)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(1 file, 2 obsolete files)
|
3.22 KB,
patch
|
timeless
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
1. ctrl-t to create a new tab
2. click in the url bar
3. press ctrl-f4 and the tab will not close
Comment 1•24 years ago
|
||
->andreww, without whom this would fall off our schedule.
Assignee: hyatt → andreww
Comment 2•24 years ago
|
||
*** Bug 110910 has been marked as a duplicate of this bug. ***
note to self - ctrl(cmd) w and t are defined globally in navigator.xul whilst
ctrl f4 is in the binding. Move that out to exist at same location as T and W
Comment 6•24 years ago
|
||
I would rather that this just be handled automatically by tabbrowser. Perhaps
the Ctrl-F4 keyhandler in tabbrowser should be a capturing handler
Updated•24 years ago
|
Target Milestone: mozilla1.0 → Future
Comment 7•24 years ago
|
||
Why does Ctrl+W work but not Ctrl+F4?
Comment 8•24 years ago
|
||
*** Bug 139846 has been marked as a duplicate of this bug. ***
Comment 9•24 years ago
|
||
Seeing this on 20020421 Linux. Btw: under unices ctrl-w is already taken for
deleting words when inside text fields so this shortcut will not close a tab
from the location bar.
OS+Platform -> All
OS: Windows 2000 → All
Hardware: PC → All
Comment 10•24 years ago
|
||
*** Bug 145998 has been marked as a duplicate of this bug. ***
Comment 11•24 years ago
|
||
I filed this as 139846, but it appears to be the same problem, with a slightly
different trigger. I was requested to add my description with the alternate way
of getting into this state:
If a tab is opened but the URL points to a file that just gets a 'save as'
dialog, the tab opens to 'about:blank'. If you attempt to close that tab with
ctrl-f4, it won't close. You can close it by clicking the <X> (close tab) button.
If you just open 'about:blank' in a new tab, you can close it normally.
Reproducible: Always
Steps to Reproduce:
1. Open a page with a downloadable .exe file (e.g., go to
http://download.com.com/3002-2098-911823.html?tag=dir )
2. Right-click on the link (www.microsoft.com for the above)
3. Choose 'open in new tab'
4. Observe new tab opens ("Untitled")
5. When "Save as" dialog appears, just click 'cancel'
6. Observe that the new tab remains open
7. Click on the tab (to bring it to the front if you have tabs opening in the
background)
8. Press Ctrl-F4 to close the tab (tab remains open)
9. Click the <X> button to close the tab (tab closes)
Expected Results: Ideally, if a new tab (or new window) just results in a file
to save, instead of sticking around with about:blank displayed, the new
tab/window should close automatically...
Second best would be to make ctrl-f4 work correctly.
Additional note:
After getting a tab in this state, if I click to select the tab, then click in
the "content" frame, I can then close the tab with ctrl-f4.
Comment 12•24 years ago
|
||
See also bug 114170, ctrl+pgup/pgdn (to switch tabs) doesn't work with focus in
url bar.
Comment 14•23 years ago
|
||
*** Bug 170362 has been marked as a duplicate of this bug. ***
Comment 16•23 years ago
|
||
Still a problem as of build 2003021008 (1.3b).
Dan
Comment 17•22 years ago
|
||
*** Bug 232708 has been marked as a duplicate of this bug. ***
Comment 18•21 years ago
|
||
*** Bug 251600 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 19•21 years ago
|
||
Blake fixed bug 232708 for firefox only - his checkin is here:
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/toolkit/content/widgets&command=DIFF_FRAMESET&file=tabbrowser.xml&rev1=1.36.6.12&rev2=1.36.6.13&root=/cvsroot
(I could not find a patch in Bugzilla). Presumably something similar would
apply to Seamonkey.
I'm cc'ing bz because of the differences between
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/xpfe/global/resources/content/bindings/tabbox.xml#158
and
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/content/widgets/tabbox.xml#158
Assignee: andreww → cst
Status: ASSIGNED → NEW
Priority: P2 → --
| Assignee | ||
Updated•21 years ago
|
Attachment #67183 -
Attachment is obsolete: true
Comment 20•21 years ago
|
||
Ctho, could you possibly merge the bindings so there are no differences? May as
well start converting to toolkit, and here is as good a place as any.
Comment 21•21 years ago
|
||
I should note... tabbox.xml in firefox misses the ability to show a "New Tab" button
| Assignee | ||
Comment 22•21 years ago
|
||
(In reply to comment #20)
> Ctho, could you possibly merge the bindings so there are no differences? May as
> well start converting to toolkit, and here is as good a place as any.
That's actually why I'm working on this - I was diffing the various tab files
and found the fixed Firefox bug.
(In reply to comment #21)
> I should note... tabbox.xml in firefox misses the ability to show a "New Tab"
button
Yeah, that's the next thing I'll have to figure out. After this bug is fixed,
that will be the only difference between the tabbox.xml files.
Status: NEW → ASSIGNED
Whiteboard: [cst: active]
Target Milestone: Future → mozilla1.9alpha
| Assignee | ||
Comment 23•21 years ago
|
||
Blake, in your checkin for bug 232708, you changed the event listener from
non-capturing to capturing. Is there a reason for that change? The checkin is
here:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=AviaryBranchTinderbox&branch=AVIARY_1_0_20040515_BRANCH&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2004-07-26+20%3A00&maxdate=2004-07-26+20%3A25&cvsroot=%2Fcvsroot
The patch seems to work even without a capturing event listener.
| Assignee | ||
Comment 24•21 years ago
|
||
Firefox works without a capturing event listener... I've attached a patch to
change firefox in bug 282178.
Attachment #175498 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #175498 -
Flags: review?(timeless)
Comment 25•21 years ago
|
||
Comment on attachment 175498 [details] [diff] [review]
patch
Patch is malformed. Also the added code in the destructor does not belong in a
loop.
Attachment #175498 -
Flags: superreview?(neil.parkwaycc.co.uk) → superreview-
| Assignee | ||
Updated•21 years ago
|
Attachment #175498 -
Flags: review?(timeless) → review?
| Assignee | ||
Updated•21 years ago
|
Attachment #175498 -
Flags: review?
| Assignee | ||
Comment 26•21 years ago
|
||
Sorry, I don't know what I did to the other patch.
Attachment #175498 -
Attachment is obsolete: true
Attachment #175604 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #175604 -
Flags: review?(timeless)
Comment 27•21 years ago
|
||
Comment on attachment 175604 [details] [diff] [review]
fixed patch
Although I wonder if Ctrl+F4 would be better served as a <key> in
navigatorOverlay.xul
Attachment #175604 -
Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Comment 28•21 years ago
|
||
Comment on attachment 175604 [details] [diff] [review]
fixed patch
please file a bug to remove this from the mac target
Attachment #175604 -
Flags: review?(timeless) → review+
| Assignee | ||
Updated•21 years ago
|
QA Contact: firefox → stephend
Whiteboard: [cst: active] → checkin
| Assignee | ||
Comment 29•21 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Whiteboard: checkin
Verified FIXED for me using build 2005-04-05-06 on Windows XP Seamonkey trunk.
Status: RESOLVED → VERIFIED
Updated•17 years ago
|
Product: Core → SeaMonkey
Updated•17 years ago
|
Target Milestone: mozilla1.9alpha1 → seamonkey2.0a1
You need to log in
before you can comment on or make changes to this bug.
Description
•