Closed Bug 815964 Opened 13 years ago Closed 13 years ago

[Bluetooth] We should disable the sharing option for bluetooth if not paired

Categories

(Firefox OS Graveyard :: Gaia::Bluetooth, defect, P4)

x86
macOS
defect

Tracking

(blocking-basecamp:-)

RESOLVED WORKSFORME
blocking-basecamp -

People

(Reporter: tchung, Unassigned)

Details

If device is not paired via bluetooth, i think we should grey out or disable the option to share an image via bluetooth transfer in the Gallery app. Currently, it's there to tap, but nothing happens. Logcat: 11-27 21:42:20.188: I/GeckoDump(107): XXX FIXME : Got a mozContentEvent: activity-choice 11-27 21:42:20.408: E/GeckoConsole(107): Content JS INFO at app://system.gaiamobile.org/js/window_manager.js:988 in createFrame: %%%%% Launching Bluetooth Transfer as remote (OOP) Repro: 1) install 11-27-2012 unagi nightly build. Do not pair Bluetooth device with another device. * Version=18.0, BuildID=20121127071547 * gaia: 1087df834f985c4d01db455eb60163789499e086 * gecko: 04c2d4fc726f99facfabf85ebe6376996cac5dc8 2) launch gallery, select a picture, click the Share 3) tap "Send to bluetooth device" 4) Verify there's no web activity and it just cancels out Expected: - dont give the option to pair bluetooth if there's nothing connected Actual: - user can tap an option that's not going to work. nothing evil happens, it just does nothing.
This is not a gallery bug. Sharing is an activity and the gallery has no control over what appears in the Share menu. I don't actually think that they system or the bluetooth app can do what you suggest either. I'm pretty sure that the UX for the bluetooth file transfer was supposed to allow you to turn on bluetooth if it was off, and then presumably offer to pair for you or something. If that is not happening, then maybe this is a bluetooth bug. Cc'ing Ian Liu and changing the title and component. Ian: I know you can't disable the menu item, so maybe you should just close this as Invalid. But maybe there is something the bluetooth app could do if it is unpaired.
Component: Gaia::Gallery → Gaia::Bluetooth File Transfer
Summary: [Gallery] We should disable the sharing option for bluetooth if not paired → [Bluetooth] We should disable the sharing option for bluetooth if not paired
Can we instead, just launch a dialog window and take the user to Settings app, where they can configure bluetooth? I noticed if email sharing isnt setup, the dialog appears me to the email activity with a message that it needs to be configured. Much nicer user experience.
We would take a patch if there is one.
blocking-basecamp: ? → -
Priority: -- → P4
Doesn't reproduce anymore
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.