Closed Bug 229199 Opened 21 years ago Closed 21 years ago

CTRL+L behavior broken in FB (not Moz 1.5)

Categories

(Firefox :: Menus, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: jitools, Assigned: bugzilla)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031218 Firebird/0.7+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031218 Firebird/0.7+ When the Navigation toolbar is hidden and you press Ctrl+L, the old style location window pops up(the one that looks like Ctrl+****+L in Mozilla). typing an address and hitting <enter> opens a new window (in modal mode, so you cant go back to the prev window without closing this one) but does not load the page. The previous window still has the "open location" dialog. Reproducible: Always Steps to Reproduce: 1. Hide Navigation toolbar(right click, uncheck nav toolbar) 2. Press Ctrl+L to bring up "open location" dialog box. 3. Enter a url and press <enter> Actual Results: FB opens a new window in Modal mode. It does not load the requested URl. The original window is still there in the background with the open location dialog still open. This happens weather you chose to open in a new window/this window or new tab from the drop down in the open location dialog box. Expected Results: opened the new url in the appropriate window/tab and hidden the open location dialog. This problem does not exist in mozilla 1.5 Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007. I have not checked newer Mozilla builds.
Same on XP, build 20031218.
Severity: normal → major
Confirming bug on W2K with 2004-01-09 trunk build
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 234874 has been marked as a duplicate of this bug. ***
This is caused by an orphaned "else {" in onChooseFile() in openLocation.js (the xpfe version has an if statement checking for composer, presumably when that was removed somebody overlooked removing the equivalent else statement). http://lxr.mozilla.org/mozilla/source/browser/base/content/openLocation.js#120
Trivial patch to fix this problem as described in Comment 4 (note removing the URL bar causes an error during loading in the latest nightlies due to the checkin from Bug 176675).
Attachment #141743 - Flags: review?(firefox)
Fixed; good catch!
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Attachment #141743 - Flags: review?(firefox) → review+
*** Bug 235126 has been marked as a duplicate of this bug. ***
QA Contact: bugzilla → menus
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: