Closed Bug 254313 Opened 22 years ago Closed 20 years ago

context menu click on a bookmark doesn't have an option to copy a url to the clipboard

Categories

(Camino Graveyard :: Accessibility, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Camino1.0

People

(Reporter: jon, Assigned: bugzilla-graveyard)

Details

(Keywords: fixed1.8)

Attachments

(1 file, 2 obsolete files)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a3) Gecko/20040802 Camino/0.8+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a3) Gecko/20040802 Camino/0.8+ context menu click on a bookmark in 'bookmark bar' doesn't have an option to copy a url to the clipboard Reproducible: Always Steps to Reproduce:
That's true also when editing bookmarks. Changing to new, rfe and 1.0 target.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: context menu click on a bookmark in 'bookmark bar' doesn't have an option to copy a url to the clipboard → context menu click on a bookmark doesn't have an option to copy a url to the clipboard
Target Milestone: --- → Camino1.0
Note that for the editing case this will be slightly improved when bug 155484 lands - you can then copy the bookmark and if you paste it into a program expecting plain text you'll get the URL. We should probably still have the context menu though.
Taking this bug.
Assignee: pinkerton → Bruce.Davidson
See also bug 299799 for doing this for History (plus some other things).
Bruce, any progress on this? I can probably take it if you're too busy. cl
Having heard nothing from Bruce since Monday, taking this and bug 299799. cl
Assignee: Bruce.Davidson → bugzilla
Attached patch pizzatch, revision 1 (obsolete) — — Splinter Review
Attachment #205195 - Flags: review?(sfraser_bugs)
Also restores a couple indents that Simon said were intentional. Sorry 'bout that. cl
Attachment #205195 - Attachment is obsolete: true
Attachment #205282 - Flags: review?(sfraser_bugs)
Attachment #205195 - Flags: review?(sfraser_bugs)
Status: NEW → ASSIGNED
Comment on attachment 205282 [details] [diff] [review] version 2, now without debug code >Index: BookmarkViewController.mm >=================================================================== >+- (void) copyBookmarksURLs:(NSArray*)bookmarkItemsToCopy toPasteboard:(NSPasteboard*)aPasteboard >+{ >+ // handle URLs, and nothing else, for simplicity. >+ [aPasteboard declareTypes:[NSArray arrayWithObject:kCorePasteboardFlavorType_url] owner:self]; >+ >+ NSMutableArray* urlList = [NSMutableArray array]; >+ for ( unsigned int i = 0; i < [bookmarkItemsToCopy count]; ++i ) { An enumerator would be cleaner here, if you want to attach a new patch?
Attachment #205282 - Flags: review?(sfraser_bugs) → review+
This patch contains a partial fix for bug 319491 as well; the rest of that patch can be found in that bug. I wasn't sure how to split up the patch properly, since both bugs require modifications to the same file. cl
Attachment #205282 - Attachment is obsolete: true
Attachment #205361 - Flags: review+
In on trunk and branch.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: