Closed
Bug 950623
Opened 11 years ago
Closed 10 years ago
[Messages] Multi-recipient. Back button is kept as pressed after going back from recipients details list
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(blocking-b2g:1.3+, b2g-v1.1hd wontfix, b2g-v1.2 wontfix, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed)
People
(Reporter: isabelrios, Assigned: steveck)
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
v1.3 12/16 build: Gecko-6e22321 Gaia-1752e9e STR Create a new message Add to numbers or contacts into the To field Add an attachment Send the message Once sent, open it and tap on the header Once the recipient's details view is shown, go back tapping on '<' button EXPECTED User is taken back normally ACTUAL It is possible to go back without problems, but the back button '<' in the message view after coming back from the recipient's details view is shown as already pressed. Please see screenshot attached.
Reporter | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
Hey Vivien, this is a regression of your :focus patch. How should we fix this?
Flags: needinfo?(21)
Updated•11 years ago
|
Keywords: regressionwindow-wanted
Updated•11 years ago
|
QA Contact: jzimbrick
Comment 3•11 years ago
|
||
Regression Window: Last Working Environmental Variables: Device: Buri v1.3 Mozilla RIL BuildID: 20131018040217 Gaia: 18c2ab4b7b2d4cacee90fb85e97354142b2fad4a Gecko: 855da6d8a327 Version: 27.0a1 Base Image: V1.2_20131115 First Broken Environmental Variables: Device: Buri v1.3 Mozilla RIL BuildID: 20131019040204 Gaia: d0861c2913a57cb681ec4cd4d52d73cc0f479ac9 Gecko: e25e62d174ed Version: 27.0a1 Base Image: V1.2_20131115
Keywords: regressionwindow-wanted
Comment 5•11 years ago
|
||
Discussed with Vivien, we'll just override the :hover style on the back button and it should just work.
Flags: needinfo?(21)
Updated•11 years ago
|
Assignee: nobody → felash
Updated•10 years ago
|
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
Updated•10 years ago
|
Assignee: felash → schung
Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #5) > Discussed with Vivien, we'll just override the :hover style on the back > button and it should just work. Hi Julien/Vivien, Since gecko patch in bug 863702 already landed too, do we still need hover patch in bug 921824? Another question is the element seems kept in hover state even after touchend. Is this a correct behavior? It might be annoying for element has been set hover styling in building block for solving the active state issue, but they have to override the hover state if there is no state change after touches.
Flags: needinfo?(felash)
Flags: needinfo?(21)
Comment 7•10 years ago
|
||
> Another question is the element seems kept in hover state even after touchend. Is this a correct behavior?
Yep this is the behavior on all mobile platforms. This is especially useful for CSS-only menus that use :hover to display the subitems, and that we find a lot in the web.
I'll let Vivien answer the other question.
Flags: needinfo?(felash)
Comment 8•10 years ago
|
||
(In reply to Steve Chung [:steveck] from comment #6) > (In reply to Julien Wajsberg [:julienw] from comment #5) > > Discussed with Vivien, we'll just override the :hover style on the back > > button and it should just work. > > Hi Julien/Vivien, > Since gecko patch in bug 863702 already landed too, do we still need hover > patch in bug 921824? Another question is the element seems kept in hover > state even after touchend. Is this a correct behavior? It might be annoying > for element has been set hover styling in building block for solving the > active state issue, but they have to override the hover state if there is no > state change after touches. The issue is that :hover is intended when the page will be removed from the screen. Then when the user touch something else the state should be removed. It seems like you are using back in a different way ?
Flags: needinfo?(21)
Assignee | ||
Comment 9•10 years ago
|
||
(In reply to Vivien Nicolas (:vingtetun) (:21) from comment #8) > The issue is that :hover is intended when the page will be removed from the > screen. Then when the user touch something else the state should be removed. > It seems like you are using back in a different way ? Yes, we don't refresh the header while switchinh these 2 views, here we only switch the content in the subpanel below. Overriding the hover style will having another problem that original active state will become unable to display in some scenario... I will find another solution for it(or any other suggestion to clear the hover state in JS would be helpful), thanks.
Assignee | ||
Comment 10•10 years ago
|
||
Another important thing is the structure of this view in master is different from v1.3. Any changes of this view or even only this back button will cause conflict, which mean it might not a simple uplift task from master to v1.3. I will try to find a simple solution(overriding the button css seems not working...) workable for both master and 1.3, but it still posible that become 2 different solutions for 2 branches.
Assignee | ||
Comment 11•10 years ago
|
||
Here is the hover css overriding patch. It seems work except one bug: when enter the multiple recipient view and back to thread ui view, if you click the back button directly, active style is not applied. I'm not sure if it's a gecko bug or not, but it seems a more acceptable result then original one. Hi Julien, should we create another gecko bug for it and land this css only patch first, or find another solution(BTW I could not find any JS solution to remove the hover status... :/) for it?
Attachment #8361132 -
Flags: feedback?(felash)
Comment 12•10 years ago
|
||
Comment on attachment 8361132 [details] [diff] [review] hover_css.patch Review of attachment 8361132 [details] [diff] [review]: ----------------------------------------------------------------- The real fix is to have another header element for the information views. Let's land this (with my comment) to unblock 1.3 but can you file another bug to have another header element for the information views in master ? ::: apps/sms/style/sms.css @@ +1059,5 @@ > } > + > +section[role="region"] > header:first-child > a:not([aria-disabled="true"]):hover:after { > + background-color: #F97C17 !important; > +} arg this is so ugly :( to fix your remaining bug, you can add a new rule with the selector: section[role="region"] > header:first-child > a:not([aria-disabled="true"]):hover:active:after
Attachment #8361132 -
Flags: feedback?(felash) → feedback+
Assignee | ||
Comment 13•10 years ago
|
||
Thanks for the suggestion, will create another bug for master later and having another button in the information view header is also the only solution that comes to my mind.
Attachment #8361132 -
Attachment is obsolete: true
Attachment #8362343 -
Flags: review?(felash)
Updated•10 years ago
|
Target Milestone: 1.3 C2/1.4 S2(17jan) → 1.3 C3/1.4 S3(31jan)
Comment 14•10 years ago
|
||
Comment on attachment 8362343 [details] [review] Link to github r=me with a comment change
Attachment #8362343 -
Flags: review?(felash) → review+
Assignee | ||
Comment 15•10 years ago
|
||
Patch merged with comment addressed. Landed in master: 27e7019096c13319b54158d4e10340ac161c3c9c
Status: NEW → RESOLVED
Closed: 10 years ago
status-b2g-v1.1hd:
--- → wontfix
status-b2g-v1.2:
--- → wontfix
status-b2g-v1.3:
--- → affected
status-b2g-v1.4:
--- → fixed
Resolution: --- → FIXED
Target Milestone: 1.3 C3/1.4 S3(31jan) → 1.3 C2/1.4 S2(17jan)
Comment 16•10 years ago
|
||
Uplifted 27e7019096c13319b54158d4e10340ac161c3c9c to: v1.3: 61e86eb31fb2923c177604345fdf04b3215962a6
Reporter | ||
Comment 17•10 years ago
|
||
(In reply to Steve Chung [:steveck] from comment #13) > Created attachment 8362343 [details] [review] > Link to github > > Thanks for the suggestion, will create another bug for master later and > having another button in the information view header is also the only > solution that comes to my mind. Hi Steve, did you file that bug for master? Could you please share the number? Thanks!
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(schung)
Assignee | ||
Comment 18•10 years ago
|
||
(In reply to Isabel Rios [:isabel_rios] from comment #17) > (In reply to Steve Chung [:steveck] from comment #13) > > Created attachment 8362343 [details] [review] > > Link to github > > > > Thanks for the suggestion, will create another bug for master later and > > having another button in the information view header is also the only > > solution that comes to my mind. > > Hi Steve, did you file that bug for master? Could you please share the > number? Thanks! Hi Isabel, it is bug 961572.
Flags: needinfo?(schung)
Reporter | ||
Comment 19•10 years ago
|
||
With today's builds (01/24) On v1.3 this bug is solved: Gecko-d387d39 Gaia-0a79a06 But for master, Gecko-85b8bb0 Gaia-4699d23 The back icon '<' has been changed for the close one 'x', there is already a bug for that: Bug 963109.
Assignee | ||
Comment 20•10 years ago
|
||
We change the back button icon image on purpose, but we didn't uplift this changes in v1.3. Please see the attachment 8344654 [details] and we should wait for Jose's comment in Bug 963109.
Reporter | ||
Comment 21•10 years ago
|
||
Hi Steve, We know, but after checking with Ayman (UX) we opened bug 963109 as that back button should not be changed by close one on that screen. Anyway, lets wait for Jose's comment. Thanks
Reporter | ||
Comment 22•10 years ago
|
||
On that screen I mean on Multi-recipient participants view, not the Message report one, where the close button is right
Updated•10 years ago
|
status-b2g-v1.3T:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•