Closed Bug 965888 Opened 10 years ago Closed 6 years ago

[B2G][Calendar] Calendar sync button remains accessible after unchecking any online calendars

Categories

(Firefox OS Graveyard :: Gaia::Calendar, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-, b2g-v1.2 affected, b2g-v1.3 affected)

RESOLVED WONTFIX
blocking-b2g -
Tracking Status
b2g-v1.2 --- affected
b2g-v1.3 --- affected

People

(Reporter: croesch, Unassigned)

References

Details

(Whiteboard: dogfood1.3, burirun1.3-2, burirun1.3-3)

Attachments

(2 files)

Description:
  In the Calendar app, when a user adds an Online calendar such as Google, a sync button will appear in the calendar select window. However when the user disables all online calendars, the sync button remains for offline calendar. The sync button does not have a function at this point.

Repro Steps:
1) Update Buri to Build ID: 20140127004002
2) Launch the Calendar app.
3) Tap on the Calendars tray icon.
4) Notice there is no calendar sync button at the bottom by default.
5) Tap the + button and sign into an online calendar such as a Google calendar.
6) Notice that a sync button now appears and both Offline and Online calendars have check marks.
7) Uncheck all calendars and notice that the sync button persists and tapping the icon does not do anything.

Actual:
 Calendar sync button remains even when online calendars are not active.

Expected:
 Sync button for calendars should only be present when online calendars are enabled.

Environmental Variables
Device: Buri 1.3 Moz Ril
Build ID: 20140127004002
Gecko: http://hg.mozilla.org/releases/mozilla-aurora/rev/c40099a42c1f
Gaia: 25a45a836a4a21a30f63fa7b544b42e8b781180a
Platform Version: 28.0a2
Firmware Version: V1.2-device.cfg

Notes:
Repro frequency: 100%
Test Suite Name: Calendar
UCID: Calendar-011
Link to failed test case: https://moztrap.mozilla.org/runtests/run/3071/env/347/?
See attached: screenshot
Attached file log.txt
The sync button is still present when online calendars are disabled in 1.2 with the following enviromental variables:

Device: buri V1.2 MOZ RIL
Build ID: 20140128004004
Gecko: http://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/d10e1f965d0c
Gaia: 539a25e1887b902b8b25038c547048e691bd97f6
Platform Version: 26.0
Firmware Version: v1.2-device.cfg
Disregard that it failed a test case. It's not going to fail the test case as it's written right now. It was going to be changed but failing it does not make sense since the test case was passed because of the way it was written.


Regarding the bug itself, it would be beneficial to simply grey out the sync button when no online calendars are active. Removing the icon when no online calendars are active can be confusing to the user and may appear as buggy.
Whiteboard: dogfood1.3
Whiteboard: dogfood1.3 → dogfood1.3, burirun1.3-2
Whiteboard: dogfood1.3, burirun1.3-2 → dogfood1.3, burirun1.3-2, burirun1.3-3
nominating for 1.4? Triage team.
blocking-b2g: --- → 1.4?
blocking-b2g: 1.4? → -
Gareth, can you mark this bug to block the visual design refresh of Calendar?  that way QA can retest this when that lands.  thanks.
Flags: needinfo?(gaye)
Flags: needinfo?(gaye)
Keywords: qawanted
Keywords: qawanted
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: