Does weston 2.0 dispaly a full-screen (not pop-up) window on top of a full-screen application?

Ruei, Eric e-ruei1 at ti.com
Fri Jul 13 14:38:54 UTC 2018


To whom it may concern:

We encounter an issue of Weston 2.0 that the control menu window of  QT5 deform full-screen application either not shows up or not stays on the screen.  One of QT5 engineers declare that the Wayland compositor may decide not to display a full-screen window on top of  a full-screen application. Is it true?  Does the Weston behave differently from  Weston 1.11?  Please note that the same application works well over Weston 1.11 and qwindow-compositor.

Here is a sample log with WAYLAND_DEBUG=1.

Main-screen:
[ 47010.088]  -> wl_compositor at 4.create_surface(new<mailto:wl_compositor at 4.create_surface(new> id wl_surface at 18)
[ 47011.777]  -> wl_shm_pool at 11.create_buffer(new<mailto:wl_shm_pool at 11.create_buffer(new> id wl_buffer at 20, 4032, 10, 16,
40, 0)
[ 47012.029]  -> wl_pointer at 14.set_cursor(0<mailto:wl_pointer at 14.set_cursor(0>, wl_surface at 15, 1, 1)
[ 47012.188]  -> wl_surface at 15.attach(wl_buffer at 20<mailto:wl_surface at 15.attach(wl_buffer at 20>, 0, 0)
[ 47012.236]  -> wl_surface at 15.damage(0<mailto:wl_surface at 15.damage(0>, 0, 10, 16)
[ 47012.290]  -> wl_surface at 15.commit()<mailto:wl_surface at 15.commit()>
[ 47012.527]  -> wl_registry at 2.bind(18<mailto:wl_registry at 2.bind(18>, "xdg_shell", 1, new id [unknown]@21)
[ 47012.611]  -> xdg_shell at 21.use_unstable_version(5)<mailto:xdg_shell at 21.use_unstable_version(5)>
Using the 'xdg-shell-v5' shell integration
[ 47012.724]  -> xdg_shell at 21.get_xdg_surface(new<mailto:xdg_shell at 21.get_xdg_surface(new> id xdg_surface at 22, wl_surface@
18)
[ 47012.823]  -> xdg_surface at 22.set_title("Vector<mailto:xdg_surface at 22.set_title(%22Vector> Deformation")
[ 47012.887]  -> xdg_surface at 22.set_app_id("deform")<mailto:xdg_surface at 22.set_app_id(%22deform%22)>
[ 47012.938]  -> wl_surface at 18.set_buffer_scale(1)<mailto:wl_surface at 18.set_buffer_scale(1)>
[ 47013.015]  -> xdg_surface at 22.set_fullscreen(nil)<mailto:xdg_surface at 22.set_fullscreen(nil)>
[ 47013.058]  -> wl_surface at 18.set_buffer_transform(0)<mailto:wl_surface at 18.set_buffer_transform(0)>
[ 47013.093]  -> wl_surface at 18.commit()<mailto:wl_surface at 18.commit()>
[ 47013.114] wl_keyboard at 3.repeat_info(40<mailto:wl_keyboard at 3.repeat_info(40>, 400)
[ 47013.151] wl_keyboard at 3.keymap(1<mailto:wl_keyboard at 3.keymap(1>, fd 6, 48097)
[ 47024.502] xdg_surface at 22.configure(800<mailto:xdg_surface at 22.configure(800>, 480, array, 1136)
[ 47024.654]  -> xdg_surface at 22.ack_configure(1136)<mailto:xdg_surface at 22.ack_configure(1136)>
[ 47025.490]  -> wl_shm at 7.create_pool(new<mailto:wl_shm at 7.create_pool(new> id wl_shm_pool at 23, fd 11, 1536000)
[ 47025.555]  -> wl_shm_pool at 23.create_buffer(new<mailto:wl_shm_pool at 23.create_buffer(new> id wl_buffer at 24, 0, 800, 480,
3200, 0)
[ 47039.436]  -> wl_surface at 18.frame(new<mailto:wl_surface at 18.frame(new> id wl_callback at 25)
[ 47039.570]  -> wl_surface at 18.attach(wl_buffer at 24<mailto:wl_surface at 18.attach(wl_buffer at 24>, 0, 0)
[ 47039.685]  -> wl_surface at 18.damage(0<mailto:wl_surface at 18.damage(0>, 0, 800, 480)
[ 47039.784]  -> wl_surface at 18.commit()<mailto:wl_surface at 18.commit()>
[ 47039.903]  -> wl_surface at 18.frame(new<mailto:wl_surface at 18.frame(new> id wl_callback at 26)
[ 47039.940]  -> wl_surface at 18.attach(wl_buffer at 24<mailto:wl_surface at 18.attach(wl_buffer at 24>, 0, 0)
[ 47040.017]  -> wl_surface at 18.damage(0<mailto:wl_surface at 18.damage(0>, 0, 800, 480)
[ 47040.061]  -> wl_surface at 18.commit()<mailto:wl_surface at 18.commit()>
[ 47040.088]  -> wl_surface at 18.frame(new<mailto:wl_surface at 18.frame(new> id wl_callback at 27)
[ 47040.115]  -> wl_surface at 18.attach(wl_buffer at 24<mailto:wl_surface at 18.attach(wl_buffer at 24>, 0, 0)
[ 47040.152]  -> wl_surface at 18.damage(0<mailto:wl_surface at 18.damage(0>, 0, 800, 480)
[ 47040.195]  -> wl_surface at 18.commit()<mailto:wl_surface at 18.commit()>

...

Control Menu:
[ 77712.673] wl_pointer at 14.button(1759<mailto:wl_pointer at 14.button(1759>, 19546163, 273, 0)
[ 77712.787] xdg_shell at 21.ping(1760)<mailto:xdg_shell at 21.ping(1760)>
[ 77712.823]  -> xdg_shell at 21.pong(1760)<mailto:xdg_shell at 21.pong(1760)>
[ 77713.369]  -> wl_compositor at 4.create_surface(new<mailto:wl_compositor at 4.create_surface(new> id wl_surface at 31)
[ 77718.628]  -> xdg_shell at 21.get_xdg_surface(new<mailto:xdg_shell at 21.get_xdg_surface(new> id xdg_surface at 27, wl_surface@
31)
[ 77718.720]  -> xdg_surface at 27.set_title("deform")<mailto:xdg_surface at 27.set_title(%22deform%22)>
[ 77718.771]  -> xdg_surface at 27.set_app_id("deform")<mailto:xdg_surface at 27.set_app_id(%22deform%22)>
[ 77718.809]  -> wl_surface at 31.set_buffer_scale(1)<mailto:wl_surface at 31.set_buffer_scale(1)>
[ 77722.823]  -> wl_surface at 31.set_buffer_transform(0)<mailto:wl_surface at 31.set_buffer_transform(0)>
[ 77722.873]  -> wl_surface at 31.commit()<mailto:wl_surface at 31.commit()>
[ 77723.182]  -> wl_shm at 7.create_pool(new<mailto:wl_shm at 7.create_pool(new> id wl_shm_pool at 32, fd 11, 225504)
[ 77723.258]  -> wl_shm_pool at 32.create_buffer(new<mailto:wl_shm_pool at 32.create_buffer(new> id wl_buffer at 33, 0, 216, 261,
864, 0)
[ 77745.426]  -> wl_surface at 31.frame(new<mailto:wl_surface at 31.frame(new> id wl_callback at 34)
[ 77745.479]  -> wl_surface at 31.attach(wl_buffer at 33<mailto:wl_surface at 31.attach(wl_buffer at 33>, 0, 0)
[ 77745.523]  -> wl_surface at 31.damage(3<mailto:wl_surface at 31.damage(3>, 30, 210, 228)
[ 77745.568]  -> wl_surface at 31.commit()<mailto:wl_surface at 31.commit()>
[ 77745.619]  -> wl_surface at 31.frame(new<mailto:wl_surface at 31.frame(new> id wl_callback at 35)
[ 77745.648]  -> wl_surface at 31.attach(wl_buffer at 33<mailto:wl_surface at 31.attach(wl_buffer at 33>, 0, 0)
[ 77745.685]  -> wl_surface at 31.damage(3<mailto:wl_surface at 31.damage(3>, 30, 210, 228)
[ 77745.729]  -> wl_surface at 31.commit()<mailto:wl_surface at 31.commit()>
[ 77746.154]  -> wl_shm at 7.create_pool(new<mailto:wl_shm at 7.create_pool(new> id wl_shm_pool at 36, fd 11, 225504)
[ 77746.231]  -> wl_shm_pool at 36.create_buffer(new<mailto:wl_shm_pool at 36.create_buffer(new> id wl_buffer at 37, 0, 216, 261,
864, 0)
[ 77750.230]  -> wl_surface at 31.frame(new<mailto:wl_surface at 31.frame(new> id wl_callback at 38)
[ 77750.273]  -> wl_surface at 31.attach(wl_buffer at 37<mailto:wl_surface at 31.attach(wl_buffer at 37>, 0, 0)
[ 77750.313]  -> wl_surface at 31.damage(3<mailto:wl_surface at 31.damage(3>, 30, 210, 228)
[ 77750.357]  -> wl_surface at 31.commit()<mailto:wl_surface at 31.commit()>
[ 77750.410] wl_surface at 31.enter(wl_output at 10)<mailto:wl_surface at 31.enter(wl_output at 10)>
[ 77750.439] wl_keyboard at 3.leave(1761<mailto:wl_keyboard at 3.leave(1761>, wl_surface at 18)
[ 77750.514] wl_keyboard at 3.modifiers(1762<mailto:wl_keyboard at 3.modifiers(1762>, 0, 0, 0, 0)
[ 77750.569] wl_keyboard at 3.enter(1762<mailto:wl_keyboard at 3.enter(1762>, wl_surface at 31, array)
[ 77750.608] wl_data_device at 9.selection(nil)<mailto:wl_data_device at 9.selection(nil)>
[ 77750.631] xdg_surface at 22.configure(800<mailto:xdg_surface at 22.configure(800>, 480, array, 1763)
[ 77750.687]  -> wl_display at 1.sync(new<mailto:wl_display at 1.sync(new> id wl_callback at 39)
[ 77750.736]  -> xdg_surface at 22.ack_configure(1763)<mailto:xdg_surface at 22.ack_configure(1763)>
[ 77750.758] xdg_surface at 27.configure(0<mailto:xdg_surface at 27.configure(0>, 0, array, 1764)
[ 77750.801]  -> xdg_surface at 27.ack_configure(1764)<mailto:xdg_surface at 27.ack_configure(1764)>
[ 77750.981] wl_display at 1.delete_id(39)<mailto:wl_display at 1.delete_id(39)>
[ 77751.006] wl_buffer at 33.release()<mailto:wl_buffer at 33.release()>
[ 77751.022] wl_callback at 39.done(1764)<mailto:wl_callback at 39.done(1764)>
[ 77757.482]  -> wl_surface at 18.frame(new<mailto:wl_surface at 18.frame(new> id wl_callback at 29)
[ 77757.556]  -> wl_surface at 18.attach(wl_buffer at 24<mailto:wl_surface at 18.attach(wl_buffer at 24>, 0, 0)
[ 77757.607]  -> wl_surface at 18.damage(0<mailto:wl_surface at 18.damage(0>, 0, 800, 480)
[ 77757.654]  -> wl_surface at 18.commit()<mailto:wl_surface at 18.commit()>
[ 77757.712]  -> wl_surface at 18.frame(new<mailto:wl_surface at 18.frame(new> id wl_callback at 39)
[ 77757.741]  -> wl_surface at 18.attach(wl_buffer at 24<mailto:wl_surface at 18.attach(wl_buffer at 24>, 0, 0)
[ 77757.779]  -> wl_surface at 18.damage(0<mailto:wl_surface at 18.damage(0>, 0, 800, 480)
[ 77757.822]  -> wl_surface at 18.commit()<mailto:wl_surface at 18.commit()>
[ 77760.248]  -> wl_surface at 31.frame(new<mailto:wl_surface at 31.frame(new> id wl_callback at 40)
[ 77760.295]  -> wl_surface at 31.attach(wl_buffer at 33<mailto:wl_surface at 31.attach(wl_buffer at 33>, 0, 0)
[ 77760.336]  -> wl_surface at 31.damage(28<mailto:wl_surface at 31.damage(28>, 143, 160, 26)
[ 77760.380]  -> wl_surface at 31.commit()<mailto:wl_surface at 31.commit()>

Attached please find out the complete log.

Best regards,

Eric



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180713/d776df33/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: deform_control_menu_log1.txt
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180713/d776df33/attachment-0001.txt>


More information about the wayland-devel mailing list