<div dir="ltr"><div>No one is bothered by the serious (bad) security implications of running flatpacks?</div><div>Though I guess we are all tolerating the claim to "security" on ancient kernels so we have no right to blab about security now 🤔</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op za 28 dec. 2019 om 12:04 schreef rinigus <<a href="mailto:rinigus.git@gmail.com">rinigus.git@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi,<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">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. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">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) </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">[2294832.935] wl_pointer@8.motion(207667, 0.000000, 0.000000)<br>[2299966.213] qt_extended_surface@29.onscreen_visibility(1)<br>[2303645.301] qt_extended_surface@29.onscreen_visibility(0)<br>[2303647.486]  -> wl_surface@26.destroy()<br>[2303648.296]  -> wl_buffer@4278190080.destroy()<br>[2303648.395]  -> wl_buffer@4278190082.destroy()<br>[2303648.448]  -> wl_buffer@4278190081.destroy()<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">and the app window disappears from qxcomposer.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Same happens when running directly using SFOS composer:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">[2614530.331] qt_extended_surface@29.onscreen_visibility(0)<br>[2614552.802]  -> wl_surface@26.destroy()<br>[2614555.653]  -> wl_buffer@4278190080.destroy()<br>[2614556.795]  -> wl_buffer@4278190082.destroy()<br>[2614557.099]  -> wl_buffer@4278190081.destroy()<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">So, looks like the surface gets destroyed, but nothing really restores it.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">As such, some kind of wrapper, similar to qxcomposer, around Flatpak programs maybe handy. It could take few tasks, such as </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">- follow orientation of the screen</div><div class="gmail_default" style="font-size:small">- restore app after wl_buffer.destroy()</div><div class="gmail_default" style="font-size:small">- provide keyboard support</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">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.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Cheers,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Rinigus</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Dec 28, 2019 at 12:54 AM Damien Caliste <<a href="mailto:dcaliste@free.fr" target="_blank">dcaliste@free.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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 (<a href="https://git.sailfishos.org/mer-core/qtwayland/tree/mer-5.9" rel="noreferrer" target="_blank">https://git.sailfishos.org/mer-core/qtwayland/tree/mer-5.9</a>), 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.<br>
<br>
Damien. <br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div>