timezone incorrectly modified when editing/creating google calendar event

Bug #1311165 reported by Bill Filler
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Fix Released
High
Unassigned
Ubuntu UI Toolkit
Fix Released
Critical
Renato Araujo Oliveira Filho
qtorganizer5-eds
Fix Released
High
Renato Araujo Oliveira Filho
qtorganizer5-eds (Ubuntu)
Confirmed
High
Unassigned

Bug Description

We are not preserving the time zone of a calendar event after editing it.

- Create an event in Google Calendar (using browser calendar.google.com), at 12pm local time, call it "Test"
- Ensure your timezone on device is set to your correct timezone (UTC -4 in my case) by accessing system-settings
- Import Calendar from Google account (by setting up online account for Google)
- Verify the "Test" event shows up correctly in Calendar app at 12pm
- Now edit the event and change the description to "Test, 123" and save the event.
- After the sync runs (wait one or two minutes), open your browser and reload your google calendar

Expected result:
- Event should be called "Test, 123" and still at 12pm local time

Actual results:
- Event is correctly updated to show "Test, 123" but time has shifted to 3pm local time

We should not be modifying the timezone when editing the event

Tags: rtm14

Related branches

Changed in ubuntu-calendar-app:
status: New → Confirmed
Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

Tried to add log to calendar and debug the issue, before and after editing event. Event timezone is same for QML event object.

Looks like EDS is not preserving time zone

Event Details: Sat May 24 15:00:00 2014 GMT+0900 -- Sat May 24 18:30:00 2014 GMT+0900
Edit events start up: Sat May 24 15:00:00 2014 GMT+0900 -- Sat May 24 18:30:00 2014 GMT+0900
before saving Edit: Sat May 24 15:00:00 2014 GMT+0900 -- Sat May 24 18:30:00 2014 GMT+0900
After saving Edit: Sat May 24 15:00:00 2014 GMT+0900 -- Sat May 24 18:30:00 2014 GMT+0900
Event Details: Sat May 24 15:00:00 2014 GMT+0900 -- Sat May 24 18:30:00 2014 GMT+0900

affects: ubuntu-calendar-app → qtorganizer5-eds
Bill Filler (bfiller)
Changed in qtorganizer5-eds:
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
importance: Undecided → Medium
Bill Filler (bfiller)
summary: - timezone incorrectly modified when editing google calendar event
+ timezone incorrectly modified when editing/creating google calendar
+ event
Changed in qtorganizer5-eds:
importance: Medium → High
Changed in qtorganizer5-eds (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
tags: added: rtm14
Changed in ubuntu-ui-toolkit:
status: Confirmed → Fix Committed
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit:
milestone: none → 10.24
Revision history for this message
Omer Akram (om26er) wrote :

So I am testing the silo that is supposed to fix this. Here are the problems that I see.

  * If I change the event name from 'Test' to Test, 123' it does update the event name on the google calendar but the
     event disappears from the Calendar app.

  * If the initially created event was initially set to be at 12pm and would last for 0 minutes. Now after changing the title
     from calendar it changes the event to be an hour long.

Revision history for this message
Omer Akram (om26er) wrote :

So basically on changing an event its making it an hour long, even though its initial length was 0minutes or 30 minutes.

Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Changed in qtorganizer5-eds:
status: Confirmed → Fix Released
Changed in qtorganizer5-eds (Ubuntu):
status: Confirmed → Fix Released
Bill Filler (bfiller)
Changed in ubuntu-calendar-app:
importance: Undecided → High
Changed in qtorganizer5-eds (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Bill Filler (bfiller) wrote :

This is still broken on rtm and vivid releases. I don't know if the problem exists on the qtorganizer5-eds side or the calendar app side.

Here is the problem and how to reproduce:

Problem 1:
1) my current timezone on the phone is set for UTC -5 (EST)
2) sync google calendar
3) create a new calendar event in Calendar app for 8am and save it on the Google calendar
4) wait for sync to happen
5) open Google calendar in browser

Expected results:
- new event should be seen at 8am on Google calendar in browser

Actual results:
- new event is seen at 1pm on Google calendar in browser

Problem 2:
1) my current timezone on the phone is set for UTC -5 (EST)
2) sync google calendar
3) edit an event in the calendar app that came from google calendar, and change it's description
4) wait for sync to happen
5) open Google calendar in browser

Expected results:
- calendar event viewed in Google calendar on browser should remain at original time and show an updated description

Actual results:
- calendar event is moved 5 hrs forward in Google calendar

Changed in ubuntu-calendar-app:
status: New → Confirmed
Changed in ubuntu-calendar-app:
status: Confirmed → Fix Released
Revision history for this message
Dominique Ramaekers (dominique-ramaekers) wrote :

I still have this issue with my google calendar. My ubuntu phone is updated to OTA 6 and my calendar app is on version 0.4.711 (3 sep 2015)...

Is the fix not yet implemented?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.