Closed Bug 160008 Opened 22 years ago Closed 19 years ago

Location entry sheet dialog should support autocomplete and bookmark keywords

Categories

(Camino Graveyard :: Toolbars & Menus, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Camino0.9

People

(Reporter: sfraser_bugs, Assigned: sfraser_bugs)

References

Details

(Keywords: fixed1.8, Whiteboard: haspatch)

Attachments

(3 files, 2 obsolete files)

When you have the toolbar in text mode, doing Command-L shows a sheet dialog to
enter the url. This dialog needs to support autocomplete just like the URL bar does.
->pinkerton
Assignee: saari → pinkerton
Confirmed using Chimera/20020724.
Target Milestone: --- → Chimera0.5
Status: NEW → ASSIGNED
Target Milestone: Chimera0.5 → Chimera0.6
FYI: Changing the location sheet NSTextField to a CHAutoCompleteTextField in the
nib fixes this, but the location of the autocomplete window is, um, "unoptimal".
i played with this a little when it was a NSTextView. There were some issues
with the enter/escape keys because they mean different things to teh
autocomplete than they mean in a dialog. Not sure how to resolve that.

we should probably fix up the text field's code that positions the popup to do a
better search for its parent than assuming it's at a certain depth.
I'm gonna claim this bug (at least for a bit) if nobody has a problem with that.
 I want to try something mildly ambitious and don't want it fixed before I'm done.
Assignee: pinkerton → haasd
Status: ASSIGNED → NEW
Attached patch lots of stuff (obsolete) — Splinter Review
this patch smartens up the AutoCompleteTextField class so that when it's used
in the location sheet, you get autocomplete functions.

also, when appearing in the toolbar, it correctly indicates that it has focus
(which is what I really wanted to do and took forever to figure out).

in the course of this, i moved the proxy icon setting stuff from the
browserwindowcontroller to autocompletetextfield.

the way it works now, autocompletetextfields have to be made programmatically -
they can't be made in IB.  if this really bothers anyone, i'll make a palette.
i think that should fix things.

there may have been some other random changes. i don't remember.
Attached file browserwindow.nib.tgz
here's the zipped up browserwindow.nib.  it's somewhat important for the patch.


i hope this was everything needed . . .
Keywords: patch, review
Comment on attachment 96540 [details] [diff] [review]
lots of stuff

urk.  need to fix something here.  3 am patch submissions bad.
Attachment #96540 - Attachment is obsolete: true
Attachment #96540 - Flags: needs-work+
QA Contact: winnie → sairuh
what's the status on this? Seems like a good thing to fix
Yes why doesn't any dev seem to pickup this rather usefull patch? There are
several post her on bugzilla that contains patches on which the devs haven't
reacted yet for a while now?
*** Bug 184273 has been marked as a duplicate of this bug. ***
Summary: Location entry sheet dialog should support autocomplete → Location entry sheet dialog should support autocomplete and bookmark keywords
oh, the reason was because it dropped off everyone's radar since dave kept it
assigned to himself! :)

dave, is the nib up to date? we'd love to get this feature in.
Assignee: haasd → pinkerton
Target Milestone: Chimera0.6 → Camino0.8
*** Bug 175460 has been marked as a duplicate of this bug. ***
Whiteboard: haspatch
Dave could you please update?
Updated nib file. Just copied the locationSheet from davids nib file and pasted
in the newer browserwindo.nib
Target Milestone: Camino0.8 → Camino0.9
*** Bug 213736 has been marked as a duplicate of this bug. ***
*** Bug 244999 has been marked as a duplicate of this bug. ***
*** Bug 246440 has been marked as a duplicate of this bug. ***
Mike can you put this back on your radar, it has been sitting here all done but
not landed yet. 
Comment on attachment 96542 [details]
browserwindow.nib.tgz

asking geoff for review
Attachment #96542 - Flags: review?(me)
would like to have it, but it shouldn't block 0.9 at this point
Target Milestone: Camino0.9 → Camino1.0
Mike, Josh, can you put this back on your radar and check out/in the patch?
*** Bug 302055 has been marked as a duplicate of this bug. ***
Mike, since you removed the review request for Geoff, care to do it yourself? ;)
If everything is here and still valid, we should be able to land this.
Taking.
Assignee: pinkerton → sfraser_bugs
Target Milestone: Camino1.0 → Camino0.9
Fixed.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
This bug should be reopened; the keyword part was never fixed. 
This patch fixes bookmark keyword resolution from the location sheet.
Attachment #194966 - Flags: review?(sfraser_bugs)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
The previous patch was stupid, here is a better one (one line changed)
Attachment #194966 - Attachment is obsolete: true
Attachment #194992 - Flags: review?(sfraser_bugs)
Attachment #194966 - Flags: review?(sfraser_bugs)
Comment on attachment 194992 [details] [diff] [review]
Patch to make the location sheet resolve keywords v2

That makes more sense!
Attachment #194992 - Flags: review?(sfraser_bugs) → review+
Comment on attachment 194992 [details] [diff] [review]
Patch to make the location sheet resolve keywords v2

Requesting superreview
Attachment #194992 - Flags: superreview?(pinkerton)
Comment on attachment 194992 [details] [diff] [review]
Patch to make the location sheet resolve keywords v2

sr=pink
Attachment #194992 - Flags: superreview?(pinkerton) → superreview+
Fixed on branch and trunk.
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: