-
Bug
-
Resolution: Fixed
-
Major
-
None
As it can be seen from logs attached to SPEC-4119, I am using set_app_property to put popup surface to HDMI-A-1 output:
[1498813.338] zxdg_output_manager_v1@4.get_xdg_output(new id zxdg_output_v1@3, wl_output@6) [1498813.401] -> zxdg_output_v1@3.logical_position(1080, 0) [1498813.447] -> zxdg_output_v1@3.logical_size(1920, 1080) [1498813.494] -> zxdg_output_v1@3.name("HDMI-A-1") [1498813.525] -> zxdg_output_v1@3.done() [1498814.070] agl_shell_desktop@7.set_app_property("ivi-to-ic", 0, 640, 180, 0, 0, 640, 720, wl_output@6)
But it is displayed on the HDMI-A-2. I have used following commands to collect screenshots:
sh-5.0# agl-screenshooter -l Output 'HDMI-A-2', desc: '(null)' Output 'HDMI-A-1', desc: '(null)' sh-5.0# agl-screenshooter -o HDMI-A-2 sh-5.0# mv agl-screenshot-2020-06-29_03-11-17.png HDMI-A-2.png sh-5.0# agl-screenshooter -o HDMI-A-1 sh-5.0# mv agl-screenshot-2020-06-29_03-11-37.png HDMI-A-1.png
As you can see there is black rectangle on HDMI-A-2. This is my popup window.
I think reason of such behavior it that HDMI-A-2 comes first in outputs list.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
26836,3 | layout: Fix-up the positions when placing the pop-up/dialog | master | src/agl-compositor | Status: MERGED | +2 | 0 |
26865,1 | layout: Fix-up the positions when placing the pop-up/dialog | lamprey | src/agl-compositor | Status: MERGED | +2 | 0 |
26879,2 | agl-compositor_git: Bump SRCREV | lamprey | AGL/meta-agl | Status: MERGED | +2 | +1 |