Closed
Bug 179050
Opened 22 years ago
Closed 18 years ago
Clean up timed textbox binding and use it in mailnews and addressbook
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: janv, Assigned: neil)
References
Details
(Keywords: fixed-seamonkey1.1a)
Attachments
(4 files, 9 obsolete files)
9.67 KB,
patch
|
janv
:
review+
|
Details | Diff | Splinter Review |
555 bytes,
patch
|
Details | Diff | Splinter Review | |
9.67 KB,
patch
|
mscott
:
superreview+
iannbugzilla
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
2.71 KB,
patch
|
mnyromyr
:
review+
Bienvenu
:
superreview+
iannbugzilla
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•22 years ago
|
||
Also the editor image properties dialog.
Assignee | ||
Comment 2•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Attachment #105711 -
Flags: review?(varga)
Reporter | ||
Comment 3•22 years ago
|
||
Neil, your patch looks good, although it should call this.select() in fireCommand() Please check its behaviour to match quick search in mailnews and addressbook This bug is also about reusing the timed textbox in mailnews and addressbook But I'm ok with cleaning the binding first. We can patch mailnews and addressbook later.
Assignee | ||
Comment 4•22 years ago
|
||
Actually it should call this.select() in the keypress handler :-P I'm practically done on my RLE decoder so I'll attack this patch next.
Assignee | ||
Comment 5•22 years ago
|
||
Jan, I now see why the clear button wasn't a quick fix...
Attachment #105711 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #107285 -
Flags: superreview?(sspitzer)
Attachment #107285 -
Flags: review?(varga)
Assignee | ||
Comment 6•22 years ago
|
||
Attachment #107285 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #107727 -
Flags: superreview?(sspitzer)
Attachment #107727 -
Flags: review?(varga)
Reporter | ||
Comment 7•22 years ago
|
||
Neil, your patch looks pretty good, although I think there are changes which belong to other bug. One nit: I would not remove |onfocus="this.select()"|
Assignee | ||
Comment 8•22 years ago
|
||
Sorry Jan, I've just got too many MailNews patches ;-)
Attachment #107727 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #108351 -
Flags: superreview?(sspitzer)
Attachment #108351 -
Flags: review?(varga)
Updated•22 years ago
|
Attachment #107727 -
Flags: superreview?(sspitzer)
Attachment #107727 -
Flags: review?(varga)
Updated•22 years ago
|
Attachment #105711 -
Flags: review?(varga)
Updated•22 years ago
|
Attachment #107285 -
Flags: superreview?(sspitzer)
Attachment #107285 -
Flags: review?(varga)
Assignee | ||
Comment 9•22 years ago
|
||
I see Jan's point now - Bug 178520 was hiding the problem.
Assignee | ||
Updated•22 years ago
|
Attachment #108351 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #108727 -
Flags: superreview?(sspitzer)
Attachment #108727 -
Flags: review?(varga)
Updated•22 years ago
|
Attachment #108351 -
Flags: superreview?(sspitzer)
Attachment #108351 -
Flags: review?(varga)
Reporter | ||
Comment 10•21 years ago
|
||
note that there were some changes which affected this patch
Assignee | ||
Comment 11•21 years ago
|
||
Attachment #108727 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #116769 -
Flags: superreview?(sspitzer)
Attachment #116769 -
Flags: review?(varga)
Reporter | ||
Updated•21 years ago
|
Attachment #108727 -
Flags: superreview?(sspitzer)
Attachment #108727 -
Flags: review?(varga)
Reporter | ||
Comment 12•21 years ago
|
||
Comment on attachment 116769 [details] [diff] [review] Updated for bitrot Looks pretty good, just one thing. I'm not sure if value setter should fire command event. I have a feeling that we don't do that elsewhere. Jag, what do you think ? If we get a consensus on that r=varga
Comment 13•21 years ago
|
||
note that shliang was in this code twice recently for bug #128503, making mail and addressbook quick search behave the same. (see her checkins on 2/27 and the follow up for a regression on 3/04) how does that work affect your patch? don't get me wrong, I'll all for code cleanup. but will this fix have a noticable on the end user? If not, consider pushing this to 1.5 alpha. I'd much rather spend cycles on something that directly affects the end user.
Assignee: varga → neil
Assignee | ||
Comment 14•21 years ago
|
||
Attachment #116769 -
Attachment is obsolete: true
Reporter | ||
Updated•21 years ago
|
Attachment #116769 -
Flags: review?(varga)
Reporter | ||
Comment 15•21 years ago
|
||
Comment on attachment 119450 [details] [diff] [review] bookmarks manager renaming bitrot r=varga with the change I already mentioned. In my opinion, the value setter shouldn't fire command events. Note that you need to fix callers too.
Attachment #119450 -
Flags: review+
Assignee | ||
Comment 16•21 years ago
|
||
I finally found a "regression" from those command events you mentioned - it breaks my proposed fix to another bug, so I'll have to rewrite this anyway...
Assignee | ||
Comment 17•21 years ago
|
||
I also tried out using an nsITimer component to make the code cleaner.
Attachment #119450 -
Attachment is obsolete: true
Reporter | ||
Comment 18•21 years ago
|
||
+ <setter> + this.inputField.value = val; + if (this._timer) + this._timer.cancel(); + this.doCommand(); + return val; + </setter> Well, I'm not sure if you fixed my nit. It seems that the value setter still fires command events.
Assignee | ||
Comment 19•21 years ago
|
||
Well, at least I managed to fix the callers :-)
Attachment #121905 -
Attachment is obsolete: true
Reporter | ||
Comment 20•21 years ago
|
||
Well, sorry for saying it, but I don't like that nsITimerCallback in JS code I believe jag would be more comfortable with the standard setTimeout function too. Other than that r=varga
Assignee | ||
Comment 21•21 years ago
|
||
I've just noticed that a textbox context menu generates command events :-(
Assignee | ||
Comment 22•21 years ago
|
||
Attachment #121909 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #125425 -
Flags: superreview?(sspitzer)
Assignee | ||
Updated•21 years ago
|
Attachment #125425 -
Flags: review?(shliang)
Reporter | ||
Comment 23•21 years ago
|
||
Comment on attachment 125425 [details] [diff] [review] Now that it's partly checked in... r=varga since I reviewed this multiple times and the only thing I objected to is already in
Attachment #125425 -
Flags: review?(shliang) → review+
Assignee | ||
Comment 24•21 years ago
|
||
Jan: I'm sorry about that, I did mean to take that out again :-[ also I asked shuehan for review because Seth mentioned it.
Reporter | ||
Comment 25•21 years ago
|
||
no problem, thanks for fixing it
Assignee | ||
Comment 26•21 years ago
|
||
*** Bug 106705 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Attachment #116769 -
Flags: superreview?(sspitzer)
Comment 27•21 years ago
|
||
Neil, is this patch still viable?
Comment 28•20 years ago
|
||
I would like to see this patch checked in, particularly if bug 191813 comment 3 is correct and the patch addresses that bug as well.
Assignee | ||
Updated•20 years ago
|
Attachment #125425 -
Flags: superreview?(sspitzer) → superreview?(mscott)
Assignee | ||
Comment 29•19 years ago
|
||
I've updated the patch for bitrot, and also applied the changes to Thunderbird's address book (its main mail quick search is no longer suitable). Unfortunately for Mike I have no idea if it still appears to fix bug 191813 or not.
Attachment #177669 -
Flags: superreview?(mscott)
Updated•19 years ago
|
Flags: blocking-aviary1.1?
Comment 30•19 years ago
|
||
mscott, is this something you (we) want for 1.1? If so, can you review and if not, can you set the blocking 1.1 flag to minus? Thanks.
Updated•19 years ago
|
Flags: blocking-aviary1.1? → blocking1.8b4?
Comment 31•19 years ago
|
||
Let's go after this for 1.9, I don't think we need to get it in for the 1.5 releases and I haven't had a chance to look at this yet.
Flags: blocking1.9a1+
Flags: blocking1.8b4?
Flags: blocking1.8b4-
Updated•19 years ago
|
Summary: Cleanup timed textbox binding and use it in mailnews and addressbook → Clean up timed textbox binding and use it in mailnews and addressbook
Comment 32•19 years ago
|
||
Comment on attachment 125425 [details] [diff] [review] Now that it's partly checked in... this patch is obsolete, there's a newer one in the bug.
Attachment #125425 -
Flags: superreview?(mscott)
Comment 33•19 years ago
|
||
Comment on attachment 177669 [details] [diff] [review] Updated part of this patch is obsolete, in particular the changes to msgViewPickerOverlay.js. I hope that change isn't going to break switching to a virtual folder: http://lxr.mozilla.org/mozilla/source/mailnews/extensions/mailviews/resources/content/msgViewPickerOverlay.js#107
Attachment #177669 -
Flags: superreview?(mscott) → superreview+
Assignee | ||
Comment 34•19 years ago
|
||
I checked in the addrbook changes from the previous patch, and simplfied the changes for this patch to avoid problems with virtual folders.
Attachment #203792 -
Flags: review?(mnyromyr)
Comment 35•19 years ago
|
||
Bug 286367, Comment 11 says fixing this bug will also fix bug 286367. I tried adding Bug 286367 to the "blocks" field, but I don't have permssion to set that field. Would someone add Bug 286367 to the "blocks" field?
Assignee | ||
Comment 36•19 years ago
|
||
Unfortunately Quick Search has changed sufficiently in the interim that I'm no longer in a position to make claims regarding bug 286367, and even if I was I could only fix SeaMonkey's Quick Search, not Thunderbird's.
Comment 37•19 years ago
|
||
> Unfortunately Quick Search has changed sufficiently in the interim that I'm no > longer in a position to make claims regarding bug 286367, Does this mean that fixing this bug may not fix bug 286367? >and even if I was I > could only fix SeaMonkey's Quick Search, not Thunderbird's. Bug 286367 is a Seamonkey bug, not a Thunderbird bug. So, if fixing this bug fixes Seamonkey, that is sufficient to resolve Bug 286367.
Updated•19 years ago
|
Attachment #203792 -
Flags: review?(mnyromyr) → review+
Assignee | ||
Comment 38•18 years ago
|
||
Comment on attachment 203792 [details] [diff] [review] 3pane patch Not sure why I didn't request sr, maybe the r+ bugmail got lost :-/
Attachment #203792 -
Flags: superreview?(bienvenu)
Updated•18 years ago
|
Attachment #203792 -
Flags: superreview?(bienvenu) → superreview+
Assignee | ||
Comment 39•18 years ago
|
||
Fix checked in to the trunk. I did one test that I know triggers bug 286367 and this patch definitely fixes that case, but I didn't test it exhaustively.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•18 years ago
|
Attachment #203792 -
Flags: approval-branch-1.8.1?(iann_bugzilla)
Attachment #203792 -
Flags: approval-branch-1.8.1?(iann_bugzilla) → approval-branch-1.8.1+
Comment 40•18 years ago
|
||
I didn't have much luck porting this to Thunderbird - searches stopped happening, so I must have screwed something up...
Assignee | ||
Updated•18 years ago
|
Attachment #177669 -
Flags: approval-branch-1.8.1?(iann_bugzilla)
Attachment #177669 -
Flags: approval-branch-1.8.1?(iann_bugzilla) → approval-branch-1.8.1+
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•