Bug 159331 - sheet window does not refresh properly after touchpad scroll
Summary: sheet window does not refresh properly after touchpad scroll
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: ARM macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-22 23:44 UTC by Phil
Modified: 2024-01-26 21:47 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 Phil 2024-01-22 23:44:09 UTC
STR
1.open spreadsheet with data.
2.touchpad 2finger scroll around
3.click in cell

results
after step 2 the screen is not correct. refresh did not occur in portions of the screen.

after step 3 the cell you click in is not the final cell selected.


after step 2 or 3 if you move cursor out of the sheet window the screen refreshes ok. all is well.
Comment 1 m_a_riosv 2024-01-24 01:11:00 UTC
Please paste here the information on Menu/Help/About LibreOffice (There is an icon to copy)
Comment 2 Phil 2024-01-24 05:42:10 UTC
Version: 7.6.4.1 (AARCH64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 8; OS: Mac OS X 12.7.2; UI render: Skia/Raster; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 m_a_riosv 2024-01-24 15:22:23 UTC
Please test in safe mode, Menu/Help/Restart in Safe Mode
Comment 4 ady 2024-01-24 16:29:42 UTC
Please take a look at tdf#155266 and tdf#158842.
Comment 5 Phil 2024-01-25 21:48:18 UTC
(In reply to ady from comment #4)
> Please take a look at tdf#155266 and tdf#158842.

can't reproduce this bug
Comment 6 Phil 2024-01-25 21:50:26 UTC
(In reply to m_a_riosv from comment #3)
> Please test in safe mode, Menu/Help/Restart in Safe Mode

safe mode is the same I'll add another comment on very specific STR and results. But in safemode only difference is the scroll bars smoothly transistion to sheet location on fast swipe/scroll whereas in normal mode the bars jump to final location.
Comment 7 Phil 2024-01-25 22:01:26 UTC
more info on STR and REsults

1.horizontal scroll fast to right side of sheet lifiting fingers for a rolling scroll and roll same way to back
2.all rows 2 above the focus cell row are not refreshed
3.vertical rolling scroll down and back up is same effect.
4. 1 row above cell focus row is always the unrefreshed or incorrectly refreshed or probably more accurately the refresh screen look is not completed.
5. always only rows above the focus cell are affected. not columns or rows below focus cell (including the row above the focus cell)


I will do an example and screen shot it.
Comment 8 Phil 2024-01-25 22:06:00 UTC
(In reply to Phil from comment #7)
> more info on STR and REsults
> 
> 1.horizontal scroll fast to right side of sheet lifiting fingers for a
> rolling scroll and roll same way to back
> 2.all rows 2 above the focus cell row are not refreshed
> 3.vertical rolling scroll down and back up is same effect.
> 4. 1 row above cell focus row is always the unrefreshed or incorrectly
> refreshed or probably more accurately the refresh screen look is not
> completed.
> 5. always only rows above the focus cell are affected. not columns or rows
> below focus cell (including the row above the focus cell)
> 
> 
> I will do an example and screen shot it.

doesn't have to be rolling scroll just a quick movement
Comment 9 Phil 2024-01-25 23:08:17 UTC
(In reply to Phil from comment #7)
> more info on STR and REsults
> 
> 1.horizontal scroll fast to right side of sheet lifiting fingers for a
> rolling scroll and roll same way to back
> 2.all rows 2 above the focus cell row are not refreshed
> 3.vertical rolling scroll down and back up is same effect.
> 4. 1 row above cell focus row is always the unrefreshed or incorrectly
> refreshed or probably more accurately the refresh screen look is not
> completed.
> 5. always only rows above the focus cell are affected. not columns or rows
> below focus cell (including the row above the focus cell)
> 
> 
> I will do an example and screen shot it.

can't screen shot. soon as the focus exits the spreadsheet window it refreshes and appears ok
Comment 10 Phil 2024-01-25 23:39:33 UTC
other list boxes have same problem

STR
1. open function wizard
2. select category all
3. scroll the function list box.

if you click a function it refreshes screen and jumps to a different function then expected
Comment 11 m_a_riosv 2024-01-25 23:45:15 UTC
Please test with Skia disable. In LibreOffice options, view.
Comment 12 Phil 2024-01-26 18:36:20 UTC
Tried disabling skia. no change
tried other of the graphics options, hardware acc, antiialiasing. seemes the antialiasing off makes the problem show in intact rows but still displaced. with antialiasing I can get a half a row displaced but all of those problem could be just the in exact nature of 2 finger swiping on the trackpad.

however, so far turning on Skia with force Skia option disabled seems to have cured the problem. Not sure if it will return I will keep trying for the error.
Comment 13 Phil 2024-01-26 19:01:25 UTC
worked pretty hard. seems to be definite.


Tried clicking Skia and force Skia and deselect Skia so the force skia is checked and grayed out and Skia is unchecked.

result: problem persisted, seems horizontal is the problem. Again.  2finger swipe sheet to the right and then to the left makes all rows above the row above the focused cell does not return to the correct columns.

deselecting Skia and the force skia option does not cure problem


selecting SKia and unchecking 'force SKIA' sub-option fixes the problem

unless there is some other reason for having the force Skia option, like maybe in the other LibreOffice modules then I say remove that option from next release
Comment 14 m_a_riosv 2024-01-26 21:47:55 UTC
Please understand that not what is fine for you, it's fine for others, by having the options, makes possible to use the better for everyone.

BTW sometimes, update graphics drivers from vendor, solves issues about them.