[calendar app] event time is wrong when creating a new event
Bug #1193090 reported by
Carla Sella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calendar App |
Fix Released
|
Undecided
|
Riccardo Padovani | ||
Ubuntu UX |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When you create a new event in calendar app, the time of the event is wrong:
- Select "New Event" from the toolbar
- Insert something in all the fields a part the hour and minute ones
- in the hour field insert 22
. in the minute field insert 17 (or anything different from 0)
- save the event
you will see that the event time is displayed in the "Events " list as 22:00 instead of 22:17.
Related branches
lp:~rpadovani/ubuntu-calendar-app/1193090
- Ubuntu Phone Apps Jenkins Bot: Needs Fixing (continuous-integration)
- Riccardo Padovani (community): Approve
- Olivier Tilloy (community): Approve
-
Diff: 400 lines (+306/-25)3 files modifiedNewEvent.qml (+71/-25)
Scroller.qml (+145/-0)
TimePicker.qml (+90/-0)
summary: |
- [calendar app] time is wrong when creating a new event + [calendar app] event time is wrong when creating a new event |
description: | updated |
Changed in ubuntu-calendar-app: | |
status: | New → Confirmed |
assignee: | nobody → Riccardo Padovani (rpadovani) |
Changed in ubuntu-ux: | |
status: | New → Fix Released |
Changed in ubuntu-calendar-app: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ux: | |
assignee: | nobody → Benjamin Keyser (bjkeyser) |
Changed in ubuntu-ux: | |
assignee: | Benjamin Keyser (bjkeyser) → Giorgio Venturi (giorgio-venturi) |
importance: | Undecided → Medium |
status: | Fix Committed → Triaged |
Changed in ubuntu-ux: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
Looking at code (I'm not involved in the development of the app) there is no minute field: right field is for the end hour.
So, if you insert a new event with 22 and 17 you create an event that start at 10pm and finish at 5pm (see attachment).
So we have 3 bugs:
a - design bug: it's not simply to understand that right field is for end hour
b - logical bug: it's impossible that an event finish before its start.
c - implementation bug: we need a method to set minutes
c is very simply, just to modify [1] and [2] from Qt.formatDateTi me(defaultDate, "hh") to Qt.formatDateTi me(defaultDate, "hh:mm" ) but before making a patch rather wait a developer to know the causes of the choices
[1]http:// bazaar. launchpad. net/~ubuntu- calendar- dev/ubuntu- calendar- app/trunk/ view/head: /NewEvent. qml#L75 bazaar. launchpad. net/~ubuntu- calendar- dev/ubuntu- calendar- app/trunk/ view/head: /NewEvent. qml#L91
[2]http://
Regards,