Closed
Bug 390495
Opened 18 years ago
Closed 17 years ago
[Trunk] datepicker combo from calendar tab is expanded after starting thunderbird
Categories
(Calendar :: Lightning Only, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
0.8
People
(Reporter: torindel, Unassigned)
References
()
Details
Attachments
(1 file)
896 bytes,
patch
|
michael.buettner
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.5) Gecko/20070720 Firefox/2.0.0.5
Build Identifier: TRUNK
datepicker widget is shown after starting thunderbird (look at picture in url) and is positioned directly under datepicker combobox which is on calendar tab (this occurs in non-pre0.7 lightning)due change in thunderbird trunk between 2007-07-04 and 2007-07-05
Reproducible: Always
Steps to Reproduce:
1.Start thunderbird with lightning installed
Comment 2•18 years ago
|
||
(In reply to comment #1)
> this *also* occurs in non-pre0.7 lightning (typo)
Instead of writing "non-pre0.7 lightning" please note the correct Lightning version and Build ID as shown in the Addon-Manager. Please also note the Thunderbird version and Build ID.
It seems that you filed the same issue just a few days ago with Bug 390226.
affect all minicalendar combo-boxes everywhere (e.g. in add new event window after opening dialog window we get couple of such auto expanded on create combo-boxes) (tested on calendar trunk nightly builds from last 2 months) due to change in thunderbird trunk older than 2007-07-05
Last good nightly build thunderbird version: version 3.0a1pre (2007070504)
this bug is caused by https://bugzilla.mozilla.org/show_bug.cgi?id=279703
Comment 6•18 years ago
|
||
Works for me using Lightning 0.6a1 (2007080105) with Thunderbird 3.0a1pre (2007080104) on Windows 2000. Datepicker behaves correctly.
tested windows build too and its ok, both my linux build and official nighly linux trunk is affected can someone test on mac?
Updated•18 years ago
|
OS: All → Linux
Summary: datepicker combo from calendar tab is expanded after starting thunderbird → [Trunk] datepicker combo from calendar tab is expanded after starting thunderbird
Comment 8•17 years ago
|
||
Confirmed using Thunderbird 3.0a1pre (2007083103) + Lightning 0.6a1 (2007083103) on Ubuntu 7.10. The popup disappears as soon as you click somewhere in the Thunderbird UI.
Comment 9•17 years ago
|
||
Similar behavior in all dialogs that use the datepicker control.
Opening the Event dialog causes two datepicker popups (start/end) to be displayed immediately. Opening the task dialog causes three datepicker popups (begin/due/completed) to be displayed immediately. ...
Comment 10•17 years ago
|
||
The problems is that minimonth fires an onmonthchange upon initialization. This makes the datepicker think that the minimonth is already displayed and that it needs to apply the reshow hack.
minimonth.constructor() calls minimonth.refreshDisplay() that calls minimonth.showMonth() that always fires the event. This patch suppresses the event the first time showMonth() is called.
Attachment #290033 -
Flags: review?(michael.buettner)
Comment 11•17 years ago
|
||
Comment on attachment 290033 [details] [diff] [review]
Don't trigger monthchange upon initialization
> The problems is that minimonth fires an onmonthchange
> upon initialization. This makes the datepicker think
> that the minimonth is already displayed and that it
> needs to apply the reshow hack.
Thanks for figuring out...
>+ var monthChanged = this.mEditorDate && (this.mEditorDate != aDate);
Nice and clean patch, thanks again. r=mickey.
Attachment #290033 -
Flags: review?(michael.buettner) → review+
Comment 12•17 years ago
|
||
patch checked in on trunk and MOZILLA_1_8_BRANCH
-> FIXED
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 15•17 years ago
|
||
Setting milestone to 0.8 although it was a trunk only bug because the patch was checked in on HEAD and MOZILLA_1_8_BRANCH.
Target Milestone: --- → 0.8
You need to log in
before you can comment on or make changes to this bug.
Description
•