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

--- Comment #121 from Michael Weghorn <[email protected]> ---
Thanks all for the additional input.

(In reply to Gauthier from comment #117)
> @Michael, is it possible that you see no lags because your test config has a
> rather powerful desktop processor? I just looked it up and it's at least 3
> times as powerful as my laptop one.

It might be somehow related, but I wouldn't necessarily expect that that's the
main reason/problem.


(In reply to Michael Weghorn from comment #107)
> By now, I seem to be completely unable to reproduce this on Debian testing
> with KDE Plasma, using current development versions of both LibreOffice and
> Qt (qtbase as of commit 109103e69b51b014e4720a70044faee03ad495f8 when
> running LO while the system otherwise uses Qt 6.9.2 as packaged in Debian).
> (Scenario from comment 13 no longer seems problematic while scrolling for me
> either.)
> [...]


Results from testing some more, trying to take the additional input from other
comments into account, for a scenario similar to the one described in comment
111 (using sample file attachment 203219 with my laptop screen only, resolution
set to 1920x1200, 125% display scaling):

There are clear lags when using SAL_USE_VCLPLUGIN=qt5 and Wayland (which is
what I was using when I could reproduce earlier, see comment comment 13 and
version information in comment 11).

It is much better with qt6 and wayland (current dev version of Qt).

So there seems to be a real improvement somewhere between Qt 5 (Debian-packaged
5.15.17) and Qt 6 dev (to become 6.11 one day).

For me, it's generally not too bad with LO 25.8.1 and kf6 with system Qt
(version 6.9.2) either, though.


(In reply to Buovjaga from comment #118)
> Yesterday we got a comment on IRC:
> 
> "I just wanted to say that the Qt6 Wayland scrolling but is fixed in Qt6
> git, the following commits can be cleanly cherry-piked onto 6.10.0 to fix
> the issue  09575981885   # Introduce compression 6f25f703fd3   # Optimize
> scrolling 9dd0d936d66   # Fix scroll end event"

That sounds promising. The best way forward then might indeed for affected
people to report back here whether it's better for them as well, once they have
a new enough Qt version.

(In reply to danileon95 from comment #119)
> please cherry pick those commits if it does fix it.

As Ilmari mentions in comment 120, this is outside of our control, as
LibreOffice uses the system-provided Qt. There was a suggestion to backport to
Qt 6.10 upstream, but that was not considered a good idea, see
https://codereview.qt-project.org/c/qt/qtbase/+/666461 .

So you'll either have to wait for 6.11 to be released, use the current
development version of Qt, or try to convince your distro's Qt maintainers to
backport to the distro-packaged Qt. But if upstream Qt deliberately didn't
backport, then I'm not sure it's a good idea to try to convince distros to do
otherwise.

> This bug has
> been a nightmare, especially since I haven't found a way to open libreoffice
> with the xcb env var when opening an .odt file from the file browser (The
> KDE menus don't apply the env var for some reason, so I have to open
> libreoffice through the terminal to manually set the enc var)

What should presumably work is to right-click on a file of the given type in
Dolphin, select "Open with" -> "Other application", then select a
script/desktop file that sets the env var and starts the application, and check
the "Always open <file type> with the chosen app checkbox.



Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 15e975d4591f28bfa654af08e980a38b53a727bb
CPU threads: 32; OS: Linux 6.16; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded


Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 15e975d4591f28bfa654af08e980a38b53a727bb
CPU threads: 32; OS: Linux 6.16; UI render: default; VCL: qt5 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

Version: 25.8.1.1 (X86_64) / LibreOffice Community
Build ID: 580(Build:1)
CPU threads: 32; OS: Linux 6.16; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Debian package version: 4:25.8.1-1
Calc: threaded

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

Reply via email to