Bug 164194 - Implement smooth scrolling and pinch to zoom in Writer (kf6+wayland)
Summary: Implement smooth scrolling and pinch to zoom in Writer (kf6+wayland)
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Wayland Qt6
  Show dependency treegraph
 
Reported: 2024-12-05 18:19 UTC by Rafael Lima
Modified: 2025-11-29 06:34 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 Rafael Lima 2024-12-05 18:19:48 UTC
If you open a Writer document using the gtk3 backend on Wayland, it is possible to scroll smoothly throughout the document using the touchpad. It is also possible to zoom in and out using pinch to zoom.

Even when you use the gtk3 backend on Plasma 6.2, smooth scrolling works fine, as well as pinch to zoom... it also works on Gnome and Cosmic.

However, on Plasma using the kf6 backend, smooth scrolling and pinch to zoom do not work. It would be nice to implement these features for kf6 as well.
Comment 1 Michael Weghorn 2024-12-11 10:11:05 UTC
For pinch to zoom, I can confirm it works with the touchpad for gtk3, but not qt6.

Last year's

        commit efadd5210e56ba67f1b040dff4972fead6a56131
        Author: Michael Weghorn <m.weghorn@posteo.de>
        Date:   Mon Aug 14 08:10:21 2023 +0200

            qt: Implement pinch/zoom gesture handling

implemented some pinch to zoom handling, but I only tested it on a laptop with a touch screen back then (and the laptop I'm using now doesn't have one), not with a touchpad.
Do you know any Qt/KDE application that does support pinch to zoom using the touchpad?

For smooth scrolling: Can you please be more specific on what the expected behavior (with exact steps you take) would be, maybe with a screencast demonstrating it with gtk3?


Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 059e695005b7eb500058f8c1c6cf83eb92dad20b
CPU threads: 32; OS: Linux 6.11; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 2 QA Administrators 2025-11-25 15:22:09 UTC
Dear Rafael Lima,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
 
Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping
Comment 3 Sury 2025-11-29 06:34:20 UTC
(In reply to Michael Weghorn from comment #1)
> For pinch to zoom, I can confirm it works with the touchpad for gtk3, but
> not qt6.
> 
> Last year's
> 
>         commit efadd5210e56ba67f1b040dff4972fead6a56131
>         Author: Michael Weghorn <m.weghorn@posteo.de>
>         Date:   Mon Aug 14 08:10:21 2023 +0200
> 
>             qt: Implement pinch/zoom gesture handling
> 
> implemented some pinch to zoom handling, but I only tested it on a laptop
> with a touch screen back then (and the laptop I'm using now doesn't have
> one), not with a touchpad.
> Do you know any Qt/KDE application that does support pinch to zoom using the
> touchpad?
> 
> For smooth scrolling: Can you please be more specific on what the expected
> behavior (with exact steps you take) would be, maybe with a screencast
> demonstrating it with gtk3?
> 
> 
> Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: 059e695005b7eb500058f8c1c6cf83eb92dad20b
> CPU threads: 32; OS: Linux 6.11; UI render: default; VCL: qt6 (cairo+wayland)
> Locale: en-GB (en_GB.UTF-8); UI: en-US
> Calc: threaded

FYI, Okular (KDE's default pdf reader, uses qt) implemented pinch to zoom recently:

https://invent.kde.org/graphics/okular/-/commit/2ed4df7c7d3e7a983285bd823880d8cc92f193ee

Might be a helpful reference? Would be great to have this.