[Scopes] All day event is seen after the day is passed

Bug #1542532 reported by Anupam
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
High
Unassigned
events-scope
Fix Committed
High
Unassigned

Bug Description

I'm not sure if this bug belongs here. If not please relocate it.
If I set an all day event in the calendar app it is shown in the Today scope as well as in the Upcoming scope. But for a few hours at the beginning of the day, the event is listed in both the "Events today" and "Upcoming Events" sections, and after the day is over, it keeps showing in the "Events today" section for some time. I suspect the time length for which these erroneous displays occur is five and half hours as my timezone is UTC+05:30.

Here you can see the event "Test prev day" scheduled on Thursday is listed in the "Events today" on Friday (at 4:40) and the event "Test" scheduled on Friday is listed in both "Events today" and "Upcoming Events":
https://launchpadlibrarian.net/236641419/screenshot20160206_044011520.png

Device: bq Aquaris E5 HD, Ubuntu 15.04 (OTA-9)

Related branches

Anupam (anupam207)
description: updated
description: updated
description: updated
description: updated
Anupam (anupam207)
description: updated
description: updated
description: updated
Revision history for this message
Anupam (anupam207) wrote :

The Date Time Indicator shows the event correctly, only during the day of the event.

description: updated
Anupam (anupam207)
description: updated
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Hi Anupam,

Thanks for reporting this. This is probably an issue with the events scope. For moment, bugs against this scope are tracked in the Savilerow project, so I am adding that.

tags: added: events
Changed in today-scope:
status: New → Invalid
Anupam (anupam207)
tags: added: calendar today upcoming
summary: - All day event is seen after the day is passed
+ [Scopes] All day event is seen after the day is passed
Changed in canonical-devices-system-image:
assignee: nobody → Yuan-Chen Cheng (ycheng-twn)
importance: Undecided → Medium
status: New → Confirmed
Changed in savilerow:
assignee: nobody → Penk Chen (penk)
Changed in canonical-devices-system-image:
importance: Medium → High
Penk Chen (penk)
Changed in savilerow:
assignee: Penk Chen (penk) → Kyle Nitzsche (knitzsche)
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Noting that this Upcoming scope has other problems. For example, I just created one event today in the calendar app.

The scope reports that I have "Events today: 1" AND "No events today".

See attached screenshot.

no longer affects: savilerow
Changed in canonical-scopes-project:
assignee: nobody → Kyle Nitzsche (knitzsche)
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

The separate issue in comment 4 is tracked in bug 1592661

affects: canonical-scopes-project → events-scope
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

I just created an all day event today and I see it in Events today AND Upcoming Events, so the bug is confirmed.

no longer affects: today-scope
Changed in events-scope:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

The problem is that an all day event has an end time on the next day, therefore it also is considered to be in the Upcoming category. This shows the Upcoming category date range and then all-day event details:

=== events. category start: "Thu Jun 16 00:00:00 2016"
=== events. category end: "Fri Jun 17 23:59:59 2016"
=== events. event start : "Wed Jun 15 00:00:00 2016 GMT"
=== events. event end : "Thu Jun 16 00:00:00 2016 GMT"

Note that the event ends at the start of June 16, which is in the category range.

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

fixed with 1.2. I have not added the click to clicks branch because translation is required for important string through bug 1592661

Changed in events-scope:
status: Confirmed → In Progress
status: In Progress → Fix Committed
assignee: Kyle Nitzsche (knitzsche) → Penk Chen (penk)
Penk Chen (penk)
tags: added: ota13
Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Revision history for this message
Anupam (anupam207) wrote :

I'm on OTA-12, stable... this bug is still present. Will the fix be released with OTA-13?

Revision history for this message
Ilonka (ilonka-o) wrote :

Hi guys... I'm using a Meizu MX4 with rc proposed and this bug is still active. I have a multiple day event ending today and it is also shown in Upcoming events.

Meizu MX 4
Ubuntu 15.04 r418

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Can we take another look? Did the fixed scope get into the tarball?

Changed in canonical-devices-system-image:
status: Fix Committed → Confirmed
Changed in events-scope:
status: Fix Committed → Confirmed
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Hi Penk, many languages now have 100% translations so lets publish: https://translations.launchpad.net/events-scope

Attached please find the click for QA and release.

Changed in events-scope:
status: Confirmed → Fix Committed
Penk Chen (penk)
tags: added: ota14
removed: ota13
Changed in canonical-devices-system-image:
assignee: Yuan-Chen Cheng (ycheng-twn) → nobody
Changed in events-scope:
assignee: Penk Chen (penk) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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