Bug 150797

Summary: Can't scroll with mouse in Print Preview from 7.5+
Product: LibreOffice Reporter: Timur <timur>
Component: WriterAssignee: Caolán McNamara <caolan.mcnamara>
Status: VERIFIED FIXED    
Severity: normal CC: caolan.mcnamara, telesto
Priority: high Keywords: bibisected, bisected, regression
Version: 7.5.0.0 alpha0+   
Hardware: All   
OS: Linux (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=100419
Whiteboard: target:7.5.0
Crash report or crash signature: Regression By:

Description Timur 2022-09-05 14:37:46 UTC
Open attachment 125684 [details] from bug 100419.
Set Print Preview.
Try to scroll with mouse, not possible, regression from 7.5.

Seems Linux only, OK in Windows. Also possible with Page Up/Down.
Comment 1 Timur 2022-09-05 14:56:57 UTC
commit ae354652c8b0247a05ad0d8bb1551fdafd451e53	[log]
author	Caolán McNamara <caolanm@redhat.com>	Aug 04 2022 
using ScrollType::Drag looks the safest choice
rather than DontKnow, Drag assumptions seem to fit best

CC Caolán , please see.
Comment 2 Commit Notification 2022-09-05 20:03:09 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/cb549e48a8b8e23a89b608f63d9452e5bec83be7

Resolves: tdf#150797 page preview scrolling not updating position

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Timur 2022-09-07 12:08:06 UTC
Thanks.