Closed
Bug 1088723
Opened 10 years ago
Closed 9 years ago
Status bar visible while handling pick activity with Camera
Categories
(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)
Tracking
(tracking-b2g:backlog, b2g-v2.1 wontfix, b2g-v2.2 fixed, b2g-master fixed)
People
(Reporter: gerard-majax, Assigned: mancas)
References
Details
(Keywords: polish, regression, Whiteboard: [systemsfe])
Attachments
(1 file)
46 bytes,
text/x-github-pull-request
|
alive
:
review+
bajaj
:
approval-gaia-v2.2+
|
Details | Review |
Reproduced on current master, with Flame KK and Nexus S. STR: 0. Open SMS app 1. Compose new message 2. Tap attachment, select Photo/Camera Expected: Taking picture, no statusbar visible. Actual: Taking picture, but the statusbar is visible.
Flags: needinfo?(firefoxos-ux-bugzilla)
Comment 1•10 years ago
|
||
Believe status bar should be visible. Checking with Katie.
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(kcaldwell)
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Stephany Wilkes from comment #1) > Believe status bar should be visible. Checking with Katie. As far as I remember, we were hiding statusbar previously for this usecase. And Android does too. Having a statusbar there is quite misleading (not to mention that we have perf issues on this topic, I remember Vivien working on this for the utility tray).
The camera, when accessed via SMS, should follow the same behaviour as camera app itself. The status bar is not visible by default, but can be activated by dragging from the top edge.
Flags: needinfo?(kcaldwell)
Reporter | ||
Comment 4•10 years ago
|
||
(In reply to katieC from comment #3) > The camera, when accessed via SMS, should follow the same behaviour as > camera app itself. The status bar is not visible by default, but can be > activated by dragging from the top edge. So there's clearly a bug, since we see the statusbar always, not just when dragging it.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → b.mcb
Assignee | ||
Comment 5•10 years ago
|
||
This is a first approach to solve this bug. Please let me know any change we should implement to improve the solution. Thanks!
Attachment #8513307 -
Flags: review?(timdream)
Comment 6•10 years ago
|
||
Comment on attachment 8513307 [details] [review] No status bar - patch Alive should review this, but I hardly thinks hardcoding the origin of Camera app is the right solution.
Attachment #8513307 -
Flags: review?(timdream) → review?(alive)
Comment 7•10 years ago
|
||
Comment on attachment 8513307 [details] [review] No status bar - patch Bad. If we want to implement this feature, what we should do is control the "statusbar shadow" part in activityWindow: if we are fullscreen activity judging from manifest, we may need to hide the shadow statusbar on init. Or even don't render it. https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/app_window.js#L511
Attachment #8513307 -
Flags: review?(alive) → review-
Assignee | ||
Comment 8•10 years ago
|
||
Alive, the decission about if the activity is fullscreen or not, gives priority to the parent app: this._fullscreen = this.rearWindow ? this.rearWindow.isFullScreen() : this.manifest ? !!this.manifest.fullscreen : false; What you said about the |statusbar-shadow|, AFAIK, doesn't hide the status bar. If we want to prioritize the fullscreen mode from the child activity, we should change the order of the previous code. Could you clarify this, please?
Flags: needinfo?(alive)
Comment 9•10 years ago
|
||
(In reply to Manuel Casas Barrado [:mancas] from comment #8) > Alive, the decission about if the activity is fullscreen or not, gives > priority to the parent app: > > this._fullscreen = this.rearWindow ? > this.rearWindow.isFullScreen() : > this.manifest ? > !!this.manifest.fullscreen : > false; > > What you said about the |statusbar-shadow|, AFAIK, doesn't hide the status > bar. If we want to prioritize the fullscreen mode from the child activity, > we should change the order of the previous code. Could you clarify this, > please? Apparent it is not designed to use the original fullscreen property because long time ago statusbar is not working with AppWindow well and we are not requested to do that. Now since you want to change the behavior, please fix that function. Note: this is a feature request. We should be careful about any regressions.
Flags: needinfo?(alive)
Comment 10•10 years ago
|
||
Adding a reference to bug 1090152, seems likely that the same patch could regress both of these.
See Also: → 1090152
Updated•10 years ago
|
status-b2g-v2.1:
--- → affected
status-b2g-v2.2:
--- → affected
Reporter | ||
Comment 13•9 years ago
|
||
I still see the issue on my build that is a couple of days old ...
Assignee | ||
Comment 14•9 years ago
|
||
Comment on attachment 8513307 [details] [review] No status bar - patch Alive, I've modified the function that handle the fullscreen mode. Now, the function prioritizes the fullscreen mode of the activity that is going to be opened, but using the fullscreen mode of its parent app, if the fullscreen mode in the manifest is not defined. Could you review it when you get a chance? Thanks!
Flags: needinfo?(b.mcb)
Attachment #8513307 -
Flags: review- → review?(alive)
Comment 15•9 years ago
|
||
Comment on attachment 8513307 [details] [review] No status bar - patch LGTM, thank you Mancas.
Attachment #8513307 -
Flags: review?(alive) → review+
Comment 16•9 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/9534a664e50fefe5c7a9face4de61a2e11b95e8e
Comment 17•9 years ago
|
||
Manuel, please request v2.2 uplift when you get the chance.
Flags: needinfo?(b.mcb)
Assignee | ||
Comment 18•9 years ago
|
||
Comment on attachment 8513307 [details] [review] No status bar - patch [Approval Request Comment] [Bug caused by] (feature/regressing bug #): Activity Window [User impact] if declined: The status bar will be visible in fullscreen apps, camera per example, when it's opened from another app. [Testing completed]: Yes [Risk to taking this patch] (and alternatives if risky): Low [String changes made]: No
Flags: needinfo?(b.mcb)
Attachment #8513307 -
Flags: approval-gaia-v2.2?
Updated•9 years ago
|
Attachment #8513307 -
Flags: approval-gaia-v2.2? → approval-gaia-v2.2+
Comment 19•9 years ago
|
||
v2.2: https://github.com/mozilla-b2g/gaia/commit/20439b8528a21f61184f2f5173dad1bdffb40563
Target Milestone: --- → 2.2 S5 (6feb)
Updated•9 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•