Closed Bug 131480 Opened 22 years ago Closed 20 years ago

Can't do 2 successive history searches

Categories

(Core Graveyard :: History: Global, defect)

x86
All
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8alpha4

People

(Reporter: bernard.alleysson, Assigned: Stefan.Borggraefe)

References

Details

(Keywords: fixed1.7.5)

Attachments

(1 file, 1 obsolete file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9+)
Gecko/20020301
BuildID:    2002031620



Reproducible: Always
Steps to Reproduce:
1.Ctrl +h
2.You have 1 window "History"
3.Ctrl +F
4 Search something and hit enter
5 You now have 2 windows, "History" + "Search Results"
6 Go back to "History" *without* closing "Search Results"
7 Ctrl +F
8 Search something else


Actual Results:  10 Nothing happens, there is no user feedback, nothing


Expected Results:  A second search Results window should be opened or the one
and only
"Search results" windows should be reused *and* bring to the top

I was stuck and I hit enter several times til
I realized I had to manually close the first "Search results"
window *before* submitting a second search

This is very poor UE
I noticed that performing the second find results in a javascript error in the
JavaScript Console:

Error: hstWindow.setRoot is not a function
Source File: chrome:// communicator/content/history/findHistory.js
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530
Build: 2002053012

Can't find a dupe.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Well, this is an obvious 3-line fix if we want to fix this for machv.  I
accidentally removed this function back around February, I just need to add it
back to fix this.  But it's not very important.
Keywords: nsbeta1
Nav triage team: nsbeta1-
Keywords: nsbeta1nsbeta1-
Summary: Can't do 2 successive history searches → Can't do 2 successive history searche
Target Milestone: --- → mozilla1.2alpha
blake, can you post the 3 line patch you mentioned earlier in this bug? Machv is
long gone, but this bug still seems to exist, and if it is trivial to fix, we
should try to do it.
Summary: Can't do 2 successive history searche → Can't do 2 successive history searches
*** Bug 148796 has been marked as a duplicate of this bug. ***
If this ever gets fixed then can the position and/or size of the reulting Find
window be changed? At the moment it is exactly the same size and position as the
History window thus obscuring it. Since we are going to allow a second search we
need to be able to get back to the History window easily rather than having to
go a-hunting for it. I suggest that it opens down, and to the right of the
history window by the height of the title bar as Cascade does in Windows.
*** Bug 162641 has been marked as a duplicate of this bug. ***
*** Bug 148795 has been marked as a duplicate of this bug. ***
*** Bug 206980 has been marked as a duplicate of this bug. ***
Changing OS-> All based on dup 206980, although bug 1692641 comment #2 says that
it's WFM in FizzillaMach
OS: Windows NT → All
The lost function is in the patch attached to bug 96753. I'll try if adding it
back will fix this bug.
Attached patch Patch (obsolete) — Splinter Review
Well, it works with a slightly updated version of the lost function (I had to
change the id from historyOutliner to historyTree).
Assignee: firefox → Stefan.Borggraefe
Status: NEW → ASSIGNED
Attachment #152387 - Flags: review?(timeless)
Attachment #152387 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #152387 - Flags: review?(timeless)
Attachment #152387 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 152387 [details] [diff] [review]
Patch

I think that the existing search results will already have the correct title.
Also, I think you can use the ref property as an alternative to the attribute.
Finally r+sr doesn't apply to xpfe, find someone else to review (or sr).
Attachment #152387 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #152387 - Flags: review?(neil.parkwaycc.co.uk)
Attached patch Better patchSplinter Review
Addressed Neil's comments.
Attachment #152387 - Attachment is obsolete: true
Attachment #155951 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 155951 [details] [diff] [review]
Better patch

jag says I can now give r+sr on really simple patches :-)
Attachment #155951 - Flags: superreview+
Attachment #155951 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #155951 - Flags: review+
Comment on attachment 155951 [details] [diff] [review]
Better patch

I think this simple and low-risk patch would be nice to have in the 1.7-branch,
too.
Attachment #155951 - Flags: approval1.7.3?
Comment on attachment 155951 [details] [diff] [review]
Better patch

a=mkaply for 1.7.3
Attachment #155951 - Flags: approval1.7.3? → approval1.7.3+
Keywords: fixed1.7.3
Fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.2alpha → mozilla1.8alpha4
*** Bug 274580 has been marked as a duplicate of this bug. ***
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: