[Calendar] Changing view doesn't take over selected day
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calendar App |
Fix Released
|
Low
|
Kunal Parmar | ||
Ubuntu UX |
Fix Committed
|
Low
|
James Mulholland |
Bug Description
Monthly, weekly and daily view doesn't synchronize the currently selected day.
Current Behavior A:
1) Open app and switch to monthly view
2) Select an arbitrary day by taping the day's number -> The selected day will be highlighted.
3) Push the current day button -> The selection will disappear.
4) Again, select another day by taping.
5a) Switch to the daily view (via menu). -> It will open the daily view of the current day.
5b) Switch to the weekly view (via menu) -> It will open the weekly view with the current day selected.
5c) Tap on the day's number again -> It will open the daily view of the selected day.
Expected Behavior A:
3) The current day should become selected.
5a) The previously selected day should opened in daily view.
5b) The previously selected day should become selected in weekly view.
5c) Correct behavior.
Current Behavior B:
1) Open app. -> The weekly view is selected in weekly view.
2) Scroll to another week by wiping and select an arbitrary day by taping the day's name (except mondays e.g. 2015-09-01). -> The selected day will be highlighted.
3a) Switch to the daily view -> It will open the daily view of the monday of the selected day's week (e.g. 2015-08-31).
3b) Switch to the monthly view -> It will open the monthly view and display the month of the monday of the selected day's week (e.g. August)
3c) Tap on the day's name again -> It will open the daily view of the selected day.
Expected Behavior B:
3a) The previously selected day should opened in daily view (e.b. 2015-09-01).
3b) The month of the previously selected day should be displayed (e.g. September - not August!) and the previously selected day should become selected in monthly view.
3c) Correct behavior.
--- --- --- ---
UX Comment:
I would recommend highlight (when visible to the user) should indicate selection when using the nav menu to switch views.
@Kunal Parmar - Something of an edge case but, as described in the bug report, disconcerting in practice.
i.e. If a day is highlighted in the Month or Week view, either a subsequent tap on that day in the Month/Week view OR selecting 'day' from the nav menu should result in the previously highlighted day being shown.
Related branches
- Mihir Soni: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 342 lines (+104/-4)9 files modifiedMonthComponent.qml (+24/-2)
MonthComponentDateDelegate.qml (+1/-0)
MonthView.qml (+7/-0)
TimeLineBaseComponent.qml (+7/-0)
TimeLineHeader.qml (+14/-0)
TimeLineHeaderComponent.qml (+18/-2)
WeekView.qml (+7/-0)
calendar.qml (+11/-0)
dateExt.js (+15/-0)
Changed in ubuntu-calendar-app: | |
status: | New → Confirmed |
Changed in ubuntu-calendar-app: | |
importance: | Undecided → Medium |
assignee: | nobody → Kunal Parmar (pkunal-parmar) |
Changed in ubuntu-ux: | |
assignee: | nobody → James Mulholland (jamesjosephmulholland) |
importance: | Undecided → Low |
Changed in ubuntu-ux: | |
status: | New → Triaged |
summary: |
- Changing view doesn't take over selected day + [calendar] Changing view doesn't take over selected day |
description: | updated |
Changed in ubuntu-ux: | |
status: | Triaged → Fix Committed |
summary: |
- [calendar] Changing view doesn't take over selected day + [Calendar] Changing view doesn't take over selected day |
Changed in ubuntu-calendar-app: | |
status: | Triaged → In Progress |
Changed in ubuntu-calendar-app: | |
status: | Fix Committed → Fix Released |
Switching from one week to another automatically selects the week's Monday in weekly view. This auto-selection is synchronized with daily view and might be an explanation for Monday-anomaly described in Behaviour B.
Remark: I'm using a German calendar where Monday is the first day of week and Sunday is the last one.