Closed
Bug 1218844
Opened 10 years ago
Closed 10 years ago
Fix apps/system/regions/status_bar.py
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: njpark, Assigned: njpark)
References
Details
(Keywords: qawanted, Whiteboard: [systemsfe])
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1179723 +++
Due to the bug 1179723, the StatusBar class methods return incorrect value. For example, when in a fullscreen app, it reports the status bar is being displayed while there isn't. For example, in case of fullscreen app, it appears that one needs to check the screen element for it to set its name to 'fullscreen-app minimized-tray' when the status bar is being displayed.
| Assignee | ||
Updated•10 years ago
|
Comment 1•10 years ago
|
||
Sorry about that. Note that we are moving the statusbar out of the viewport, so probably the tests need to do something as we did in the Gij ones:
https://github.com/mozilla-b2g/gaia/commit/17fd5bd7a909a0bbecf672f3027add75565078ab#diff-3bcfdb8ced809559fa10c1c40223e77dR70
Let me know how can I help for fixing them. Thanks!
Comment 2•10 years ago
|
||
I just checked in the fix for bug 1217870. Not sure how much that helps here.
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → npark
Comment 3•10 years ago
|
||
| Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8679596 [details] [review]
[gaia] npark-mozilla:1218844 > mozilla-b2g:master
This simple fix seems to cover the fullscreen app cases, while existing test cases are still passing.
Attachment #8679596 -
Flags: review?(martijn.martijn)
Attachment #8679596 -
Flags: review?(jlorenzo)
| Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Alberto Pastor [:albertopq] from comment #1)
> Sorry about that. Note that we are moving the statusbar out of the viewport,
> so probably the tests need to do something as we did in the Gij ones:
>
> https://github.com/mozilla-b2g/gaia/commit/
> 17fd5bd7a909a0bbecf672f3027add75565078ab#diff-
> 3bcfdb8ced809559fa10c1c40223e77dR70
>
> Let me know how can I help for fixing them. Thanks!
Aha, thanks for the tip, I saw your comment after I filed my PR. maybe your way is more robust.
Comment 6•10 years ago
|
||
Comment on attachment 8679596 [details] [review]
[gaia] npark-mozilla:1218844 > mozilla-b2g:master
I think it can be made a little bit simpler, but it looks good for the rest.
I thought that elements out of the viewport return False for element.is_displayed(), but apparently that's not the case?
Or is the statusbar still partly visible?
Attachment #8679596 -
Flags: review?(martijn.martijn) → review+
Comment 7•10 years ago
|
||
Comment on attachment 8679596 [details] [review]
[gaia] npark-mozilla:1218844 > mozilla-b2g:master
Looks goot to me, modulo the small indentation nit.
Attachment #8679596 -
Flags: review?(jlorenzo) → review+
| Assignee | ||
Comment 8•10 years ago
|
||
All comments incorporated, and Merged:
https://github.com/mozilla-b2g/gaia/commit/453948536f33d93a2119231368097dc998904f32
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•