About windowmanager event

Description

About windowmanager event I have some questions,please look at below contents:

  1. 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.

  2. 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 second issue, I am considering.

Fixed

Details

Assignee

Reporter

Labels

Priority

Created January 17, 2019 at 1:58 AM
Updated October 2, 2019 at 12:02 AM
Resolved September 29, 2019 at 7:58 AM