[Libreoffice-bugs] [Bug 143521] Crash of LibreOffice under Wayland when changing font size

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 26 04:59:58 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=143521

--- Comment #5 from Michael Weghorn <m.weghorn at posteo.de> ---
(In reply to Julien Nabet from comment #4)
> 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

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):

> Potentially helpful blog post by Martin Flöser: "Porting Qt applications to
> Wayland": <https://blog.martin-graesslin.com/blog/2015/07/porting-qt-applications-to-wayland/>
>
> * 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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210726/863bedd1/attachment.htm>


More information about the Libreoffice-bugs mailing list