Bug 107870 - View jumps to cursor when activating or deactivating record changes
Summary: View jumps to cursor when activating or deactivating record changes
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.7.2 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard: target:7.2.0 target:7.1.0.0.beta2
Keywords:
Depends on:
Blocks: Track-Changes Writer-View-Jumps
  Show dependency treegraph
 
Reported: 2017-05-15 14:52 UTC by Alej
Modified: 2021-01-11 07:37 UTC (History)
4 users (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 Alej 2017-05-15 14:52:47 UTC
It's a very annoying behaviour of writer. To reproduce this open a document, make a modification, continue reading. If you save the document, the focus moves to cursor position. In documents of several pages, is common to lose reading position, moving to cursor position when saving the document or hiding/showing changes. In my case, I have to correct  large documents, and when click on Save, writer moves my reading focus one o two pages up, losing a lot of time searching it again.
Comment 1 Buovjaga 2017-05-19 16:53:04 UTC
The saving jump should be fixed in 5.2 and 5.3: bug 95797
I am not seeing the jump on saving.

However, there is no report for the show/hide changes and I confirm. It also happens, when you activate or deactivate record changes

Arch Linux 64-bit, KDE Plasma 5
Version: 5.5.0.0.alpha0+
Build ID: cee02e81cd3b55fb46eacf5db5713e8bf4363bcd
CPU threads: 8; OS: Linux 4.10; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on May 19th 2017

Arch Linux 64-bit
Version 3.6.7.2 (Build ID: e183d5b)
Comment 2 QA Administrators 2018-05-20 02:33:19 UTC Comment hidden (obsolete)
Comment 3 Alej 2018-05-21 17:33:05 UTC
Confirmed bug in LO 6.0.4. View jumps to cursor when activating or deactivating record changes and showing or hiding changes.

View jumps to cursor when activating or deactivating record changes and showing or hiding changes

Versión: 6.0.4.2
Id. de compilación: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
Subprocs. CPU: 8; SO: Linux 3.16; Repres. IU: predet.; VCL: kde4; 
Configuración regional: es-AR (es_AR.UTF-8); Calc: group
Comment 4 Alej 2018-08-17 14:39:36 UTC
Confirmed regression in bug 95797 (The saving jump)

Update in:
Confirmed bug in LO 6.10. View jumps to cursor when activating or deactivating record changes and showing or hiding changes.

and

Confirmed bug in LO 6.10. View jumps to cursor when activating or deactivating record changes and showing or hiding changes
Comment 5 Alej 2018-08-17 14:40:53 UTC
The confirmed regression in bug 95797 (The saving jump) is present in LO 6.10
Comment 6 Alej 2019-05-09 15:11:43 UTC
The confirmed regression in bug 95797 (The saving jump) is present in LO 6.2.3
Comment 7 Alej 2019-05-09 15:13:55 UTC
The "save jump view bug" and the view jump to cursor when activating or deactivating record changes and showing or hiding changes still in LO 6.2.3. Extremely annoying bug.
Comment 8 Commit Notification 2020-12-03 09:04:26 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1fd0919d92e792fa4af209a0fc7fde55c9958d1a

tdf#107870 sw: don't jump to cursor setting Record Changes

It will be available in 7.2.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 9 Commit Notification 2020-12-03 18:06:29 UTC
László Németh committed a patch related to this issue.
It has been pushed to "libreoffice-7-1":

https://git.libreoffice.org/core/commit/2832a5447ceb0c0e40d1e1772e41bfd90e37913c

tdf#107870 sw: don't jump to cursor setting Record Changes

It will be available in 7.1.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 10 NISZ LibreOffice Team 2021-01-05 13:47:18 UTC
Verified in:

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 96bafa464ebdbce3ef04bec9beae5e745bb37794
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded
Comment 11 Alej 2021-01-07 23:00:01 UTC
Bug still present in LO 7.2.0.0.alpha+. When show/hide track changes, view focus is lost and jumps to cursor position.

Version: 7.2.0.0.alpha0+
Build ID: d0f6c9f924fdbeed4c466e3a6eff7d6980ebc659
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: kf5
Locale: es-AR (es_AR.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-01-06_08:45:17
Calc: threaded
Comment 12 Alej 2021-01-07 23:01:02 UTC Comment hidden (obsolete)
Comment 13 Buovjaga 2021-01-08 07:40:59 UTC
László's commit was about record changes. It is true that with View - Show tracked changes it still jumps. Should another report be opened for it?
Comment 14 NISZ LibreOffice Team 2021-01-11 07:36:38 UTC
(In reply to Buovjaga from comment #13)
> László's commit was about record changes. It is true that with View - Show
> tracked changes it still jumps. Should another report be opened for it?

Yes, just did that. 
László told me that would be a bit more difficult, better separate it.
Meanwhile, keep this one as fixed for the tracking enable/disable problem.