Closed
Bug 479384
Opened 17 years ago
Closed 16 years ago
Reset button in Library search box is broken
Categories
(Firefox :: Bookmarks & History, defect, P2)
Firefox
Bookmarks & History
Tracking
()
VERIFIED
FIXED
Firefox 3.6a1
People
(Reporter: adw, Assigned: adw)
References
Details
(Keywords: regression, verified1.9.1)
Attachments
(1 file)
2.17 KB,
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
Clicking the search box's reset button only deletes the search text, and manually deleting the text does nothing. In either case the scope bar should disappear and we should be returned to the folder we were viewing.
Regwindow: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=65e8380bf4f9&tochange=ddcb3ca67b5e
These are two consecutive revisions (WFM on the older revision), so it looks like http://hg.mozilla.org/mozilla-central/rev/ddcb3ca67b5e is the cause. Related bug is bug 475273. From that bug:
>diff --git a/browser/components/places/content/places.js b/browser/components/places/content/places.js
>--- a/browser/components/places/content/places.js
>+++ b/browser/components/places/content/places.js
>@@ -194,22 +194,29 @@ var PlacesOrganizer = {
> },
>
> /**
> * Called when a place folder is selected in the left pane.
> * @param resetSearchBox
> * true if the search box should also be reset, false if it should
> * be left alone.
> */
>+ _cachedLeftPaneSelectedNode: null,
> onPlaceSelected: function PO_onPlaceSelected(resetSearchBox) {
> // Don't change the right-hand pane contents when there's no selection
> if (!this._places.hasSelection)
> return;
>
> var node = this._places.selectedNode;
>+ // When we invalidate a container we use suppressSelectionEvent, when it is
>+ // unset a select event is fired, in many cases the selection did not really
>+ // change, so we should check for it, and return early in such a case.
>+ if (node == this._cachedLeftPaneSelectedNode)
>+ return;
>+ this._cachedLeftPaneSelectedNode = node;
The new return statement is reached, and the logic in the !resetSearchBox conditional below this new code doesn't get called. That's all I know.
Comment 1•17 years ago
|
||
yes, could be that, even if the selection did not change, we should look for resetSearchBox.
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Comment 2•17 years ago
|
||
asking blocking p2 to get preapproval to fix the regression
Flags: blocking-firefox3.1?
Updated•17 years ago
|
Priority: -- → P2
Comment 3•17 years ago
|
||
Giving blocking p2 because I think this issue actually blocks the release!
Flags: blocking-firefox3.1? → blocking-firefox3.1+
Updated•16 years ago
|
Assignee: mak77 → adw
Assignee | ||
Comment 4•16 years ago
|
||
Was going to solve this in bug 451151, but since the patch for that bug could potentially introduce regressions and this bug is a blocker, broke out a patch per conversation with Dietrich.
Attachment #363946 -
Flags: review?(mak77)
Comment 5•16 years ago
|
||
Comment on attachment 363946 [details] [diff] [review]
v1
r=me
Attachment #363946 -
Flags: review?(mak77) → review+
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Updated•16 years ago
|
Whiteboard: [ready to land]
Comment 6•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Whiteboard: [ready to land] → [needs 1.9.1 landing]
Comment 7•16 years ago
|
||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 8•16 years ago
|
||
Verified
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1b3pre) Gecko/20090301 Shiretoko/3.1b3pre
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
Comment 9•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
•