Bug 170559 - LibreOffice fails to start with SAL_USE_VCLPLUGIN=gen
Summary: LibreOffice fails to start with SAL_USE_VCLPLUGIN=gen
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-01 13:02 UTC by Andreas Säger
Modified: 2026-02-02 10:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Säger 2026-02-01 13:02:47 UTC
$ SAL_USE_VCLPLUGIN=gen libreoffice26.2 
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
X-Error: BadMatch (invalid parameter attributes)
	Major opcode: 72 (X_PutImage)
	Resource ID:  0x3c00019
	Serial No:    271 (271)
These errors are reported asynchronously,
set environment variable SAL_SYNCHRONIZE to 1 to help debugging
Unspecified Application Error

$ SAL_USE_VCLPLUGIN=gen SAL_SYNCHRONIZE=1 libreoffice26.2 
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
X-Error: BadMatch (invalid parameter attributes)
	Major opcode: 72 (X_PutImage)
	Resource ID:  0x3a00019
	Serial No:    453 (453)
Unspecified Application Error

To me this is a major issue because the Base component is barely usable with GTK.
Comment 1 Mateusz Wlazłowski 2026-02-01 21:51:40 UTC
as a workaround, you can try

SAL_USE_VCLPLUGIN=kf5 libreoffice26.2 
or
SAL_USE_VCLPLUGIN=kf6 libreoffice26.2 


works for me with ubuntu 24.04 / X11, although not the same version of LO

Version: 25.8.4.0.0+ (X86_64) / LibreOffice Community
Build ID: 12c639145df4450f7cba3abe0628ad016071a3a5
CPU threads: 8; OS: Linux 6.14; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 Andreas Säger 2026-02-02 10:04:26 UTC
Since years, I use the generic toolkit because gtk is too buggy when using Base forms. This happens with LO 26.2 for the first time.