Closed
Bug 1115313
Opened 11 years ago
Closed 11 years ago
[FFOS7715 v2.1][gaia][window manager][gallery]Gallery displays half of the screen when unlock.
Categories
(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect, P1)
Tracking
(blocking-b2g:2.1S+, b2g-v2.1 verified, b2g-v2.1S fixed, b2g-v2.2 verified)
People
(Reporter: jinchao.wang, Assigned: gweng)
Details
(Whiteboard: sprd386315)
Attachments
(3 files)
Description:Gallery displays half of the screen when unlock.
Device: SPRD 7715ea
Steps to Reproduce:
1) open gallery
2)horizontal screen(landscape?)
3)press power button to lock screen on horizontal screen status
4)Vertical screen(portrait?)
5)press power button to light screen
6)unlock screen on Vertical screen status
Actual Result:Gallery displays half of the screen.
Expected Result:Gallery displays full of the screen
Repro frequency:10/10,100%
| Reporter | ||
Updated•11 years ago
|
Priority: -- → P1
Summary: [gaia][window manager][gallery]Gallery displays half of the screen when unlock. → [FFOS7715_v2.1][gaia][window manager][gallery]Gallery displays half of the screen when unlock.
| Reporter | ||
Comment 1•11 years ago
|
||
I has did test on Flame2.1,it has the same problem.
| Reporter | ||
Updated•11 years ago
|
Whiteboard: sprd386315
| Reporter | ||
Comment 2•11 years ago
|
||
When reproduce, we should enable 'screen lock' first in Settings App.
| Reporter | ||
Comment 3•11 years ago
|
||
This bug may because of :
Bug 1099006 - [Flame][Lock Screen]The keybord of PIN input page will be displayed on lockscreen after restart device.
Flags: needinfo?(gweng)
| Assignee | ||
Comment 4•11 years ago
|
||
Why? Regression window?
From the code I don't think so. Anyway, I would do some bisect to find out the root cause.
Flags: needinfo?(gweng)
| Reporter | ||
Comment 5•11 years ago
|
||
(In reply to Greg Weng [:snowmantw][:gweng][:λ] from comment #4)
> Why? Regression window?
>
> From the code I don't think so. Anyway, I would do some bisect to find out
> the root cause.
Dear Greg Weng:
It prevents the spread of 'system-resize'. Video,Gallery and Browser have the same issue. Please check,thanks! I can reproduce 100% on Flame.
| Assignee | ||
Comment 6•11 years ago
|
||
Yes. What I looks for is the actual root cause. The bug looks not like the root cause.
| Assignee | ||
Comment 7•11 years ago
|
||
(Of course if it is I would still fix it according the bug).
| Assignee | ||
Comment 8•11 years ago
|
||
OK. With Alive's opinion the fix should happen at
https://github.com/mozilla-b2g/gaia/blob/v2.1/apps/system/js/layout_manager.js#L173
to remove the condition. So that every window would be re-sized.
| Assignee | ||
Comment 10•11 years ago
|
||
The patch makes it resizing after unlocking. However, user would see the resizing transition few ms, if this is what we expect than this is a valid patch.
I now also check if v2.0 need this fix.
Attachment #8541530 -
Flags: review?(alive)
| Assignee | ||
Comment 11•11 years ago
|
||
Well with v2.0 there is another bug occurs (orientation related, Bug 1110960). The patch is waiting approval. I may check it again after the patch landed.
| Assignee | ||
Comment 12•11 years ago
|
||
Alive: I also fix another bug only on v2.1 that breaks LockScreen too: if there is no LockScreen window been created while booting(via build variable), and then we turn it on and rotate screen with apps like Gallery or Video, user would see a broken LockScreen after pressing the power button. This is because when LockScreenWindowManager firstly create the window, the screen is still in landscape mode, so the rendering code would get wrong H/W. I patched this by adding a mozLockOrientation call before LWM create the window.
(And this only happens on v2.1).
Comment 13•11 years ago
|
||
[Blocking Requested - why for this release]:
Regression
blocking-b2g: --- → 2.1?
Updated•11 years ago
|
Attachment #8541530 -
Flags: review?(alive) → review+
| Assignee | ||
Comment 14•11 years ago
|
||
Comment on attachment 8541530 [details] [review]
Patch v2.1
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Bug 1099006
[User impact] if declined: Gallery broken as the description
[Testing completed]:With known intermittent error: https://treeherder.mozilla.org/ui/#/jobs?repo=gaia-try&revision=e7ce5af11238
[Risk to taking this patch] (and alternatives if risky): No
[String changes made]: No
Attachment #8541530 -
Flags: approval-gaia-v2.1?(bbajaj)
| Reporter | ||
Updated•11 years ago
|
Summary: [FFOS7715_v2.1][gaia][window manager][gallery]Gallery displays half of the screen when unlock. → [FFOS7715 _v2.1][gaia][window manager][gallery]Gallery displays half of the screen when unlock.
| Reporter | ||
Updated•11 years ago
|
Summary: [FFOS7715 _v2.1][gaia][window manager][gallery]Gallery displays half of the screen when unlock. → [FFOS7715 v2.1][gaia][window manager][gallery]Gallery displays half of the screen when unlock.
Comment 17•11 years ago
|
||
Comment on attachment 8541530 [details] [review]
Patch v2.1
Requesting QA verification once this lands on 2.1.
Attachment #8541530 -
Flags: approval-gaia-v2.1?(bbajaj) → approval-gaia-v2.1+
| Assignee | ||
Comment 18•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Comment 19•11 years ago
|
||
This issue dose not exist on Flame 2.1/2.2
Flame 2.1
Gaia-Rev ed2e278753e8c9301ba322dcf2c3591f5928408d
Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/127a0ead5f83
Build-ID 20150108001214
Version 34.0
Flame 2.2 build:
Gaia-Rev d4dac29613076bdba3cb8adc217deadb08a2ac20
Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/70de2960aa87
Build-ID 20150108010221
Version 37.0a1
Reproduce rate 0/10
Comment 20•11 years ago
|
||
Hi Vincent, Kai-Zhen, we will need the solution for 2.1S.
blocking-b2g: 2.1+ → 2.1S+
Flags: needinfo?(vliu)
Flags: needinfo?(styang)
Flags: needinfo?(kli)
Comment 21•11 years ago
|
||
Bug fixed in v2.1 will get merged into v2.1s regularly.
https://hg.mozilla.org/releases/mozilla-b2g34_v2_1s/rev/127a0ead5f83
Flags: needinfo?(vliu)
Flags: needinfo?(kli)
Updated•10 years ago
|
status-b2g-v2.1S:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•