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: 2024-12-11 10:11 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