Closed Bug 225269 Opened 22 years ago Closed 21 years ago

Can't use a bookmark as my homepage

Categories

(Firefox :: Settings UI, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firebird0.8

People

(Reporter: andy, Assigned: mconnor)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031110 Firebird/0.7+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031110 Firebird/0.7+ When I go to Tools> Options> General and click on Use Bookmark for my home page, I choose the site I want and click OK but the Home Page doesn't change. I get this on Windows XP and Mandrake 9.1 Linux. I have to open the page in the browser and click Use Current Page. That works. Reproducible: Always Steps to Reproduce: 1.Go to Tool> Options> General 2.Click Use Bookmark for your homepage 3.Choose a bookmark Actual Results: Nothing Changed Expected Results: Used the bookmark
Confirming on Windows & Linux. Setting to All/All, as there's no reason to suspect that it wouldn't occur on MacOS X as well.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: PC → All
*** Bug 227200 has been marked as a duplicate of this bug. ***
Can't you guys rename some of the bug descriptions. It is impossible to find one back if things are called at random. Keywords make you find those bugnr's. My dupe bug [Bug 227200] Options - General - homepage - Use Bookmarks does not work is at least easy to find with a query. Ask "Bookmarks" and you get 50.000 bugs posted :-((((( it is not even posted under Menu, but preferences. Please change those bug descriptions if they are vague or malformed or malposted (wrong section). Most of us struggle enough to post it right but that doesn't make us experts !
js console is clean, I'll poke this later
Flags: blocking0.8?
Keywords: regression
Peter: what did you search for that you didn't find this bug? A search for "Bookmark home page" finds it, and I don't see any other useful keywords in your bug's summary.
for me, just clicking "Use Bookmark..." button produces following errors in JS console (but I have enabled non-default JS warnings/errors with TTLO): Error: selection.protocol has no properties Source File: chrome://browser/content/bookmarks/selectBookmark.js Line: 30 Warning: reference to undefined property selection.protocol Source File: chrome://browser/content/bookmarks/selectBookmark.js Line: 30 (first > last sort order)
actually it's first Warning then Error, I think.
In bookmarksTree.xml all references to protocol are commented out with this note (added by pch in revision 1.47): //protocol broken since we have unique ID... Commenting out the protocol references in selectBookmark.js as well makes this feature work again.
Confirmed. Commenting out the reference to selection.protocol in selectBookmark.js works. I can now use a bookmark to set my home page.
good catch! I'll attach a patch tonight so it'll get done before 0.8 plussing blocking request since its a regression that we can easily fix
Assignee: blake → mpconnor
Flags: blocking0.8? → blocking0.8+
Target Milestone: --- → Firebird0.8
per pch's comments in the other bug. Only a comment out since that's all pch did in the other locations, not sure what his plans are
Comment on attachment 136791 [details] [diff] [review] patch to comment out protocol references provisionally to pch, but ben, if you see this, please just take a look, its just a simple patch
Attachment #136791 - Flags: review?(p_ch)
I may be way off here, but should this line (from a few lines below the patch): protocol = child.Value.split(":")[0]; now have a var prefixed to it since the original declaration has been commented out, else protocol will be created as a global?
Attached patch patch v2Splinter Review
oops, right-o
Attachment #136791 - Attachment is obsolete: true
Attachment #136791 - Flags: review?(p_ch)
Attachment #136795 - Flags: review?(p_ch)
Comment on attachment 136795 [details] [diff] [review] patch v2 >+// xxx - protocal is broken since we have unique id... >+// xxx - protocal is broken since we have unique id.. "protocol", not "protocal". And you forgot the third dot :)
Attachment #136795 - Flags: review?(p_ch) → review+
fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: