Closed Bug 235397 Opened 21 years ago Closed 21 years ago

Esc key closes view-source window

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bugzilla.mozilla.org-3, Assigned: bugzilla)

Details

Attachments

(1 file)

Steps to reproduce: 1. Open view-source window 2. Hit the Esc key Actual results: View-source window closed Expected results: Nothing should happen, because view-source is a window, not a dialog. Closing windows with Esc is non-standard on Windows. This is particularly annoying when using find-as-you-type, because Esc is used to cancel a search: 1. Open view-source window 2. Search for the text "foo" by typing "/foo" 3. Now you change your mind, you want to search for bar instead, so you hit Esc. Expected result: Your search should be cancelled and nothing else. Expected result: The view-source window is closed. I am using Firefox 0.8 for Windows.
I don't think this bug applies to the Suite.
Shouldnt the product be set to Firefox?
WFM 2004021900/trunk SeaMonkey/W2K -> Firefox
Assignee: doronr → firefox
Component: ViewSource → General
Product: Browser → Firefox
Version: Trunk → unspecified
Comment on attachment 142118 [details] [diff] [review] Trivial patch to Firefox IE doesn't behave this way, so I assume this should get fixed in firewhatever. r=doron
Attachment #142118 - Flags: review+
I like being able to close View Source with Esc. The real problem is bug 233155, FAYT not eating the Esc.
When Firefox supports reloading of the page in View Source as Mozilla 1.7a does (Firefox doesn't yet support this, right?), I think Esc should be used to stop the load like it does in a regular browser window.
Ben fixed this today.
It checked that bug had fixed. Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7b) Gecko/20040304 Firefox/0.8.0+
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
I have reproduced this bug with Firefox Nightly 0.8.0+ on Windows 7(64-bit). Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.7b) Gecko/20040224 Firefox/0.8.0+ Verified as fixed with Latest Firefox Nightly 46.0a1 (Build ID : 20160114030246) Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0 [bugday-20160113]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: