Closed
Bug 725247
Opened 13 years ago
Closed 13 years ago
Turning the screen on doesn't repaint the screen
Categories
(Core :: Widget, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: cjones, Assigned: kanru)
References
Details
Attachments
(1 file)
1.84 KB,
patch
|
cjones
:
review+
|
Details | Diff | Splinter Review |
STR
(1) Find a page that doesn't invalidate all the freaking time
(2) Load it
(3) Turn off the screen
(4) Turn it back on
The screen stays blank because nothing ever asks gonk widgetry to repaint.
We need some sort of notification when the screen is turned off/on. Adding an nsIScreen method to deal with enable/disable should work just fine. the screen impl can call the gonk method to do the real business.
Reporter | ||
Comment 1•13 years ago
|
||
Bug 714416 isn't a functional requirement for this, but it contains a small refactoring that we need to use here.
Depends on: 714416
Reporter | ||
Comment 2•13 years ago
|
||
mwu want to grab this?
Comment 3•13 years ago
|
||
Assignee: nobody → mwu
Attachment #598892 -
Flags: review?(jones.chris.g)
Reporter | ||
Comment 4•13 years ago
|
||
Comment on attachment 598892 [details] [diff] [review]
Redraw when screen turns on
r=me for direct-to-b2g
Attachment #598892 -
Flags: review?(jones.chris.g) → review+
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
cjones, how do you want to proceed with this? I don't have any ideas for how to investigate this further.
Reporter | ||
Comment 7•13 years ago
|
||
We should send out a notification from hal when the screen goes on/off and have nsWindow listen to that. The rest of the approach here is fine.
Assignee | ||
Comment 8•13 years ago
|
||
I want to implement bug 707589 which will also help this bug. The key is /sys/power/wait_for_fb_sleep and /sys/power/wait_for_fb_wake
Depends on: 707589
Comment 9•13 years ago
|
||
(In reply to Kan-Ru Chen [:kanru] from comment #8)
> I want to implement bug 707589 which will also help this bug. The key is
> /sys/power/wait_for_fb_sleep and /sys/power/wait_for_fb_wake
Hm interesting. wait_for_fb_wake may avoid the problem we have in this bug where we have to redraw twice to get things to show.
Assignee | ||
Comment 11•13 years ago
|
||
Fixed by bug 707589 as a side effect. Verified on akami and sgs2.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•