Closed
Bug 328795
Opened 19 years ago
Closed 19 years ago
Convert Thunderbird to use typeahead find
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird2.0
People
(Reporter: mscott, Assigned: mscott)
References
Details
(Keywords: fixed1.8.1)
Attachments
(4 files)
14.62 KB,
patch
|
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
11.56 KB,
patch
|
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
5.79 KB,
image/png
|
Details | |
1.64 KB,
patch
|
mscott
:
review+
|
Details | Diff | Splinter Review |
Get rid of the find dialog and use tookit's type ahead find widget for searching messages.
Assignee | ||
Comment 2•19 years ago
|
||
Use the find toolbar instead of the old find dialog.
Attachment #213394 -
Flags: superreview?(bienvenu)
Updated•19 years ago
|
Attachment #213394 -
Flags: superreview?(bienvenu) → superreview+
Assignee | ||
Comment 3•19 years ago
|
||
Note to self: when this lands, we should remove "Find in Message" from the quick search bar and all of the related DOM highlighting magic there. That is all completely redundant when you have the find in message bar which does the same thing.
Assignee | ||
Comment 4•19 years ago
|
||
As promised here's the follow up patch.
1) Remove find in message from the quick search bar. This is duplicating functionality from the find bar.
2) Remove the highlighting code from searchBar.js. We don't need this anymore. Highlighting is done from the find bar.
3) in search.xml, when we are constructing the search widget, account for the case that the desired quick search mode we remembered in localstore.rdf may not be there anymore (as is the case with find in message :)), so just use the first search mode in the list in this case.
4) While I was in search.xml, I fixed an old bug where the quick search menupopup doesn't properly check the right search mode when you first start up. It always showed Subject or Sender.
Attachment #213814 -
Flags: superreview?(bienvenu)
Comment 5•19 years ago
|
||
Comment on attachment 213814 [details] [diff] [review]
follow up fix to remove find in message and highlighting code from QS
nice to see code removed :-)
+ // If the find bar is visible and we just loaded a new message, re-run
+ // the find command. This means the new message will get highlighted and
+ // we'll scroll to the first word in the message that matches the find text.
+ if (gFindBar.isFindBarVisible())
+ gFindBar.find();
I guess we'll see how this feels. This will happen in any view, right?
Attachment #213814 -
Flags: superreview?(bienvenu) → superreview+
Assignee | ||
Comment 6•19 years ago
|
||
both patches are in both the trunk and 1.8.1 branch now.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•19 years ago
|
||
I also added fastfind.xpt to the packages-static file for windows builds.
Comment 8•19 years ago
|
||
(In reply to comment #4)
> 4) While I was in search.xml, I fixed an old bug where the quick search
> menupopup doesn't properly check the right search mode when you first start
> up. It always showed Subject or Sender.
Bug 279855; I WFM'd it before I saw this comment.
Comment 9•19 years ago
|
||
Have a look at the attached screenshot. The buttons text is without any space behind the buttons icons. In Firefox this is different. Maybe some CSS are missing in Thunderbirds standard theme?
Updated•19 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•19 years ago
|
||
There is one more Bug in Thunderbird findbar implementation.
The entity "find.label" exists in findbar.dtd and in messenger.dtd.
- find.label in findbar.dtd is "Find:" with the ":"
- find.label in messenger.dtd is "Find" withOUT the ":"
"Find" in messenger.dtd is used for the menu item "Find" in the menu "Edit". It must not have the ":". This is displayed correct.
Because of the same entity name, in 3-pane-window the Findbar has only "Find" (instead of "Find:" before the textbox).
We should fix this by renaming "find.label" in messenger.dtd. Findbar.dtd must not be changed because of Firefox.
BTW: messenger.dtd includes an entity "searchMenu.label" which seems not to be used in any XUL file. Maybe we could use this entity for the menu item?
Comment 11•19 years ago
|
||
(In reply to comment #10)
Best solution for l10n teams would be to change the entity names in messenger.dtd / mailWindowOverlay.xul.
Attachment #214113 -
Flags: review?(mscott)
Comment 12•19 years ago
|
||
(In reply to comment #5)
> + // If the find bar is visible and we just loaded a new message, re-run
> + // the find command. This means the new message will get highlighted and
> + // we'll scroll to the first word in the message that matches the find text.
> + if (gFindBar.isFindBarVisible())
> + gFindBar.find();
>
>
> I guess we'll see how this feels. This will happen in any view, right?
>
The findbar searches the mail start page, too. Only a "cosmetic" problem.
Assignee | ||
Comment 13•19 years ago
|
||
Comment on attachment 214113 [details] [diff] [review]
[checked in]proposed fix for find.label duplication
Thanks Alex. I'll check this in.
Attachment #214113 -
Flags: review?(mscott) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #214113 -
Attachment description: proposed fix for find.label duplication → [checked in]proposed fix for find.label duplication
Assignee | ||
Comment 14•19 years ago
|
||
re-closing this bug. Let's file a new bug for finding out why the find bar isn't getting padding around the buttons. I've already checked in the label duplication patch into the trunk and the branch.
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Comment 15•19 years ago
|
||
(In reply to comment #14)
> Let's file a new bug for finding out why the find bar
> isn't getting padding around the buttons.
https://bugzilla.mozilla.org/show_bug.cgi?id=330402
Comment 16•19 years ago
|
||
*** Bug 238060 has been marked as a duplicate of this bug. ***
Comment 17•19 years ago
|
||
What about the findbar in the standalone message window?
Assignee | ||
Comment 18•19 years ago
|
||
(In reply to comment #17)
> What about the findbar in the standalone message window?
>
seems to be working ok for me Alexander. What problem are you having with it?
Comment 19•19 years ago
|
||
(In reply to comment #18)
> (In reply to comment #17)
> > What about the findbar in the standalone message window?
>
> seems to be working ok for me Alexander. What problem are you having with it?
I wonder if Alexander is talking about the problem from bug 324194 comment 4.
Comment 20•19 years ago
|
||
Is there any extension planned for Tb to "fix" the behaviour to proper default one with dialog box?
I do not see from the discussion that new behaviour is optional. Ff has extension "Retro Find". Is there anything similar but for Tb?
P.S. IMHO, the find tool bar is worst GUI decision of Ff. But it's IMHO. Good ol' Mozilla's typeahead w/o any tool bar + classical dialog box on ^F I think was proper compromise.
Comment 21•18 years ago
|
||
This conversion introduces a regression for which I opened bug 359684.
I would be happy to know if the lack of highlighting in that situation is intentional or really a bug.
You need to log in
before you can comment on or make changes to this bug.
Description
•