Bug 114022 - Selection in Input Line, of cell containing also an email address as link, is not synchronized properly in the cell
Summary: Selection in Input Line, of cell containing also an email address as link, is...
Status: RESOLVED DUPLICATE of bug 103447
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks:
 
Reported: 2017-11-24 13:14 UTC by Cor Nouws
Modified: 2023-10-19 20:01 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
test file with cells, that have as content also an email address as link. (27.11 KB, application/vnd.oasis.opendocument.spreadsheet)
2017-11-24 13:17 UTC, Cor Nouws
Details
screen print showing bad synchonizing of selection (46.82 KB, image/png)
2017-11-24 13:18 UTC, Cor Nouws
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cor Nouws 2017-11-24 13:14:08 UTC
I'll attach a test document

The content of cells A1 and A4 have includes an email address as hyperlink.
Give such a cell the focus.
Put cursor in Input Line (Ctrl+Shift+F2)
Select some text, possibly unselect, and change selection
 > The selection in the cell, is not the same as what is done in the Input Line.


Found in 5.2.7.2 and in a fresh nightly build: 6.0.0.0.alpha1+
Build ID: 921c8f50132de4042860956e102389c239da638a
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-11-21_23:54:47
Locale: nl-NL (nl_NL.UTF-8); Calc: group threaded
Comment 1 Cor Nouws 2017-11-24 13:17:41 UTC
Created attachment 137963 [details]
test file with cells, that have as content also an email address as link.

Note: when there is an email address as hyperlink in a cell, one puts the focus on that cell, hits Ctrl+M, so that the hyperlink is removed, it is still shown in the Input Line.
Comment 2 Cor Nouws 2017-11-24 13:18:13 UTC
Created attachment 137964 [details]
screen print showing bad synchonizing of selection
Comment 3 Buovjaga 2017-11-24 18:10:04 UTC
Problem is not yet in 3.6.

Arch Linux 64-bit
Version: 6.0.0.0.alpha1+
Build ID: 008673c23db0c812eb0b48a1c29ab88b48aaa867
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on November 23rd 2017

Arch Linux 64-bit
Version 3.6.7.2 (Build ID: e183d5b)
Comment 4 Buovjaga 2018-05-30 17:36:09 UTC
Problem is already in 4.3.0.0.beta1 (Win) and still with latest master on Linux.
Comment 5 Buovjaga 2018-07-09 19:39:05 UTC
My previous result claiming 3.6 was OK was apparently wrong.

Bibisected with Linux 43all to range https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=85c6244b85b29c1d2bb9d89b62e9512dd65378b5...558b5ea32a99654dcb63526f107726f7aec4747f

I bet it's this one: https://cgit.freedesktop.org/libreoffice/core/commit/?id=c2f62c8cb30975e3cd46c4800e738f3f010ecb3e
enable gsoc multi line inputbar feature
Comment 6 QA Administrators 2019-07-10 02:53:42 UTC Comment hidden (obsolete)
Comment 7 Cor Nouws 2020-08-29 14:23:49 UTC
still a problem in Version: 7.0.0.3
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU-threads: 8; Besturingssysteem: Linux 5.4; UI-render: standaard; VCL: gtk3
Locale: nl-NL (en_US.UTF-8); GI: nl-NL
Calc: threaded
Comment 8 Andreas Heinisch 2022-09-09 10:12:59 UTC
Repro in:
Version: 6.2.0.1 (x64)
Build-ID: 0412ee99e862f384c1106d0841a950c4cfaa9df1
CPU-Threads: 16; BS: Windows 10.0; UI-Render: GL; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: CL

and in:
Version: 7.3.4.2 (x64) / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL

No repro in:
Version: 7.4.0.2 (x64) / LibreOffice Community
Build ID: 1512ce97d7ed39dce3121f7e15651fd8895f950e
CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL
Comment 9 Stéphane Guillou (stragu) 2023-10-19 20:01:42 UTC
(In reply to Andreas Heinisch from comment #8)
> No repro in:
> Version: 7.4.0.2 (x64) / LibreOffice Community
> Build ID: 1512ce97d7ed39dce3121f7e15651fd8895f950e
> CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL:
> win
> Locale: de-DE (de_DE); UI: de-DE
> Calc: CL

I still reproduce in a recent trunk build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b83f069101f1e6d8aaac09a805f02bbc4c619e7a
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I think Andreas seeing it as "works for me" has to do with the "cycling" nature of the issue, described by Mike in duplicate bug 146020:

(Mike Kaganski from bug 146020 comment #0)
> Created attachment 176665 [details]
> Screen cast
> 
> When a Calc cell contains a URL field, entering the formula bar first time
> does not highlight the field, *and navigates the URL content as if it is
> normal text*. Clicking to the same cell to leave formula bar, then entering
> the formula bar again, (but *not* leaving this cell!) highlights the field,
> and starts to "jump" over the field, and usual. Leaving the cell, and
> entering it again, starts the sequence anew.

Marking as duplicate of earlier bug 103447.

*** This bug has been marked as a duplicate of bug 103447 ***