Closed Bug 149998 Opened 22 years ago Closed 22 years ago

Option-navigating in URL Bar doesn't work properly

Categories

(SeaMonkey :: Location Bar, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: brian, Assigned: hewitt)

References

Details

Typing Option-forwardarrow, Option-backarrow, Option-Delete, and Option-Del
don't work properly in the location bar text.

Option-forwardarrow should move the cursor to just after the next set of
letters/numbers beyond it.  Right now, it properly moves forward unless there's
punctuation right in front of the cursor, in which case it doesn't do anything.

Option-backarrow should move the cursor to just before the closest set of
letters/numbers before it.  Right now, it moves the cursor to the very start of
the location field.

Option-Delete should delete from the cursor back to the start of the closest set
of letters/numbers before it.  Right now, it deletes from the cursor to the
beginning of the line.

Option-Del should delete from the cursor to the end of the next set of
letters/numbers after it.  Right now, it has no effect.

This is hard to explain in words, but easy to reproduce.  Compare Mozilla's
behavior to that of OmniWeb, which handles location bar text the same way as
other Mac OS X applications handle text.
Brian, what Build ID are you reporting this against? Also, it would be helpful to find the relevant 
documentation at Apple's site about this.
Summary: Option-navigating in location bar doesn't work properly → Option-navigating in URL Bar doesn't work properly
Note that Option-RightArrow is covered by bug 127321.
This behavior occurs in the Mozilla 1.0 release as well in the nightly 2002-06-07-08-trunk build (id 2002060708).

Documentation on the proper behavior of Option when used with arrow keys, Delete, and Del (aka Forward Delete) can be found in "Inside Mac OS X: Aqua Human Interface Guidelines", which is installed as part of the Mac OS X Developer Tools.  It should be on your hard drive as "/Developer/Documentation/SystemOverview/AquaHIGuidelines/AquaHIGuidelines.pdf".

Page 129: "A recommended shortcut for text applications is Command-Delete to delete the previous word, and Command–Forward Delete, to delete the next word."  (This documentation seems to no longer be entirely correct; using the Option-keypresses in Mac OS X does what this paragraph says the Command-keypresses do, and the Command-keypresses in Mac OS X do nothing.  Verify with TextEdit.)

Page 133 explains what the Option modifier should do with arrow keypresses.

OSX trunk 20030102, option-rightarrow works correctly, but option-leftarrow
jumps to the start of the URL bar (just like command-leftarrow). option-delete
also behaves in the non-Mac way.
Verified that in trunk build 2003010208, option-rightarrow now works correctly,
but option-leftarrow, option-Delete, and option-Del all still work incorrectly
as described in my initial comment. (Apologies for having referred to rightarrow
and leftarrow as 'forwardarrow' and 'backarrow'.)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Isn't this a dupe of bug 98546? That one is now fixed, so you can check with a
current build if the problem still exists.
Tested build 2003012213.  Option-leftarrow and option-rightarrow and option-delete all work properly now, but option-del (forward delete) still has no effect.
20030122 was the last CFM build. Currently using 20030204 Mach-O,
option-leftarrow goes to start of the URL bar.
*** Bug 170803 has been marked as a duplicate of this bug. ***
Brian, since only option+forwardDelete remains to be fixed, please file a new
bug specifically about that.

Resolving this one WFM.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.