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

--- Comment #6 from Timur <ti...@libreoffice.org> ---
(In reply to Michael Weghorn from comment #5)
> Do you have package adwaita-qt installed (i.e. the Qt 5 port of Adwaita)? 
Yes. But I added it myself, I think it should install as a dependancy of
libreoffice-qt5.

> Is there any related error/warning on stderr when you run that in a terminal?
Not when only QT_STYLE_OVERRIDE is run. I'm not using debug version. 

> maybe this might be of help (but I don't have any deeper insights myself):
> https://wiki.archlinux.org/title/
> qt#Configuration_of_Qt_5_applications_under_environments_other_than_KDE_Plasm
> a

Yes, setting qt5ct gives dark mode in light OS with "SAL_USE_VCLPLUGIN=qt5
soffice", same with kf5. Even without setting env. variable
QT_QPA_PLATFORMTHEME=qt5ct. That's for Ubuntu 22.04 with Gnome. 

Wayland (default in Ubuntu 22.04) has error messages. Just running VCL doesn't
work, and it says: "Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use
QT_QPA_PLATFORM=wayland to run on Wayland anyway."
But Wayland also works with "QT_QPA_PLATFORMTHEME=qt5ct SAL_USE_VCLPLUGIN=qt5
soffice", except it still gives the same error message.

Runnnig "QT_QPA_PLATFORM=wayland SAL_USE_VCLPLUGIN=qt5 soffice" gives error:
"Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use
QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()"

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to