About windowmanager event I have some questions,please look at below contents:
For debugging onscreenapp I updated master recipes in 2019/1/20 and compiled,but when I debugging onscreenapp, I found that after calling deactivateWindow windowmanager wasn't working as expected, the log was in wm.log file.
About Event_ScreenUpdated application can receive this event when new application window showing, the json contents as below:
When I debuged onscreenapp and show onscreen window,I got Event_ScreenUpdated as below:
Then I touch onscreen's button to hide onscreen,at this time I can't get Event_ScreenUpdated. From upper logs,I understood that only when show application windowmanager will emit Event_ScreenUpdated.is it right?
IMHO,it's not enough for applications.Below was a humble view of mine,please comment on it.Thank you in advance.
set all displaying application's id in Event_ScreenUpdated event who displaying on different layers.
when on all layers displaying status changed,windowmanager will emit Event_ScreenUpdated event.
Environment
None
Attachments
1
Activity
Show:
knimitz
January 25, 2019 at 8:26 AM
> Then I touch onscreen's button to hide onscreen,at this time I can't get Event_ScreenUpdated.
> From upper logs,I understood that only when show application windowmanager will emit Event_ScreenUpdated.is it right?
Yes, the targets of Event_ScreenUpdated are new visible applications.
knimitz
January 25, 2019 at 8:26 AM
About the first issue, I found the bug of libwindowmangaer. After fix libwindowmangaer, I confirmed windowmanager can react deactivateWindow as expected.
About windowmanager event I have some questions,please look at below contents:
For debugging onscreenapp I updated master recipes in 2019/1/20 and compiled,but when I debugging onscreenapp, I found that after calling deactivateWindow windowmanager wasn't working as expected, the log was in wm.log file.
About Event_ScreenUpdated application can receive this event when new application window showing,
the json contents as below:
When I debuged onscreenapp and show onscreen window,I got Event_ScreenUpdated as below:
Then I touch onscreen's button to hide onscreen,at this time I can't get Event_ScreenUpdated.
From upper logs,I understood that only when show application windowmanager will emit Event_ScreenUpdated.is it right?
IMHO,it's not enough for applications.Below was a humble view of mine,please comment on it.Thank you in advance.
set all displaying application's id in Event_ScreenUpdated event who displaying on different layers.
when on all layers displaying status changed,windowmanager will emit Event_ScreenUpdated event.