Bug 127002 - Calc: Page Formatting: Header & Footer: can't move text cursor to proper position.
Summary: Calc: Page Formatting: Header & Footer: can't move text cursor to proper pos...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: All All
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard: target:6.4.0 target:6.3.1
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2019-08-18 04:50 UTC by Kiyotaka Nishibori
Modified: 2019-08-19 19:48 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 Kiyotaka Nishibori 2019-08-18 04:50:51 UTC
Description:
can't move text cursor to desirable position, and hard to enter character or field in proper position.


Steps to Reproduce:
1. enter some texts in several area respectively: "abc" in  Left area, "def" in Center area and "ghi" in
     Right area.
2. move text cursor between 'e' and 'f' with mouse.
3. press left arrow key.



Actual Results:
text cursor is put at the position between 'a' and 'b' in Left area. and after that, pressing right arrow key moves the cursor to unexpected position.


Expected Results:
text cursor will be moved to the position between 'd' and 'e' in Center area.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
this issue happens on:
  Version: 6.3.2.0.0+
  Build ID: 0df3e9fd645e9613c4a852b4a0966ff2eea7e313
  CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: gtk3; 
  Locale: ja-JP (ja_JP.UTF-8); UI-Language: en-US
  Calc: CL
and
  Vesion: 6.3.0.4
  Build ID: 6.3.0-1 of Arch linux package
  CPU threads: 8; OS:Linux 5.2; UI render: default; VCL: gtk3; 
  Locale: ja-JP (ja_JP.UTF-8); UI-Language: ja-JP
  Calc: threaded

I remember that the issue hasn't happen on at least 6.1 family.
Comment 1 Oliver Brinzing 2019-08-18 11:43:42 UTC
reproducible with:

Version: 6.3.0.4 (x64)
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: 

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 34e83dd95260d534464ff9a61eddefdde136013c
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

but *not* reproducible with

Version: 6.2.6.2 (x64)
Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc:
Comment 2 Oliver Brinzing 2019-08-18 12:12:27 UTC
also noticed: pressing "h" in edit box will focus Header Listbox

seems to have started with:

https://gerrit.libreoffice.org/plugins/gitiles/core/+/2fb6e8365c6792422c10c56e2c976b781c194b77

commit 2fb6e8365c6792422c10c56e2c976b781c194b77	[log]
author	Caolán McNamara <caolanm@redhat.com>	
Sun Apr 07 21:45:01 2019 +0100
committer	Caolán McNamara <caolanm@redhat.com>
Mon Apr 08 22:21:57 2019 +0200
tree 34c6cf6a93ea7c822bbc39923ad7474b5128d1e2
parent 6e7bfc896e6cb4d91dcecf974f0d9ee41f35b86a [diff]

weld ScHFEditPage

Change-Id: Icf40e51ed40659cc79b61798de47132162e86541
Reviewed-on: https://gerrit.libreoffice.org/70414
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>

/cygdrive/d/sources/bibisect/bibisect-win32-6.3
$ git bisect good 31fc8d12b22fe202f32f161c26225cfecde28b56 is the first bad commit
commit 31fc8d12b22fe202f32f161c26225cfecde28b56
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Mon Apr 8 13:34:07 2019 -0700

    source 2fb6e8365c6792422c10c56e2c976b781c194b77
    source 2fb6e8365c6792422c10c56e2c976b781c194b77

:040000 040000 1f7d758f8cde050816986faf3c9769cae75e3890 a4d7ed09a846f1996b9ddad2405ba088fa7338f1 M      instdir

