Closed
Bug 1079891
Opened 11 years ago
Closed 11 years ago
Search widget not available for adding to a Android homescreen on the Android One (and likely other devices); fixed widget size can not fit on the device
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox35 fixed, firefox36 fixed, firefox37 fixed, fennec35+)
RESOLVED
FIXED
Firefox 37
People
(Reporter: aaronmt, Assigned: mfinkle)
References
Details
Attachments
(4 files)
|
1.05 KB,
patch
|
wesj
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
|
761.04 KB,
image/png
|
Details | |
|
367.48 KB,
image/png
|
Details | |
|
563.67 KB,
image/png
|
Details |
I just unboxed this Android One, installed Nightly and off the bat with things on the list broken, I do not see the widget available for adding to an Android homescreen. However, the lockscreen widget is available for adding.
--
ro.build.version.sdk=19
ro.build.version.codename=REL
ro.build.version.release=4.4.4
ro.build.product=sprout
Android One Dream UNO (4.4.4)
Nightly (10/08)
Comment 1•11 years ago
|
||
Is the allow widgets preference checked in the Android security settings?
| Reporter | ||
Comment 2•11 years ago
|
||
Yes. Double checked if it was a regression in general on other devices, I see the widget available for adding on my HTC One (M7). No particular errors through logging from the PackageManager when installing.
| Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Kevin Brosnan [:kbrosnan] from comment #1)
> Is the allow widgets preference checked in the Android security settings?
Also, that preference is only for allowing/disallowing lock-screen widgets. When enabled, it adds an empty pane with the big + button.
| Assignee | ||
Comment 4•11 years ago
|
||
Can you try installing a different 3rd party app and see if the widgets for it are shown?
tracking-fennec: ? → +
| Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(aaron.train)
| Reporter | ||
Comment 5•11 years ago
|
||
I installed Today Calendar off Google Play which includes a number of widgets and they were all available. Checked again with a reinstall of Nightly on the device today and still no widget appearing in the list. I wonder if some requirement is not met, and wether this can be shown somewhere.
Anyone else have the Spice Dream Uno?
Flags: needinfo?(aaron.train)
| Reporter | ||
Comment 6•11 years ago
|
||
Actually just spotted this
E/AppsCustomizePagedView( 789): Widget ComponentInfo{org.mozilla.fennec/org.mozilla.search.SearchWidget} can not fit on this device (450, 60)
E/AppsCustomizePagedView( 789): Widget ComponentInfo{org.mozilla.fennec/org.mozilla.search.SearchWidget} can not fit on this device (450, 60)
| Reporter | ||
Comment 7•11 years ago
|
||
| Reporter | ||
Updated•11 years ago
|
Summary: Search widget not available for adding to a Android homescreen on the Android One → Search widget not available for adding to a Android homescreen on the Android One (and likely other devices); fixed widget size can not fit on the device
| Reporter | ||
Comment 8•11 years ago
|
||
| Reporter | ||
Updated•11 years ago
|
tracking-fennec: + → ?
Updated•11 years ago
|
Assignee: nobody → wjohnston
tracking-fennec: ? → 35+
Comment 9•11 years ago
|
||
The search widget min-width is set here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/xml/search_widget_info.xml#7
I picked that number a bit... randomly. So someone with access to a One, feel free to tweak it.
| Assignee | ||
Comment 10•11 years ago
|
||
This patch makes the widget installable on my Spice AndroidOne phone. I used 250dp, which is suggested as a minWidth for widgets taking up 4 "grid cells", which our widget does:
http://developer.android.com/guide/practices/ui_guidelines/widget_design.html
Using 250dp doesn't cause a change on my Nexus S or Galaxy Nexus. Screenshots coming.
Assignee: wjohnston → mark.finkle
Attachment #8529518 -
Flags: review?(wjohnston)
| Assignee | ||
Comment 11•11 years ago
|
||
New width on a Spice AndroidOne. Android 4+ adds a nice padding around the widget.
| Assignee | ||
Comment 12•11 years ago
|
||
New width on a Nexus S. Android 2.3 does not add a nice padding around the widget. The current widget width looks the same.
| Assignee | ||
Comment 13•11 years ago
|
||
New width on a Galaxy Nexus (top) and the current width widget (bottom). This helps show how Android will change the displayed width based on the "grid cell" concept.
Updated•11 years ago
|
Attachment #8529518 -
Flags: review?(wjohnston) → review+
| Assignee | ||
Comment 14•11 years ago
|
||
| Assignee | ||
Comment 15•11 years ago
|
||
Comment on attachment 8529518 [details] [diff] [review]
widget-minwidth v0.1
Approval Request Comment
[Feature/regressing bug #]:
[User impact if declined]: Widget will not install to home screen on some phones
[Describe test coverage new/current, TBPL]: Manual because it's device dependent
[Risks and why]: low risk
[String/UUID change made/needed]: none
Attachment #8529518 -
Flags: approval-mozilla-beta?
Attachment #8529518 -
Flags: approval-mozilla-aurora?
Comment 16•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 37
Updated•11 years ago
|
Updated•11 years ago
|
Attachment #8529518 -
Flags: approval-mozilla-beta?
Attachment #8529518 -
Flags: approval-mozilla-beta+
Attachment #8529518 -
Flags: approval-mozilla-aurora?
Attachment #8529518 -
Flags: approval-mozilla-aurora+
Comment 17•11 years ago
|
||
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•