You are not logged in.

#1 2021-09-10 16:01:07

kaancaliskan
Member
From: Turkey
Registered: 2021-08-07
Posts: 3

[SOLVED] LibreOffice crashes while switching task

Steps to reproduce:
1- Open libreoffice impress (both on still and fresh)
2- Write something to textbox (or copy a text from textbox)
3- Click on another program or task to remove focus from libreoffice
4- Turn back to libreoffice
5- Crash

Notes:
1- This issue happens with just wayland.
2- Adding

SAL_USE_VCLPLUGIN=gtk3

to /etc/environment fixes problem but uglier UI.
I searched a lot online but found nothing.

Log is bloated with:

qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Arch version:

Operating System: Arch Linux
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.14.2-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 11.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

Last edited by kaancaliskan (2021-09-13 21:13:03)

Offline

#2 2021-09-11 14:49:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,977

Re: [SOLVED] LibreOffice crashes while switching task

I searched a lot online but found nothing.

plenty of results with duckduckgo , here are some links .

https://github.com/githubuser0xFFFF/Qt- … issues/288
https://github.com/flameshot-org/flameshot/issues/619

The first one mentions  a workaround : prepend the command with XDG_SESSION_TYPE=x11 .

Try

XDG_SESSION_TYPE=x11 /usr/bin/loimpress

Welcome to archlinux forums.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2021-09-13 09:30:27

kaancaliskan
Member
From: Turkey
Registered: 2021-08-07
Posts: 3

Re: [SOLVED] LibreOffice crashes while switching task

XDG_SESSION_TYPE=x11 /usr/bin/loimpress

Fixes problem, thank you! I've added this variable to /usr/bin/libreoffice and works perfectly!

Edit: For reference: I found the libreoffice bug https://bugs.documentfoundation.org/sho … ?id=143135

Last edited by kaancaliskan (2021-09-13 10:48:59)

Offline

Board footer

Powered by FluxBB