Closed
Bug 399800
Opened 18 years ago
Closed 18 years ago
Allow modifying the initial left-pane selection when opening Places Organizer
Categories
(Firefox :: Bookmarks & History, defect, P2)
Firefox
Bookmarks & History
Tracking
()
VERIFIED
FIXED
Firefox 3 beta2
People
(Reporter: sdwilsh, Assigned: asaf)
References
Details
(Whiteboard: patch on bug 404884)
Attachments
(1 file, 2 obsolete files)
|
9.15 KB,
patch
|
Details | Diff | Splinter Review |
Calling PlacesCommandHook.showPlacesOrganizer with a place: URI doesn't load the URI in the organizer like it implies.
Looking into this, I placed some debugging output in selectPlaceURI, and that would get dumped out to the console immediately before this line would dump something:
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/browser/components/places/content/places.js&rev=1.109#113
I'm guessing the second call overrides anything passed in?
Flags: in-testsuite?
Flags: in-litmus-
Flags: blocking-firefox3?
| Reporter | ||
Comment 1•18 years ago
|
||
More debugging output:
*** selectPlaceURI('place:type=0&sort=4&maxResults=10');
*** Calling onPlaceSelected
*** Node URI: place:folder=2&queryType=1
selectPlaceURI is the global function in places.js
Updated•18 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Comment 2•18 years ago
|
||
use the new location setter instead of the global func. remove the global func since it has no other callers.
Comment 3•18 years ago
|
||
trying to wrap my head around this:
1)
C:\builds\trunk\mozilla\browser\base\content\browser-places.js(332): organizer.selectPlaceURI(aPlace);
doesn't this one call the global function you are removing?
2)
C:\builds\trunk\mozilla\browser\components\places\content\places.js(49): PlacesOrganizer._places.selectPlaceURI(placeURI);
once you remove that one, who is calling selectPlaceURI() in tree.xml?
(does using the location setter do the same thing as selectPlaceURI in tree.xml?)
C:\builds\trunk\mozilla\browser\components\places\content\tree.xml(168): <method name="selectPlaceURI">
Comment 4•18 years ago
|
||
> 1)
>
> C:\builds\trunk\mozilla\browser\base\content\browser-places.js(332):
> organizer.selectPlaceURI(aPlace);
>
> doesn't this one call the global function you are removing?
the previous patch was completely bogus. new patch which actually works.
Attachment #287778 -
Attachment is obsolete: true
Attachment #287866 -
Flags: review?(sspitzer)
Attachment #287778 -
Flags: review?(sspitzer)
Comment 5•18 years ago
|
||
Comment on attachment 287866 [details] [diff] [review]
fix v2
how come we don't need the call to this.onContentTreeSelect() anymore?
it looks like we may still want to call that.
Comment 6•18 years ago
|
||
Yes, still need that, added back in to onPlaceSelected, which seems more appropriate as that's where the content pane is loaded from.
Attachment #287866 -
Attachment is obsolete: true
Attachment #287904 -
Flags: review?(sspitzer)
Attachment #287866 -
Flags: review?(sspitzer)
Updated•18 years ago
|
Priority: -- → P2
Updated•18 years ago
|
Attachment #287904 -
Flags: review?(sspitzer)
Comment 7•18 years ago
|
||
dietrich, if while fixing this, you wanted to rename the places tree binding method or the function in utils.js (so that both weren't named "selectPlaceURI") that would be a big help.
http://lxr.mozilla.org/seamonkey/search?string=selectPlaceURI
| Assignee | ||
Updated•18 years ago
|
Assignee: dietrich → mano
Status: ASSIGNED → NEW
Depends on: 387746
Summary: Calling PlacesCommandHook.showPlacesOrganizer with a place: URI doesn't load the URI → Allow modifying the initial left-pane selection when opening Places Organizer
| Assignee | ||
Updated•18 years ago
|
Whiteboard: patch on bug 404884
| Assignee | ||
Comment 8•18 years ago
|
||
Fixed in bug 404884.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 9•18 years ago
|
||
Shawn, please verify this bug, thanks.
| Reporter | ||
Comment 10•18 years ago
|
||
I nuked the code that I was using in my tree that would test this and don't expect to have time to recreate it any time soon.
Comment 12•16 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".
In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body contains places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.
Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.
Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•