Closed
Bug 1132986
Opened 10 years ago
Closed 10 years ago
Use light-theme default system dialog in "Send tab to device" dialog
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox36 wontfix, firefox37 verified, firefox38 verified, firefox39 verified)
VERIFIED
FIXED
Firefox 39
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(3 files, 1 obsolete file)
We currently use the dark one and it's out of place.
Comment 1•10 years ago
|
||
We should keep it the same as whatever the other dialogs look like for the user
| Assignee | ||
Comment 2•10 years ago
|
||
/r/4333 - Bug 1132986 - Display a Gecko-themed dialog when sending tabs to device. r=liuche
Pull down this commit:
hg pull review -r abb79f643bc4ed5b1035e813a5ed5e83a3180971
Attachment #8569561 -
Flags: review?(liuche)
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → michael.l.comella
| Assignee | ||
Comment 3•10 years ago
|
||
Anthony, this is what you're looking for, right? It looks like the long-press context menus.
Attachment #8569562 -
Flags: feedback?(alam)
Comment 4•10 years ago
|
||
Comment on attachment 8569562 [details]
Screenshot of fix
I don't remember "looking for" this.. but I think this still applies to "Add to Firefox" from outside the app right?
Attachment #8569562 -
Flags: feedback?(alam) → feedback+
| Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Anthony Lam (:antlam) from comment #4)
> I don't remember "looking for" this.. but I think this still applies to "Add
> to Firefox" from outside the app right?
Just tested - yep.
Comment 6•10 years ago
|
||
Comment on attachment 8569561 [details]
MozReview Request: bz://1132986/mcomella
https://reviewboard.mozilla.org/r/4331/#review3631
Ship It!
Attachment #8569561 -
Flags: review?(liuche) → review+
| Assignee | ||
Comment 7•10 years ago
|
||
I assume this affects 37 and 38, but I have not tested myself.
status-firefox36:
--- → affected
status-firefox37:
--- → ?
status-firefox38:
--- → ?
status-firefox39:
--- → affected
| Assignee | ||
Updated•10 years ago
|
| Assignee | ||
Comment 8•10 years ago
|
||
| Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8569561 [details]
MozReview Request: bz://1132986/mcomella
Note that this is already shipping in 36.
Approval Request Comment
[Feature/regressing bug #]: Share overlay
[User impact if declined]:
Users with more than 3 synced devices (granted, a minority), when they open the share overlay (i.e. click "Add to Firefox") and then click to share to a device, will be presented with a black menu, rather than white. The key detail here is that our app is themed white so this is an inconsistency in styles and looks unpolished.
[Describe test coverage new/current, TreeHerder]: None
[Risks and why]:
Low - we change the theme of the dialog to an existing theme. We also change one of the attributes in the theme to hide the background window, which I'm a little more nervous of the side effects of, but I think it's fairly low risk.
[String/UUID change made/needed]:
Attachment #8569561 -
Flags: approval-mozilla-beta?
Attachment #8569561 -
Flags: approval-mozilla-aurora?
Comment 10•10 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #7)
> I assume this affects 37 and 38, but I have not tested myself.
Can you please confirm that this is actually an issue on these channels before we uplift the code? Or, if you've confirmed that both 36 and 39 are affected, I think we can safely assume that 37 and 38 are affected too.
(In reply to Michael Comella (:mcomella) from comment #9)
> Note that this is already shipping in 36.
I think you mean that we shipped this bug in 36. Is that right?
> [User impact if declined]:
> Users with more than 3 synced devices (granted, a minority), when they
> open the share overlay (i.e. click "Add to Firefox") and then click to share
> to a device, will be presented with a black menu, rather than white. The key
> detail here is that our app is themed white so this is an inconsistency in
> styles and looks unpolished.
I think this is an edge case that we can live with but, as the fix is small, I'm happy to take this in Beta 2 if it hits m-c and can be verified before we gtb on Monday afternoon ET.
> [Risks and why]:
> Low - we change the theme of the dialog to an existing theme. We also
> change one of the attributes in the theme to hide the background window,
> which I'm a little more nervous of the side effects of, but I think it's
> fairly low risk.
Can you please elaborate on what side effects are possible as a result of this change?
Flags: needinfo?(michael.l.comella)
| Assignee | ||
Comment 11•10 years ago
|
||
(In reply to Lawrence Mandel [:lmandel] (use needinfo) from comment #10)
> Or, if you've confirmed that both 36 and 39 are
> affected, I think we can safely assume that 37 and 38 are affected too.
I have and I agree - I tried to be explicit about my actions but I'll try to be more explicit about my assumptions next time too. :P
> > Note that this is already shipping in 36.
>
> I think you mean that we shipped this bug in 36. Is that right?
Yep.
> > We also
> > change one of the attributes in the theme to hide the background window,
> > which I'm a little more nervous of the side effects of, but I think it's
> > fairly low risk.
>
> Can you please elaborate on what side effects are possible as a result of
> this change?
I am not too aware of the attributes used by Window in Android applications (e.g. I was surprised to see both a non-transparent window color and non-fullscreen view specified by default when I initially wrote this patch). The android:windowBackground [1] attribute seems straight-forward enough (i.e. the color of the background window and if we're setting it transparent as we do here, it will probably just go away and not bother us), but I'm concerned about attributes I might need to set for edge case uses (e.g. distinction of opening this through the Android launcher vs. another application). However, the scope of where this code is accessed is limited (just via other applications), so I don't see many edge cases coming up.
Again, just trying to be (overly) explicit! :)
[1]: https://developer.android.com/reference/android/R.attr.html#windowBackground
Flags: needinfo?(michael.l.comella)
Comment 12•10 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #11)
> > Can you please elaborate on what side effects are possible as a result of
> > this change?
>
> I am not too aware of the attributes used by Window in Android applications
> (e.g. I was surprised to see both a non-transparent window color and
> non-fullscreen view specified by default when I initially wrote this patch).
> The android:windowBackground [1] attribute seems straight-forward enough
> (i.e. the color of the background window and if we're setting it transparent
> as we do here, it will probably just go away and not bother us), but I'm
> concerned about attributes I might need to set for edge case uses (e.g.
> distinction of opening this through the Android launcher vs. another
> application). However, the scope of where this code is accessed is limited
> (just via other applications), so I don't see many edge cases coming up.
>
> Again, just trying to be (overly) explicit! :)
I appreciate that. This information should be useful for QA exploratory testing.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
Comment 14•10 years ago
|
||
Comment on attachment 8569561 [details]
MozReview Request: bz://1132986/mcomella
Taking this for aurora, but leaving this to Lawrence to make the call, since in comment 10 we were looking to uplift it for beta 2 and it's slightly too late for that.
Attachment #8569561 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 15•10 years ago
|
||
Tested using:
Device:LG Nexus 4 (Android 4.4)
Build: Firefox for Android 39.0a1 (2015-03-04)
Open a page and go to Menu -> Share -> Add to Nightly -> Send to other devices => a white dialog "Select device" will be displayed
Updated•10 years ago
|
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
Comment 16•10 years ago
|
||
Comment on attachment 8569561 [details]
MozReview Request: bz://1132986/mcomella
The fix has been verified on Nightly. I think we're fine to take this in Beta 3. Beta+
Attachment #8569561 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•10 years ago
|
Comment 17•10 years ago
|
||
Comment 18•10 years ago
|
||
Comment 19•10 years ago
|
||
Tested using:
Device: Alcatel One Touch (Android 4.1.2)
Build: Firefox for Android 38.0a2 (2015-03-06)
Opening a page and choosing to "Add to Aurora" and "Send to other devices" , will display a white dialog "Select device".
Comment 20•10 years ago
|
||
A light-theme dialog is displayed when choosing to send a tab to other devices, so:
Verified fixed using:
Device: Sony Xperia Z2 (Android 4.4.4)
Build: Firefox for Android 37 Beta 4
| Assignee | ||
Comment 21•10 years ago
|
||
Attachment #8569561 -
Attachment is obsolete: true
Attachment #8619495 -
Flags: review+
| Assignee | ||
Comment 22•10 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
•