Closed
Bug 466095
Opened 17 years ago
Closed 17 years ago
Text description still appears after task is deleted
Categories
(Calendar :: Calendar Frontend, defect)
Calendar
Calendar Frontend
Tracking
(Not tracked)
RESOLVED
FIXED
1.0b1
People
(Reporter: adelinoaraujo, Assigned: Fallen)
References
Details
Attachments
(1 file)
|
4.74 KB,
patch
|
berend.cornelius09
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b1) Gecko/20081007 Firefox/3.1b1
Build Identifier: Thunderbird version 2.0.0.18 (20081105)
check that there are no task created
create new task in calendar view (right side) and add some text to the task
delete the task (right-button mouse and delete task)
switch to task view (left down)
the deleted task text, is still in the lower-panel
Reproducible: Always
Steps to Reproduce:
1.check that there are no task created
2.create new task in calendar view (right side) and add some text to the task
3.delete the task (right-button mouse and delete task)
4.switch to task view (left down)
5.the deleted task text, is still in the lower-panel
Actual Results:
The description text of the task keep's appearing in the description location, but the task was deleted.
Expected Results:
No text should appear
It is more than cosmetic than a real problem. But if I delete a task, I don't want that text to stay in the description box. It's a bug, but a minor bug.
Updated•17 years ago
|
Product: Thunderbird → Calendar
QA Contact: general → general
Version: 2.0 → unspecified
Updated•17 years ago
|
Component: General → Lightning Only
QA Contact: general → lightning
Comment 1•17 years ago
|
||
Same problem as Berend works on bug 404039? The tree's observer is not registered. Adding dependency so we could check once it's fixed.
Comment 2•17 years ago
|
||
The same problem with last nightly build.
What about 1.0 to fix it?
Comment 3•17 years ago
|
||
Checked in lightning build 20081218, reproducible also with Linux and MAC
Status: UNCONFIRMED → NEW
Component: General → Calendar Views
Ever confirmed: true
OS: Windows Vista → All
QA Contact: general → views
Hardware: x86 → All
Updated•17 years ago
|
Flags: blocking-calendar1.0+
| Assignee | ||
Comment 4•17 years ago
|
||
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #357790 -
Flags: review?(Berend.Cornelius)
| Assignee | ||
Updated•17 years ago
|
Whiteboard: [needs review]
Updated•17 years ago
|
Attachment #357790 -
Flags: review?(Berend.Cornelius) → review+
Comment 5•17 years ago
|
||
Comment on attachment 357790 [details] [diff] [review]
Fix - v1
>+ let index = tree.currentIndex;
>+ if (tree.view && tree.view.selection) {
>+ // If the current index is not selected, then ignore
>+ index = (tree.view.selection.isSelected(index) ? index : -1);
>+ }
I think this implementation should be within the property implementation of "currentIndex", shouldn't it?
r=berend
| Assignee | ||
Comment 6•17 years ago
|
||
No, currentIndex is (see nsITreeSelection) the node that has is marked active (i.e has a dotted line around it). This does not mean its selected (i.e the item is highlighted.
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/28e654cdf8e6>
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0
Updated•17 years ago
|
Whiteboard: [needs review]
Comment 7•17 years ago
|
||
in reply to comment #6:
But then "currentTask" should also refer to the active task and not to the selected. When I look at the code again I see that there is even a "selectedTasks" property that you could have used as well.
| Assignee | ||
Comment 8•17 years ago
|
||
I didn't want *all* selected tasks, but the currently active task that is selected. I don't think it makes sense to display the task information when it is not selected. I don't really mind though, do you really think we should change this back?
| Assignee | ||
Comment 9•14 years ago
|
||
These bugs are likely targeted at Lightning 1.0b1, not Lightning 1.0. If this change was done in error, please adjust the target milestone to its correct value. To filter on this bugspam, you can use "lightning-10-target-move".
Target Milestone: 1.0 → 1.0b1
You need to log in
before you can comment on or make changes to this bug.
Description
•