In case set_app_property_mode(1) can not switch from POPUP to FULLSCREEN

Won't Fix

Description

set_app_property_mode(1)
set_app_property(POPUP)
create surface and display it
observe popup window is shown properly
close application

set_app_property(FULLSCREEN)
create surface and display it
observe that still popup window is displayed

Environment

None

Activity

Show:

Vasyl Vavrychuk 
May 3, 2022 at 12:34 PM

I achieved needed behaviour by

set_app_property_mode(1) set_app_property(POPUP) create surface and display it set_app_property_mode(0) set_app_property_mode(1) set_app_property(FULLSCREEN) create surface and display it

Thanks for help!

Marius Vlad 
May 3, 2022 at 8:43 AM

Either don't use set_app_property(1) when switching roles, or change back to set_app_property(0) when creating a new (surface) role.

If that doesn't work please open a new Jira ticket.

Marius Vlad 
May 3, 2022 at 8:41 AM

Well, the whole purpose of `set_app_property_mode()` is to behave like this. It was introduced https://lf-automotivelinux.atlassian.net/browse/SPEC-4133.

According to the protocol at https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/agl-compositor.git;a=blob;f=protocol/agl-shell-desktop.xml;h=e4445bd071f242b229789c68dc71d04ea2eed140;hb=refs/heads/master#l119

Any subsequent application matching that app_id would survive a potential
application destruction. Note that this request will take effect
globally on all applications.

Is there anything else that I'm missing, cause this seems to me to be the correct and intended effect?

Details

Assignee

Reporter

Components

Priority

Created April 30, 2022 at 2:03 PM
Updated May 24, 2022 at 10:34 PM
Resolved May 3, 2022 at 8:43 AM

Flag notifications