Closed Bug 1668983 Opened 4 years ago Closed 4 years ago

New task window won't save nor close

Categories

(Calendar :: Tasks, defect)

defect

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: mat444, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36

Steps to reproduce:

After auto-updating to 78.3.1, I am unable to add new tasks with Thunderbird. For additional informations, my tasks are linked to my Google account.
I basically just click on "Task" button to create a new task. The pop-up window appear, but when I click on "save and close" or even just on the close button, nothing happens. The new task window remain on the screen, no matter how long I wait. It's impossible to close it.

Actual results:

I basically just click on "Task" button to create a new task. The pop-up window appear, but when I click on "save and close" or even just on the close button, nothing happens. The new task window remain on the screen, no matter how long I wait. It's impossible to close it.
I need to use the program manager to kill Thunderbird in order to close this window.

Expected results:

The task should be saved, synchronized with my Google tasks and the window should close.

Are you using an add-on to access google services?

Component: Untriaged → Tasks
Flags: needinfo?(mat444)
Product: Thunderbird → Calendar
Version: 78 → unspecified

Yes, I am using "Provider for Google Calendar" (https://addons.thunderbird.net/en-US/thunderbird/addon/provider-for-google-calendar/)
I have been using Thunderbird for so long I forgot we needed a plugin to access google service, I thought it was built-in TB.
I don't know if the bug is related to this plugin. I can read/create/modify events with this plugin. I can read task created via Google Task, it's just this bug with the new task window.
Is there a log file somewhere that could help troubleshoot it ?

Flags: needinfo?(mat444)

Thanks for updating the report. Hopefully TCW can advise you further

(In reply to mat444 from comment #2)

Yes, I am using "Provider for Google Calendar" (https://addons.thunderbird.net/en-US/thunderbird/addon/provider-for-google-calendar/)
I have been using Thunderbird for so long I forgot we needed a plugin to access google service, I thought it was built-in TB.
I don't know if the bug is related to this plugin. I can read/create/modify events with this plugin. I can read task created via Google Task, it's just this bug with the new task window.
Is there a log file somewhere that could help troubleshoot it ?

I was using this add-on quite a while ago before 78.x was released but wound up switching to CalDAV as I found Provider For Google Cal not reliable. But no, you do not need it for accessing Google calendars. CalDAV is the generic standard to access calendars. Although setting CalDAV up is a bit ham-fisted, I can assist if you'd rather switch to CalDAV it as opposed to Provider add-on. I too have been using TB for at least a decade as well as previously using Provider add-on. I'm happier with CalDAV now that I have it working.

If not, can you try doing this:

  1. Load TB and CTRL-Shift-J so the Error Console is open
  2. With Error Console open, click the little garbage can in the top left corner to clear out anything in the Error Console window
  3. Switch back to TB and open a new task and try to create it and save it
  4. If it refuses to, please switch over to Error Console and see what, if any, errors it's reporting and post them here and scrub any personally identifying info for your own privacy
Flags: needinfo?(mat444)

I will try using CalDAV tomorrow.

Meanwhile, using the Error Console, I have made some progress with the bug (Thanks Arthur !). The default reminder is not defined, and it prevents the window from closing (error below)

Uncaught TypeError: defaultReminders is undefined
    gdataInitUI resource://gdata-provider/legacy/modules/ui/gdata-lightning-item-iframe.jsm:161
    x resource://gdata-provider/legacy/modules/gdataUtils.jsm:1383
    saveDialog chrome://lightning/content/lightning-item-iframe.js:1700
    saveItem chrome://lightning/content/lightning-item-iframe.js:3161
    isItemChanged chrome://lightning/content/lightning-item-iframe.js:4118
    onCommandCancel chrome://lightning/content/lightning-item-iframe.js:520
    onCancel chrome://lightning/content/lightning-item-iframe.js:582
    receiveMessage chrome://lightning/content/lightning-item-iframe.js:243'

If I set the reminder to any value but "Default Reminder", the window will close.
Is there a way to configure this value in Thunderbird to avoid this problem when I don't want to specify any specific reminder ?

Flags: needinfo?(mat444)

I just created this bug report on github to notify the developer of the plugin. Hopefully, he can also check if it's related to his plugin or the Lightning Calendar

(In reply to mat444 from comment #5)

I will try using CalDAV tomorrow.

Meanwhile, using the Error Console, I have made some progress with the bug (Thanks Arthur !). The default reminder is not defined, and it prevents the window from closing (error below)

If I set the reminder to any value but "Default Reminder", the window will close.
Is there a way to configure this value in Thunderbird to avoid this problem when I don't want to specify any specific reminder ?

Interesting. Default usually is 15 minutes, I think. But you're saying it was blank?

BTW, the format for CalDAV is https://apidata.googleusercontent.com/caldav/v2/<somegmailaccount@gmail.com>/events

So: CTRL+ Shift+C > New Calendar > On The Network > Username = full gmail address, Location = should autopolulate to gmail.com so choose Find Calendars button or use the above link format > log in to the gmail account when the popus prompt you > then choose Allow. That's it.

(In reply to Arthur K. from comment #7)

I mean the value "Default reminder" is selected by default in the drop-down list for the reminder duration. It always was the case in the previous versions, and never had a problem when I kept this parameter unchanged. With this new version, it seems like the "Default reminder" text is not associated to any value. Perhaps a config variable / register was modified and this value was lost ?


![screen capture] (https://i.ibb.co/pz6RQPX/Sans-titre.png)

(In reply to Arthur K. from comment #7)
I followed your advice to switch to CalDAV. I managed to configure my Calendars, but I don't know how to retrieve my google tasks via CalDAV. Is that even possible ? Could you please help me ?
Thanks !

Unfortunately Google doesn't let you access tasks through CalDAV.

(In reply to Magnus Melin [:mkmelin] from comment #10)

Unfortunately Google doesn't let you access tasks through CalDAV.

Crud, I didn't know that. Sorry mat444, didn't know it didn't support Tasks. 1 step forward, 2 steps back apparently.

Ok, no problem. I will search for support on Provider for Google Calendar Github. Meanwhile, do you know if there is another add-on that supports Google Tasks ?

Not that I know of.

Resolving as MOVED because the problem is tracked in the gdata-provider Github project.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → MOVED
You need to log in before you can comment on or make changes to this bug.