/cygdrive/d/sources/bibisect/bibisect-win32-6.3
$ git bisect log
# bad: [18f926e8e18b3d855c2f79ef279febbeb846b8cd] source 13152ad88b24cadc836a829b4424a72a152ca9b1
# good: [ea94942caaf195b8d8b2d5c2abb523359ab390e7] source a20a2d7e0d28658f2d9089da076961a599833a28
git bisect start 'master' 'oldest'
# good: [3aea60569b9190400409ebb93f0a5d323b6fc5d4] source 47ce4b87d8a13fc340794ffd9a10d5bd6a15e644
git bisect good 3aea60569b9190400409ebb93f0a5d323b6fc5d4
# bad: [3b794d71dd796e467baef082c140bdc77c69c979] source 47d25dc5abe000ce751cb1e4dbd1f85f7198ca05
git bisect bad 3b794d71dd796e467baef082c140bdc77c69c979
# good: [8adbffa485cdd6d5e13106e5f55e70249f46a4f6] source 15e9e6d12aa2d49e114ec0cf8326f2264ccf2640
git bisect good 8adbffa485cdd6d5e13106e5f55e70249f46a4f6
# bad: [446d84046fe885e09f7cb71061f6c80ff83137e3] source 5bd1caf14c8e297db229e9060a584386247e62b1
git bisect bad 446d84046fe885e09f7cb71061f6c80ff83137e3
# good: [290c14249daec35d65309db03bbb2d8dd9577869] source a67125aa5c5ef8f2a19dcbcad778cd66a304761b
git bisect good 290c14249daec35d65309db03bbb2d8dd9577869
# good: [f6df399b757e904217e23ef90ec5c2959a06120b] source bdc5cfab8106d73af3452155cedf732972bd3a91
git bisect good f6df399b757e904217e23ef90ec5c2959a06120b
# good: [ed3d3db07a13d42a8b75cbcd4d147355cb7257ee] source 817e3447053d1a7465a5cf547b4eb39fc46b4d59
git bisect good ed3d3db07a13d42a8b75cbcd4d147355cb7257ee
# good: [ea288245a62c27b40ecd292053797783bfd507da] source 69b5da392951fbd655912185434edab94f8ac0af
git bisect good ea288245a62c27b40ecd292053797783bfd507da
# bad: [f6670847d1187d4ab393282d3436863a3d065f66] source f512f8818aec08a5b463c8acdf781e7ab27036f5
git bisect bad f6670847d1187d4ab393282d3436863a3d065f66
# bad: [31fc8d12b22fe202f32f161c26225cfecde28b56] source 2fb6e8365c6792422c10c56e2c976b781c194b77
git bisect bad 31fc8d12b22fe202f32f161c26225cfecde28b56
# good: [b17a1eb4b5166e098deaea592821aaa4b759a903] source ea3a1b075154a665d30aaac6513812ceb839f64b
git bisect good b17a1eb4b5166e098deaea592821aaa4b759a903
# good: [0575008ba11fc546379c93687bf22ac179a3fb34] source 08557a159bde7dab626f36488c88af94d7da0deb
git bisect good 0575008ba11fc546379c93687bf22ac179a3fb34
# good: [45b7b65ced0b13324a06909479bbf5b77872766c] source 6e7bfc896e6cb4d91dcecf974f0d9ee41f35b86a
git bisect good 45b7b65ced0b13324a06909479bbf5b77872766c
# first bad commit: [31fc8d12b22fe202f32f161c26225cfecde28b56] source 2fb6e8365c6792422c10c56e2c976b781c194b77
Comment 3 Commit Notification 2019-08-18 20:22:30 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/e306e487548dd78c4807820942dd2bf0c8f7fd21%5E%21

Resolves: tdf#127002 keystrokes in edit engine passed on to dialog

It will be available in 6.4.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 4 Caolán McNamara 2019-08-18 20:26:49 UTC
fixed in master, backport to 6-3 in gerrit
Comment 5 Xisco Faulí 2019-08-19 10:06:28 UTC
Verified in

Version: 6.4.0.0.alpha0+
Build ID: cbe9601e5972ec1c466311e0b148a9fbe8cda4d1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

@Caolán, thanks for fixing this issue!!
Comment 6 Commit Notification 2019-08-19 10:08:41 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-6-3":

https://git.libreoffice.org/core/+/ed2c73a6b7857e97cd3a10c9f96daf95ff354c0a%5E%21

Resolves: tdf#127002 keystrokes in edit engine passed on to dialog

It will be available in 6.3.2.

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 7 Commit Notification 2019-08-19 10:59:31 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-6-3-1":

https://git.libreoffice.org/core/+/3740ae6b3ba66a19b32134c55d19291e21ba1dd2%5E%21

Resolves: tdf#127002 keystrokes in edit engine passed on to dialog

It will be available in 6.3.1.

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.