Bug 161253 - Only partial implementation of kinetic/inertial scrolling on GTK
Summary: Only partial implementation of kinetic/inertial scrolling on GTK
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.4.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2024-05-24 07:42 UTC by bugreportr
Modified: 2026-05-27 03:14 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Kinetic scrolling working on customize pop-up (972.25 KB, video/mp4)
2024-05-24 07:51 UTC, bugreportr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugreportr 2024-05-24 07:42:16 UTC
Description:
When scrolling through certain menus (eg. the customize pop-up) on all LibreOffice applications, kinetic scrolling using touchpad is possible on Xorg. However, it isn't possible, or doesn't seem to have been implemented, on the main UI. Only tested on Xorg and not on Wayland. Also, kinetic scrolling only works for the GTK theme (libreoffice-gtk3), but not for the Breeze theme (libreoffice-style-breeze), even on Plasma.

Steps to Reproduce:
1. Go to Tools -> Customize and try scrolling with touchpad
2. Now try scrolling with touchpad on the main UI

Actual Results:
Kinetic scrolling possible on the customize pop-up, but not on the main UI.

Expected Results:
Kinetic scrolling should be possible throughout the interface.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.4.7.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Debian package version: 4:7.4.7-1+deb12u2
Calc: threaded
Comment 1 bugreportr 2024-05-24 07:51:07 UTC
Created attachment 194327 [details]
Kinetic scrolling working on customize pop-up
Comment 2 Rafael Lima 2024-05-24 11:51:58 UTC
The gtk3 backend uses native gtk widgets and they implement kinetic scrolling. However, other parts of the UI that are not fully gtk3-native may not implement kinetic scrolling.

I'm on the kf5 backend (used for Plasma) and kinetic scrolling is not there yet either.
Comment 3 Julien Nabet 2024-05-24 13:12:25 UTC
Also, please use a more recent LO version this one is from Debian stable.
Debian stable is more for servers (so not suitable for Office work), not for desktop.
Either upgrade to Debian testing version or you can keep stable but use LO packages (and dependencies) from Debian testing.
Personally, I've been using Debian testing since years (at least 15 years I think) and have very pbs. IMHO it's a good compromise between stability from stable and bleeding edge versions from unstable Debian (aka SID).
Comment 4 bugreportr 2024-05-24 14:54:15 UTC
(In reply to Rafael Lima from comment #2)
> The gtk3 backend uses native gtk widgets and they implement kinetic
> scrolling. However, other parts of the UI that are not fully gtk3-native may
> not implement kinetic scrolling.

So are there plans to implement the entirety of LibreOffice in GTK instead of... whatever it's using rn? Seems like a good option to release a GTK and a Qt version rather than use themes.

(In reply to Julien Nabet from comment #3)
> Also, please use a more recent LO version this one is from Debian stable.

The issue persists on the latest release (24.2.3.2) too, btw.
Comment 5 Julien Nabet 2024-05-24 15:18:45 UTC
bugreport: please don't confirm your bugs (that's why I put it back to UNCONFIRMED instead of NEW). Thank you for the feedback about 24.2.

Michael: any thoughts here?
Comment 6 Michael Weghorn 2024-05-25 07:36:02 UTC
I can confirm on Debian testing in a GNOME Wayland session. (On Plasma Wayland, no kinetic scrolling happens for me with the gtk3 VCL plugin even in "Tools" -> "Customize").

(In reply to Rafael Lima from comment #2)
> The gtk3 backend uses native gtk widgets and they implement kinetic
> scrolling. However, other parts of the UI that are not fully gtk3-native may
> not implement kinetic scrolling.

That was my initial thought, too. With the commits from tdf#117388 in place, I thought that native GTK scrollbars should be used for the main/document view as well, though. (But maybe that's something else more is needed.)

> I'm on the kf5 backend (used for Plasma) and kinetic scrolling is not there yet either.

Do other Qt/KDE apps use kinetic scrolling? Just tested Kate, and it doesn't for me, also not in a GNOME session where GTK applications do. Or does kinetic scrolling have to be enabled somewhere?
(But let's keep the scope for this bug report for GTK.)

(In reply to bugreportr from comment #4)
> So are there plans to implement the entirety of LibreOffice in GTK instead
> of... whatever it's using rn? Seems like a good option to release a GTK and
> a Qt version rather than use themes.

For Linux, LibreOffice has different so-called "VCL plugins" to integrate with the different desktop environments/toolkits. There are ones based on GTK (gtk3, gtk4) and Qt (qt5, qt6, kf5, kf6). From all I know, there's currently no plan to change that approach.
The GTK ones mostly use native widgets, the others don't at this point in time (s. tdf#130857 for the Qt-based VCL plugins).


Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 4d2c41e8171139e210d94b0c3c2b6b3d6392665a
CPU threads: 32; OS: Linux 6.7; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 7 bugreportr 2024-05-26 13:47:53 UTC
(In reply to Michael Weghorn from comment #6)
> Do other Qt/KDE apps use kinetic scrolling?

No, Qt doesn't support kinetic scrolling, neither in Xorg nor Wayland. Using GTK versions of apps is better ngl even on Qt DEs 'cause they can theme pretty well and also... kinetic scrolling :)
Comment 8 QA Administrators 2026-05-27 03:14:03 UTC
Dear bugreportr,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug