Cannot undo in task tab or today pane
Categories
(Calendar :: Tasks, defect, P2)
Tracking
(thunderbird_esr78 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | wontfix |
People
(Reporter: psychonaut, Assigned: lasana)
References
Details
(Keywords: dataloss)
Attachments
(2 files)
After deleting an event or task from the task tab or the today pane, the Undo command in the Edit window remains deactivated. Please allow event/task deletions to be undone.
Comment 1•7 years ago
|
||
Wow I am surprised this feature was never added or even reported beforehand. Maybe I haven't found the duplicate bug though. Confirming.
Comment 3•6 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] from comment #1) > Wow I am surprised this feature was never added or even reported beforehand. > Maybe I haven't found the duplicate bug though. Confirming. There was Bug 258258 - Add "REDO" AND "UNDO" facility to calendar. But apparently it did not go far enough? There is https://support.mozilla.org/en-US/questions/1172143
Comment 5•6 years ago
|
||
Hit by this bug again, today. I thought I was in a spreadsheet, but the window focus was really on Thunderbird's Tasks tab. I started entering a number with a decimal in it, and my task was deleted with no warning! What happened also exposes another bug (for which I'll open a ticket): the decimal key, if Num Lock is on, is not a delete key, but Thunderbird Lightning treats it as such. Even pressing the keyboard's main period key (the key with the ">" and "." symbols) deletes a task if the task is highlighted!
Comment 6•6 years ago
|
||
Opened Mozilla Bugzilla 1409560 for the `period key is not a delete key` issue. But re-looking at this cannot-undo-delete bug, I see it was opened against Lightning 4.7.7. I'm currently using Lightning 5.4.3. Should another bug be opened for that version?
Updated•6 years ago
|
Updated•5 years ago
|
Comment 7•2 years ago
|
||
Something needs hooking up. https://searchfox.org/comm-central/source/calendar/base/src/CalTransactionManager.jsm does support undo
Comment 8•2 years ago
|
||
Wow, I did not realize this Bugzilla ticket was still open. But yes, I see in my Thunderbird 78.10.1 that one can still not undo a task deletion.
Thanks, Magnus, for pointing out the code module and assigning this ticket to Lasana. (Good luck, Lasana.)
![]() |
Assignee | |
Updated•2 years ago
|
![]() |
Assignee | |
Comment 9•2 years ago
|
||
It appears that adding an event does not enable the undo menu either.
![]() |
Assignee | |
Comment 10•2 years ago
|
||
This was accomplished by making the CalTransactionManager class aware of
batch transactions which can result in peeking of the transaction stack
to return null.
![]() |
Assignee | |
Updated•2 years ago
|
![]() |
Assignee | |
Updated•2 years ago
|
![]() |
Assignee | |
Updated•2 years ago
|
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/0f4f406ddf3e
Enable undo/redo for event creation and deletion. r=darktrojan
Comment 12•2 years ago
|
||
Pushed by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/fbb43934b5ae followup - fix linting. rs=eslint DONTBUILD
Comment 13•2 years ago
|
||
Bct1 on linux seems to be failing. https://treeherder.mozilla.org/jobs?repo=comm-central&selectedTaskRun=Trzeom4mSf6A4umSbRIZfA.0 (others still running)
![]() |
Assignee | |
Comment 14•2 years ago
|
||
I forgot to rebase after Geoff removed some of the lightning references.
![]() |
Assignee | |
Comment 15•2 years ago
|
||
Also takes advantage of saveAndCloseItemDialog() new behaviour of
waiting for the dialog to be closed.
Comment 16•2 years ago
|
||
Geoff - please include in next push to fix tests.
Comment 18•2 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/d5d385497178
Follow up: update lightning references in test. r=mkmelin
Comment 20•2 years ago
|
||
Verified using Thunderbird 91.0b4 on Fedora Linux.
Description
•