Bug 149647 - LibreOffice Calc cursor not positioned correctly
Summary: LibreOffice Calc cursor not positioned correctly
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.5.0 target:7.4.0.0.beta2 tar...
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2022-06-21 06:48 UTC by Sergey
Modified: 2022-06-27 19:41 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of shift in row Calc (324.50 KB, image/jpeg)
2022-06-21 06:52 UTC, Sergey
Details
version of my Calc (67.70 KB, image/jpeg)
2022-06-21 06:52 UTC, Sergey
Details
original ods file (26.98 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-06-21 06:53 UTC, Sergey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 2022-06-21 06:48:50 UTC
Description:
When I select current row Calc shows my selection with shift in upper direction. My original file is in xlsx format but i tryed to save in ods format. Result is the same. And this happans on all sheets- shift is more or less

Steps to Reproduce:
1. i don't know how to reproduce it. I can send screenshot or my file
2.
3.

Actual Results:
nothing to write

Expected Results:
nothing to write


Reproducible: Always


User Profile Reset: No



Additional Info:
nothing to write
Comment 1 Sergey 2022-06-21 06:52:01 UTC
Created attachment 180857 [details]
screenshot of shift in row Calc
Comment 2 Sergey 2022-06-21 06:52:31 UTC Comment hidden (obsolete)
Comment 3 Sergey 2022-06-21 06:53:01 UTC
Created attachment 180859 [details]
original ods file
Comment 4 Mike Kaganski 2022-06-21 07:05:28 UTC Comment hidden (obsolete)
Comment 5 Sergey 2022-06-21 07:28:01 UTC
Version: 7.3.3.2 (x64) / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 6; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL
Comment 6 Rafael Lima 2022-06-21 17:45:31 UTC
Confirmed with

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: ca47989ad60b1414f92be22a1fbf4c1d1a92dd97
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL

This is a mess... Go around row 178 in the sample ODS file and click anywhere in the sheet and you'll notice the bug.
Comment 7 Rafael Lima 2022-06-21 17:47:12 UTC
Also repro in "gen" and "gtk3".
Comment 8 Mike Kaganski 2022-06-21 20:40:16 UTC
No repro with Version: Version: 6.4.0.3 (x64)
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: GL; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded

Repro using Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: CL
Comment 9 Mike Kaganski 2022-06-21 20:52:02 UTC
Regression after commit feec8e3c34e08b621098a17f1011dccd0b4f7f4c
  Author Noel Grandin <noel.grandin@collabora.co.uk>
  Date   Tue Nov 12 16:00:55 2019 +0200
    reduce iteration in ScViewData::GetScrPos
Comment 10 Commit Notification 2022-06-25 19:43:48 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/34c6d02661949fcc9c15bd77d6e837623bbddcdb

tdf#149647 LibreOffice Calc cursor not positioned correctly

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 11 Commit Notification 2022-06-27 10:03:42 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "libreoffice-7-4":

https://git.libreoffice.org/core/commit/6080ba4d308b4b870bbbc5a7b4b960ce3ed2ecba

tdf#149647 LibreOffice Calc cursor not positioned correctly

It will be available in 7.4.0.0.beta2.

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 12 Commit Notification 2022-06-27 19:41:10 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

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

tdf#149647 LibreOffice Calc cursor not positioned correctly

It will be available in 7.3.5.

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.