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

--- Comment #62 from oirnoir <[email protected]> ---
(In reply to Michael Weghorn from comment #60)
> (In reply to Guido Iodice from comment #59)
> > Yes, but when LO is updated, the file is overwritten. It would be more
> > useful to have an environment variable like LO_USE_XCB or SAL_USE_XCB or if
> > you want to restrict the field to QT then LO_QT_USE_XCB
> 
> True. I'm somewhat hesitant to make the the shell wrapper more complex,
> however.
> 
> For now, I'd suggest either using SAL_USE_VCLPLUGIN=gtk3 (which is
> LO-specific), or editing the desktop file (to set the environment variable
> or to set a path that points to a wrapper that has the environment variable
> set, if directly setting the env variable doesn't work for whatever reason).
> 
> But of course, feel free to create a separate feature request if you still
> think that this should be implemented.

I've also been experiencing this issue.

My solution since November has been to add additional .desktop files to
~/.local/share/applications which start the app using QT_QPA_PLATFORM=xcb. This
works for me, except of course, the X11 version looks odd with fractional
display scaling (1.5x). Setting SAL_USE_VCLPLUGIN=gtk3 doesn't have issues with
scaling, but scrolling is still inefficient and stuttery. It is much better
than native, though, but causes the same spike in a single CPU core before
stuttering when scrolling through long documents. The xcb version, however,
barely uses any CPU no matter how fast or far I scroll in said long document.

Since such smooth performance is available via XWayland while still running
under a Wayland session, it makes me wonder whether the root problem is within
Wayland itself or within LibreOffice's implementation thereof.

Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.15-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 46.7 GiB of RAM
Graphics Processor: Mesa Intel® Arc
Manufacturer: Notebook
Product Name: V54x_6x_TU
System Version: V540TU

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

Reply via email to