[agl-discussions] ivi-shell layer visibility problem

Ucan, Emre (ADITG/ESB) eucan at de.adit-jv.com
Wed Feb 14 10:30:57 UTC 2018


Hello Jan,

I think they are window manager bugs.

Surface 1 is the home screen, and surface 2 is the music player.

In good startup, visibility of surface 1 is set to 1. Therefore, it is visible.
In bad startup, visibility of surface 1 is 0. Therefore, it is not visible. Window manager has to set the visibility.

When you clicked music player button, window manager set visibility of surface 2 to 1. Therefore, music player is visible.
But window manager does not set back to 0 when you clicked the homescreen button.

Best regards

Emre Ucan
Engineering Software Base (ADITG/ESB)

Tel. +49 5121 49 6937

> -----Original Message-----
> From: Jan Lübbe [mailto:jlu at pengutronix.de]
> Sent: Mittwoch, 14. Februar 2018 09:39
> To: Ucan, Emre (ADITG/ESB); automotive-
> discussions at lists.linuxfoundation.org
> Subject: Re: [agl-discussions] ivi-shell layer visibility problem
> 
> Hi Emre,
> 
> On Wed, 2018-02-14 at 07:25 +0000, Ucan, Emre (ADITG/ESB) wrote:
> > Here some documentation:
> > https://at.projects.genivi.org/wiki/display/PROJ/Wayland+IVI+Extensio
> > n+Design
> 
> Thanks!
> 
> > Can you send me the output of LayerManagerControl get scene in bad
> > case, good case ?
> 
> Please take a look here, this is for the problem on startup:
> https://gist.github.com/jluebbe/1e7d98ce258f486b209b9c2c7d91a307#file-
> startup-good-scene-txt
> https://gist.github.com/jluebbe/1e7d98ce258f486b209b9c2c7d91a307#file-
> startup-bad-scene-txt
> 
> The difference is:
> --- startup-bad.scene.txt	2018-02-14 09:29:09.095766870 +0100
> +++ startup-good.scene.txt	2018-02-14 09:29:09.131766636 +0100
> @@ -24,13 +24,13 @@
> 
>          surface 1 (0x1)
>          ---------------------------------------
> -        - created by pid:       444
> +        - created by pid:       442
>          - original size:      x=1080, y=1920
>          - destination region: x=0, y=0, w=1080, h=1920
>          - source region:      x=0, y=0, w=1080, h=1920
>          - opacity:            1
> -        - visibility:         0
> -        - frame counter:      2
> +        - visibility:         1
> +        - frame counter:      13
>          - on layer:           1000(0x3e8)
> 
>      layer 1001 (0x3e9)
> 
> 
> In the good case, I then clicked on the Music icon, which worked correctly:
> https://gist.github.com/jluebbe/1e7d98ce258f486b209b9c2c7d91a307#file-
> music-good-scene-txt
> 
> Then I clicked on the Home icon, but the music player stayed visible:
> https://gist.github.com/jluebbe/1e7d98ce258f486b209b9c2c7d91a307#file-
> back-to-homescreen-bad-scene-txt
> 
> Best regards,
> Jan Lübbe
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the automotive-discussions mailing list