<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Crash of LibreOffice under Wayland when changing font size"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143521#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Crash of LibreOffice under Wayland when changing font size"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143521">bug 143521</a>
from <span class="vcard"><a class="email" href="mailto:m.weghorn@posteo.de" title="Michael Weghorn <m.weghorn@posteo.de>"> <span class="fn">Michael Weghorn</span></a>
</span></b>
<pre>(In reply to Julien Nabet from <a href="show_bug.cgi?id=143521#c4">comment #4</a>)
<span class="quote">> Michael: I thought I had noted how to enable Wayland but I didn't :-(
> I've enabled kf5 rendering with "SAL_USE_VCLPLUGIN=kf5" but I just got:
> Version: 7.3.0.0.alpha0+ / LibreOffice Community
> Build ID: 77a192aa016279acc0b0f9df584d1ce31bde41a4
> CPU threads: 12; OS: Linux 5.10; UI render: default; VCL: kf5 (cairo+xcb)
> Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
> Calc: threaded</span >
If I want to try Wayland, I switch to a (Plasma) Wayland session by selecting
that for the login in the display manager (in my case: SDDM), then it's used
automatically (needs the corresponding components installed, e.g. packages
"kwin-wayland", "plasma-workspace-wayland",... on Debian).
If you want to test with X11 backend in a Wayland session, you can just set
environment variable 'QT_QPA_PLATFORM=xcb' in which case XWayland is used, but
it doesn't work the other way around.
For running an application on Wayland inside an X11 session, I have made these
notes some time ago, but I'm not using that because it didn't really work well
(at least back then):
<span class="quote">> Potentially helpful blog post by Martin Flöser: "Porting Qt applications to
> Wayland": <<a href="https://blog.martin-graesslin.com/blog/2015/07/porting-qt-applications-to-wayland/">https://blog.martin-graesslin.com/blog/2015/07/porting-qt-applications-to-wayland/</a>></span >
>
<span class="quote">> * run application in Weston (on Wayland) from inside X11 session
>
> * s. above blog post
>
> * running `kwin_wayland --xwayland` works (needs package
> `kwin-wayland-backend-x11` to be installed) or `weston`, as described in
> above blog post
>
> * and then starting e.g. `konsole` using `XDG_SESSION_TYPE=wayland konsole`
> will bring that to the `kwin_wayland` or `weston` window,
> but it looks quite odd and doesnt't behave the same as in a Plasma Wayland
> session</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>