Hi,

I am not 100% sure whether xdg-shell availability is the blocker. There is
something going on which I cannot explain yet - its as if Wayland rendering
disappears even when I use qxcomposer.

qxcomposer does allow me to minimize and then restore. However, when
keeping app minimized and switching to other apps, I do get (with
WAYLAND_DEBUG=1)

[2294832.935] wl_pointer@8.motion(207667, 0.000000, 0.000000)
[2299966.213] qt_extended_surface@29.onscreen_visibility(1)
[2303645.301] qt_extended_surface@29.onscreen_visibility(0)
[2303647.486]  -> wl_surface@26.destroy()
[2303648.296]  -> wl_buffer@4278190080.destroy()
[2303648.395]  -> wl_buffer@4278190082.destroy()
[2303648.448]  -> wl_buffer@4278190081.destroy()

and the app window disappears from qxcomposer.

Same happens when running directly using SFOS composer:

[2614530.331] qt_extended_surface@29.onscreen_visibility(0)
[2614552.802]  -> wl_surface@26.destroy()
[2614555.653]  -> wl_buffer@4278190080.destroy()
[2614556.795]  -> wl_buffer@4278190082.destroy()
[2614557.099]  -> wl_buffer@4278190081.destroy()

So, looks like the surface gets destroyed, but nothing really restores it.

As such, some kind of wrapper, similar to qxcomposer, around Flatpak
programs maybe handy. It could take few tasks, such as

- follow orientation of the screen
- restore app after wl_buffer.destroy()
- provide keyboard support

I don't know enough about Wayland to be efficient in working on it. So, I
wonder if someone would like to step in and help with this part. If there
is interest, I will work on packaging libhybris extension and provide an
example at OBS for Xperia Tama devices.

Cheers,

Rinigus

On Sat, Dec 28, 2019 at 12:54 AM Damien Caliste <dcali...@free.fr> wrote:

> Thank you Rinigus for all of this. Indeed, the current main blocker seems
> to be the fact that xdg-shell is not available in Lipstick. This is linked
> to the ancient version of QtWayland, even not 5.6, but still 5.4 ! They
> already have a 5.9 branch in SailfishOS git (
> https://git.sailfishos.org/mer-core/qtwayland/tree/mer-5.9), but we need
> to wait for Jolla to make the Qt switch. I don't think it's something
> community can change on device... I hope I can be proven wrong though.
>
> Damien.
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to