Closed Bug 347111 Opened 18 years ago Closed 18 years ago

Bookmarks Manager prevents bookmarking of other tabs

Categories

(Camino Graveyard :: Bookmarks, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Camino1.5

People

(Reporter: bugzilla-graveyard, Assigned: froodian)

References

Details

(Keywords: fixed1.8.1)

Attachments

(1 file, 3 obsolete files)

1) Open any URL. 2) Open a new tab with the Bookmarks Manager in it. 3) Switch to the other tab (with WWW content in it). 4) Cmd-D. 5) Wonder why the Bookmarks menu just flashed and nothing else happened. 6) Close the tab containing the Bookmarks Manager. 7) Repeat step 4 and marvel at the restored functionality. 8) Profit!!! I haven't checked branch yet but I'm fairly certain this worked at one point, so I'm labeling it a regression for now.
I broke this in bug 188679. Taking.
Assignee: nobody → stridey
Attached patch Patch (obsolete) — Splinter Review
The problem here is that we were writing over the outparams with nil, even though they had useful information when coming from |bookmarkableTitle| (though they should be overwritten if it's not nil). Simply not writing over them if we don't find anything is more elegant than checking whether the results were nil in |bookmarkableTitle|, so that's what this does.
Attachment #231900 - Flags: review?(stuart.morgan)
Comment on attachment 231900 [details] [diff] [review] Patch r-, per IRC discussions. The right place to bullet-proof this would be in code that will be ripped out to fix bug 302614, so just do that.
Attachment #231900 - Flags: review?(stuart.morgan) → review-
Blocks: 302614
Attached patch Gets rid of check entirely (obsolete) — Splinter Review
Rips out mentioned code, and the method description (since it's now self-explanatory)
Attachment #231900 - Attachment is obsolete: true
Attachment #231911 - Flags: review?(stuart.morgan)
Attachment #231911 - Flags: review?(stuart.morgan) → review-
Comment on attachment 231911 [details] [diff] [review] Gets rid of check entirely (oops, missed the text field). You may as well remove curTitle and curURL, since they don't serve a purpose.
Attached patch Slims it down (obsolete) — Splinter Review
Yeah, I wasn't sure if assigning outparams directly was acceptable practice or not.
Attachment #231911 - Attachment is obsolete: true
Attachment #232278 - Flags: review?(stuart.morgan)
*** Bug 347801 has been marked as a duplicate of this bug. ***
per irc, getting rid of the method entirely.
Attachment #232278 - Attachment is obsolete: true
Attachment #233427 - Flags: review?(stuart.morgan)
Attachment #232278 - Flags: review?(stuart.morgan)
Putting this regression on the 1.1 list so it doesn't get lost (even though it'll hopefully be fixed soon).
Target Milestone: --- → Camino1.1
Comment on attachment 233427 [details] [diff] [review] Super slims it down r=me
Attachment #233427 - Flags: superreview?(mikepinkerton)
Attachment #233427 - Flags: review?(stuart.morgan)
Attachment #233427 - Flags: review+
Comment on attachment 233427 [details] [diff] [review] Super slims it down sr=pink i heart fixing bugs by removing code.
Attachment #233427 - Flags: superreview?(mikepinkerton) → superreview+
Checked into trunk and MOZILLA_1_8_BRANCH
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: regressionfixed1.8.1
Resolution: --- → FIXED
Whiteboard: [needs checkin]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: