Closed
Bug 430659
Opened 17 years ago
Closed 17 years ago
Saved search in sidebar does not work.
Categories
(Firefox :: Bookmarks & History, defect, P2)
Firefox
Bookmarks & History
Tracking
()
VERIFIED
FIXED
Firefox 3
People
(Reporter: alice0775, Assigned: dietrich)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
asaf
:
review+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-us; rv:1.9pre) Gecko/2008042402 Minefield/3.0pre Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-us; rv:1.9pre) Gecko/2008042402 Minefield/3.0pre
Saved search(saved query) in sidebar does not work.
Reproducible: Always
Steps to Reproduce:
1.Create saved search(saved query)
2.Open sidebar
3.Crick the saved search
Actual Results:
Nothing result.
Expected Results:
Show search result.
Comment 1•17 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008042400 Minefield/3.0pre
Does indeed nothing. I don't know if this is intended.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
Comment 3•17 years ago
|
||
I bet we just forgot to tell the sidebar that these things are folders.
Flags: blocking-firefox3? → blocking-firefox3+
Updated•17 years ago
|
Assignee: nobody → mak77
Comment 4•17 years ago
|
||
there was a previous fix for this IIRC so could have regressed recently? Can someone take a look if this is a recent or an old one?
Updated•17 years ago
|
Assignee: mak77 → mano
Comment 5•17 years ago
|
||
The search broke on 19 Nov 2007: http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=1195521720&maxdate=1195524719
The next day, 20 Nov 2007, the search was fixed but the new saved searches did not expand anymore in the sidebar. But the old saved searches (from before the range) are still expanding, even now.
I don't know if it was repaired later, couldn't find it with random checks.
Reporter | ||
Comment 6•17 years ago
|
||
When I create New Search, Library generate a query with expandQueries=0.
I think it must be expandQueries=1.
Comment 7•17 years ago
|
||
Is still any QA work needed on this bug? It looks like a regression from bug 387746?
Keywords: regression
OS: Windows XP → All
Comment 8•17 years ago
|
||
why are we doing this in treeView.js
isContainer: function PTV_isContainer(aRow) {
this._ensureValidRow(aRow);
var node = this._visibleElements[aRow].node;
if (PlacesUtils.nodeIsContainer(node)) {
// the root node is always expandable
if (!node.parent)
return true;
// treat non-expandable queries as non-containers
if (PlacesUtils.nodeIsQuery(node)) {
asQuery(node);
return node.queryOptions.expandQueries;
}
return true;
}
return false;
},
should not expandQueries be referred to children of the query instead of to the query itself?
would not be more correct doing return asQuery(node.parent).queryOptions.expandQueries;?
This way treeView.isContainer returns false in the sidebar, so the query does not expand, and i also cannot middle-click it to open contents (since we use isContainer to check if middle-click is enabled).
Assignee | ||
Comment 9•17 years ago
|
||
(In reply to comment #6)
> When I create New Search, Library generate a query with expandQueries=0.
>
> I think it must be expandQueries=1.
>
expandQueries=1 means that any *children* of the container that are queries should not be expanded.
we don't want place: URI bookmarks in search results and query contents to be shown as containers. (considering they're containers, maybe we shouldn't show them at all...)
(In reply to comment #8)
>
> should not expandQueries be referred to children of the query instead of to the
> query itself?
yes, this is correct.
> would not be more correct doing return
> asQuery(node.parent).queryOptions.expandQueries;?
yes.
Assignee: mano → dietrich
Assignee | ||
Comment 10•17 years ago
|
||
with this, queries are properly expandable in the sidebar, and not so in the library.
Attachment #318686 -
Flags: review?(mconnor)
Assignee | ||
Updated•17 years ago
|
Priority: -- → P2
Whiteboard: [has patch][needs review mconnor]
Target Milestone: --- → Firefox 3
Comment 11•17 years ago
|
||
Comment on attachment 318686 [details] [diff] [review]
fix, per comment #8
you need to check if node.parent is a query first.
Attachment #318686 -
Flags: review?(mconnor) → review-
Assignee | ||
Comment 12•17 years ago
|
||
Attachment #318686 -
Attachment is obsolete: true
Attachment #318690 -
Flags: review?(mano)
Assignee | ||
Updated•17 years ago
|
Whiteboard: [has patch][needs review mconnor] → [has patch][needs review mano]
Comment 13•17 years ago
|
||
Comment on attachment 318690 [details] [diff] [review]
v2 - comment fixed
null-check parent.
r=mano otherwise.
Attachment #318690 -
Flags: review?(mano) → review+
Updated•17 years ago
|
Whiteboard: [has patch][needs review mano] → [has patch][has reviews]
Assignee | ||
Comment 14•17 years ago
|
||
Comment on attachment 318690 [details] [diff] [review]
v2 - comment fixed
drivers: low impact fix
Attachment #318690 -
Flags: approval1.9?
Assignee | ||
Updated•17 years ago
|
Whiteboard: [has patch][has reviews] → [has patch][has reviews][needs approval]
Comment 15•17 years ago
|
||
Comment on attachment 318690 [details] [diff] [review]
v2 - comment fixed
a1.9+=damons
Attachment #318690 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 16•17 years ago
|
||
Checking in browser/components/places/content/treeView.js;
/cvsroot/mozilla/browser/components/places/content/treeView.js,v <-- treeView.js
new revision: 1.68; previous revision: 1.67
done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [has patch][has reviews][needs approval]
Comment 17•17 years ago
|
||
verified fixed using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9pre) Gecko/2008050104 Minefield/3.0pre as well as the Win Vista nightly.
Status: RESOLVED → VERIFIED
Updated•17 years ago
|
Flags: in-litmus?
Comment 18•16 years ago
|
||
Test case https://litmus.mozilla.org/show_test.cgi?id=7506 was created on the litmus 3.0 test run for regression testing this bug.
Flags: in-litmus? → in-litmus+
Comment 19•16 years ago
|
||
Test case https://litmus.mozilla.org/show_test.cgi?id=7507 was created on the
litmus 3.1 test run for regression testing this bug.
Comment 20•15 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
•