Closed
Bug 97123
Opened 24 years ago
Closed 23 years ago
modifier+Enter in address field and go button should behave like modifier+click on link
Categories
(SeaMonkey :: Location Bar, enhancement, P1)
SeaMonkey
Location Bar
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.2alpha
People
(Reporter: mpt, Assigned: Biesinger)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 4 obsolete files)
5.03 KB,
patch
|
Brade
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
932 bytes,
patch
|
Biesinger
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
To reproduce:
1. Enter an URL in Navigator's address field.
2. Type Command+Enter (Mac) or Control+Enter (others).
3. Focus the address field again, and type Shift+Command+Enter (Mac) or
Shift+Control+Enter (others).
4. Focus the address field again, and type Option+Enter (Mac) or Alt+Enter
(others).
5. Focus the address field again, and type Shift+Option+Enter (Mac) or
Shift+Alt+Enter (others).
What should happen:
2. The URL in the address field opens in a new window in front of the current
window.
3. The URL in the address field opens in a new window behind the current
window (see bug 56690).
4. A filepicker opens for specifying where to save the resource pointed to by
the URL in the address field.
5. The resource pointed to by the URL in the address field is saved to the
most-recently-downloaded-to folder.
What actually happens:
2. The URL is opened in the current window.
3. The URL is opened in the current window.
4. The URL is opened in the current window.
5. The URL is opened in the current window.
Reporter | ||
Comment 1•24 years ago
|
||
Oh, so we have an --> `URL Bar' component. Never noticed that before.
Assignee: blakeross → alecf
Component: XP Apps: GUI Features → URL Bar
QA Contact: sairuh → claudius
Comment 3•24 years ago
|
||
Would the URL bar for the first window be reset after I hit Ctrl+enter? I
think it should be, so that when I return to the first window, I don't get
confused about what it's displaying.
Is there a bug for "Alt+Shift+clicking a link should download to most recent
download location"? When I Alt+Shift+click a link, half of the page becomes
selected and I get a file picker.
![]() |
||
Comment 4•24 years ago
|
||
Shouldn't this also be for modifier+go button?
Reporter | ||
Comment 5•24 years ago
|
||
> Would the URL bar for the first window be reset after I hit Ctrl+enter?
Yes it would.
> Shouldn't this also be for modifier+go button?
Yes it should. Blake, do you want a separate bug for that?
I see an option to open in new tab is not yet included.
This looks like a whole lot of modifiers!
Would it not be usefull to have a go button that can be asigned two user
definable options, one for left click one for right click.
That way you dont have to remember modifiers.
So I can set up my go button to open in new window if I left click or in new tab
if I right click
And others can set their buttons to do what they want.
![]() |
||
Comment 7•24 years ago
|
||
Joe was dying to have these bugs. Who am I to say no?
Assignee: blakeross → hewitt
![]() |
||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P4
Target Milestone: --- → Future
I don't know about a modifier key for the go button, but as for prefs for I give
it a solid nay. We're drowning in prefs as it is and anything that would modify
the left click on the go button would be highly suspect usability-wise.
My suggestion for the go button, and perhaps this should be another bug, would
be that:
- Left clicking gives standard behavior - "Go to the URL"
- Middle clicking opens the URL in a new window - like middle clicking a link.
(I only have windows, don't know about alternate OS modifiers)
- Right clicking provides a context menu:
Open in New Window
Open in New Tab
Save As...
Adding other items could be debated, but I think this would be sensible behavior.
Also if the URL is not new, but represents the current page, the middle and
right click could still apply to the current page.
![]() |
||
Comment 9•23 years ago
|
||
*** Bug 140806 has been marked as a duplicate of this bug. ***
![]() |
||
Updated•23 years ago
|
Summary: modifier+Enter in address field should behave like modifier+click on link → modifier+Enter in address field and go button should behave like modifier+click on link
Updated•23 years ago
|
Blocks: link-modifiers
Reporter | ||
Comment 10•23 years ago
|
||
*** Bug 123414 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 11•23 years ago
|
||
Taking bug, I have a patch
Assignee | ||
Comment 12•23 years ago
|
||
really taking this time
Assignee: hewitt → cbiesinger
Status: ASSIGNED → NEW
Assignee | ||
Comment 13•23 years ago
|
||
/me just spotted comment 5 and figures that the patch is not ready yet
removing dependency since that bug has been marked as dup of this one :)
Mark, please file a seperate bug for that, unless already filed.
No longer depends on: 123414
Assignee | ||
Comment 14•23 years ago
|
||
Assignee | ||
Comment 15•23 years ago
|
||
now also works when clicking the go button + pressing a modifier
Attachment #86594 -
Attachment is obsolete: true
Assignee | ||
Comment 16•23 years ago
|
||
do the right thing on macs too (ie. use Option (Alt) to save the file)
Ah yeah, one more thing, note that none of these three allow you to open a new
window in the background. I'll file a seperate bug for this.
Attachment #86597 -
Attachment is obsolete: true
![]() |
||
Comment 17•23 years ago
|
||
Adding Aaron Leventhal for accessibility comments. Aaron, does this
conflict in any way with anything via accessibility ?
Comment 18•23 years ago
|
||
No, I think this would be great.
Open in new tab or window would be very useful from there.
Personally, I think Search would be more useful from there than "save link as".
Assignee | ||
Comment 19•23 years ago
|
||
aaronl, well, this bug is for making modifier+enter behave the same as
modifier+click on link, so that would be contrary to this bug's intention.
Also, I think that would be pretty unexpected for users. And there's always the
"search" entry in the dropdown, easily reachable with up arrow+enter.
Shift+Enter makes it possible to paste a link into the location bar and easily
save it.
Assignee | ||
Updated•23 years ago
|
Priority: P4 → P1
![]() |
||
Comment 20•23 years ago
|
||
I'll test it today
Assignee | ||
Updated•23 years ago
|
Target Milestone: Future → mozilla1.1beta
![]() |
||
Comment 21•23 years ago
|
||
tested this on mac trunk from a few days ago. items 2 and 3 do not work
(tried both the "return" key and the "enter" key) 4 and 5 did work.
Assignee | ||
Comment 22•23 years ago
|
||
ok, command==meta on mac...
AndrewW, could you try again with this patch please?
Attachment #86601 -
Attachment is obsolete: true
Assignee | ||
Comment 23•23 years ago
|
||
add some comments, don't reuse saveModifier for a different purpose, add small
fix for another problem
Attachment #90207 -
Attachment is obsolete: true
Assignee | ||
Comment 24•23 years ago
|
||
I didn't intend to comment this line out:
+ //newWin.blur();
for r=/sr= treat it as not commented out :)
![]() |
||
Comment 25•23 years ago
|
||
I applied the most recent patch to an OS X mach-o tree that is otherwise exactly
as the 1.1b release, and tested the result. All worked as specified in the
(desired behavior section of the) initial comment except
(3) the new window opened in _front_, just as with (2); and
(5) a file-save-picker popped up, exactly as in (4)
Comment 26•23 years ago
|
||
Comment on attachment 92392 [details] [diff] [review]
patch v5
r=brade
thanks for adding the comments; I'd be even happier with more but what's there
is fine
Attachment #92392 -
Flags: review+
![]() |
||
Comment 27•23 years ago
|
||
Comment on attachment 92392 [details] [diff] [review]
patch v5
sr=alecf
Attachment #92392 -
Flags: superreview+
Assignee | ||
Comment 29•23 years ago
|
||
fixed
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
![]() |
||
Comment 30•23 years ago
|
||
See also:
Bug 162193, "Ctrl+Enter in URL bar should load URL in a new window"
Bug 162189, "Ctrl+Enter in URL bar ignores "Load links in the background" pref".
Assignee | ||
Comment 31•23 years ago
|
||
*** Bug 162193 has been marked as a duplicate of this bug. ***
![]() |
||
Comment 32•23 years ago
|
||
This broke the following action in today's trunk win32 build (possibly others):
1) have some url's in your urlbar history
2) open the urlbar history popup
3) click on one of the url's in the popup
Actual: nothing happens
Expected: browser loads url
There is a JS error about invalid something or other for 'in' operator. (Sorry,
I can't see it offhand in the commercial build). Although I don't really get
how it even reached that point in the code, given the preceding check for true.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
![]() |
||
Comment 33•23 years ago
|
||
Assignee | ||
Comment 34•23 years ago
|
||
Comment on attachment 95021 [details] [diff] [review]
patch: group the or clause
er, oops. that's what I really meant... sorry...
r=biesi
Attachment #95021 -
Flags: review+
![]() |
||
Comment 35•23 years ago
|
||
Comment on attachment 95021 [details] [diff] [review]
patch: group the or clause
sr=bzbarsky
Attachment #95021 -
Flags: superreview+
Assignee | ||
Comment 36•23 years ago
|
||
checked in regression fix
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 37•23 years ago
|
||
*** Bug 162628 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 38•23 years ago
|
||
*** Bug 176672 has been marked as a duplicate of this bug. ***
Updated•17 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•