Closed Bug 575993 Opened 14 years ago Closed 14 years ago

Sync Now and Disconnect buttons clickable before being connected

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: aakashd, Assigned: mfinkle)

Details

Attachments

(3 files, 1 obsolete file)

Build Id:
Mozilla/5.0 (X11; U; Linux armv71; Nokia N900; en-US; rv:2.0b2pre) Gecko/2010630 Namoroka/4.0b2pre Fennec/2.0a1pre

Note: Use a new profile or a profile that hasn't logged in to sync.

Steps to Reproduce:
1. Go to the Controls Window | Preferences
2. Scroll down to the Sync Area of the pane


Actual Results:
The Sync button and Disconnect buttons are shown and clickable even though I haven't connected yet.

Expected Results:
Both buttons should at least be hidden before connecting.
Attached image Sync buttons screenshot
With sync landing in prefs, the sync buttons each live in its own row.   This design is pretty fugly.
Attached patch patch (obsolete) — Splinter Review
This patch initializes the "device", "disconnect" and "sync now" rows as hidden, until the sync system connects. The code does the same thing, but since connection was delayed, all the rows were visible.
Assignee: nobody → mark.finkle
Attachment #455254 - Flags: review?(mbrubeck)
Shows how the rows look after connected. They are separate (disconnect and sync now) because there is text in them.
Comment on attachment 455254 [details] [diff] [review]
patch

r+

In the final UI, we should do something similar with the textboxes (either collapse or disable until initialized).
Attachment #455254 - Flags: review?(mbrubeck) → review+
Attached patch patch 2Splinter Review
Same as previous patch, but calls WeaveGlue._updateOptions in WeaveGlue.init so the UI is updated ASAP
Attachment #455254 - Attachment is obsolete: true
Attachment #455260 - Flags: review?(mbrubeck)
Attachment #455260 - Flags: review?(mbrubeck) → review+
pushed:
http://hg.mozilla.org/mobile-browser/rev/2cf36a20b82b
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
verified FIXED on builds:
Mozilla/5.0 (X11; U; Linux armv71; Nokia N900; en-US; rv:2.0b2pre) Gecko/2010701 Namoroka/4.0b2pre Fennec/2.0a1pre


and fennec-electrolysis-maemo5-gtk
Status: RESOLVED → VERIFIED
tracking-fennec: ? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: