Bug 154811 - No smooth scrolling of a particular spreadsheet, only sluggish (without Skia)
Summary: No smooth scrolling of a particular spreadsheet, only sluggish (without Skia)
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-14 18:28 UTC by bugs
Modified: 2024-04-11 19:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Sheet displaying sluggish display (110.24 KB, application/octet-stream)
2023-04-20 08:23 UTC, bugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugs 2023-04-14 18:28:49 UTC
Description:
There is no longer smooth scrolling. The scrolling is taking place in delayed jumps of the number of rows specified in the mouse settings (Logitech), which also has smooth scolling enabled

Steps to Reproduce:
1. Load a speadsheet (in this case 506 x Y, fairly simple, only with numbers and a few simple calculations)
2. Navigate the spreadsheet by using the mouse wheel


Actual Results:
No smooth scrolling

Expected Results:
Smooth scrolling as in all other programs


Reproducible: Always


User Profile Reset: No

Additional Info:
Module: SpreadsheetDocument
OS: Windows 11 Pro 22H2
OS is 64bit: yes
Logitech Setpoint 6.90.66 driver 6.00.115

This is the version working well after uninstalling 7.5.2.2:
Version: 7.4.6.2 (x64) / LibreOffice Community
Build ID: 5b1f5509c2decdade7fda905e3e1429a67acd63d
CPU threads: 12; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: threaded
Comment 1 Buovjaga 2023-04-19 14:28:16 UTC
You say this is not seen in 7.4. Can you try an unstable version, Win-x86_64@tb77-TDF from https://dev-builds.libreoffice.org/daily/master/current.html ?

If you see the problem in it, copy also the Help - About info from it.

Do you see it with a new, blank spreadsheet as well?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 2 bugs 2023-04-19 20:48:44 UTC
This version, does not exhibit the problemm

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 61b41646c5a93ca24f2c9f143cdb0da2c9258989
CPU threads: 12; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: CL threaded

This version does

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 12; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: threaded

but not in an empty sheet
Comment 3 QA Administrators 2023-04-20 03:31:28 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2023-04-20 05:47:39 UTC
(In reply to bugs from comment #2)
> This version, does not exhibit the problemm
> 
> Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: 61b41646c5a93ca24f2c9f143cdb0da2c9258989
> CPU threads: 12; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL:
> win
> Locale: da-DK (da_DK); UI: en-US
> Calc: CL threaded
> 
> This version does
> 
> Version: 7.5.2.2 (X86_64) / LibreOffice Community
> Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
> CPU threads: 12; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
> Locale: da-DK (da_DK); UI: en-US
> Calc: threaded
> 
> but not in an empty sheet

I see that when you tested 7.6, it was using your graphics card to render the UI with Vulkan, while your 7.5 was not. It was also using OpenCL to process formulas, but that is probably irrelevant.

You could do some last experiments with 7.6 (separately):

- deactivate Tools - Options - LibreOffice - View - Use Skia for all rendering and test
- deactivate Tools - Options - LibreOffice - OpenCL - Allow use of OpenCL and test

If the problem comes back, you can attach an example spreadsheet that shows the problem. If you can't reproduce the problem in any way in 7.6, I think this could be closed as worksforme.
Comment 5 bugs 2023-04-20 08:23:59 UTC
Created attachment 186805 [details]
Sheet displaying sluggish display
Comment 6 bugs 2023-04-20 08:26:03 UTC
7.6: With Skia: no problem. Without Skia: sluggish performance. No change observed with/without Opencl
Comment 7 Buovjaga 2023-04-20 13:53:23 UTC
(In reply to bugs from comment #5)
> Created attachment 186805 [details]
> Sheet displaying sluggish display

Probably my computer (i7-6700K, virtual machine) is too fast to notice anything.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3ec73488e447a693a14a773a7fb96938036c0324
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded
Comment 8 bugs 2023-04-21 11:16:37 UTC
It must be a programming issue e.g. starting to employ special HW features not generally available.

Two program versions on the exact same hardware (AMD Ryzen 5 3600) exhibit different results.

The i7-6700 is similar to my AMD Ryzen 5 

cpubenchmark.net
Intel Core i7-6700K @ 4.00GHz vs AMD Ryzen 5 3600

Single Thread Rating(% diff. to max in group)	2513(-2.2%)	2569(0.0%)	

CPU Mark(% diff. to max in group)	8949(-49.7%)	17797
Comment 9 bugs 2023-04-21 21:23:43 UTC
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 61b41646c5a93ca24f2c9f143cdb0da2c9258989
CPU threads: 12; OS: Windows 10.0 Build 22624; UI render: default; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: CL threaded

Even with only 50 lines in the sheet, there are noticable delays

This below in a VMware virtual machine using Linux Mint 21.1.
It does not display any sluggishness

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Thus the problem is most likely a Windows 11 version problem.
(Libreoffice is reporting the OS as Windows 10)
Comment 10 bugs 2023-04-22 10:13:47 UTC
The problem cannot be reduced to one particular speadsheet without extensive testing of many spreadsheets.
Comment 11 Buovjaga 2023-04-22 11:57:48 UTC
Please don't change the summary if you don't know what you are doing.
Comment 12 Timur 2023-12-21 12:38:51 UTC
I did not test, but there is a scrolling bug with 4K monitor, what is your resolution?
Comment 13 bugs 2023-12-21 17:49:28 UTC
Same behaviour as previously in 7.5.8.2 and 7.6.4.1. Without Skia sluggish performance, but not due to CPU overload. With Skia smooth performance. 
I don't know about 4K monitors, but they behave probably the same or even worse.
Comment 14 Armondo Lopez 2024-04-11 19:16:42 UTC
I can confirm that this behavior still takes place in 

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a2265e8faa099d9652efd12392c2877c2df1d1eb
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

as well as 

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded