Bug 147255 - When select A1:A2 cells in Sheet2, then select another cell in Sheet2, then switch to Sheet1 and switch back to Sheet2, cells A1:A2 are still highlighed
Summary: When select A1:A2 cells in Sheet2, then select another cell in Sheet2, then s...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2022-02-07 14:15 UTC by Kevin Suo
Modified: 2022-02-19 01:23 UTC (History)
7 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 Kevin Suo 2022-02-07 14:15:57 UTC
Steps to Reproduce:
1. New Calc, new Sheet, so that we have Select1 and Sheet2.
2. Select A1:A2 in Sheet2, then click in cell B6, so that now cell B6 is highlighted.
3. Switch to Sheet1, then switch back to Sheet2.

Current Result:
Cells A1:A2 as well as cell B6 are highlighted in Sheet2.

Expected:
Only cell B6 is highlighted in Sheet2.

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 1c635de6ed48dec4566341c174351432ddab757d
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Build Platform: Fedora34@X64, Branch:master, bibisect-linux-64-7.4-CN
Calc: threaded

Fedora 34 X64, Gnome 40.7 x11.
Comment 1 Kevin Suo 2022-02-07 14:29:43 UTC
Bisected to:

commit c82634d5a222120b3a95cff1b950a7f7a1f5ded1
Author: Ahmet Hakan Çelik <ahmethcelik@gmail.com>
Date:   Sun Jul 25 12:31:28 2021 +0300

    tdf#64345: EDITING: Selected area looses selection when switching sheet

Adding Ahmet Hakan Çelik to cc: could you please take a look?
Also adding Heiko Tietze, the reviewer of that commit, to cc.
Comment 2 Kevin Suo 2022-02-07 14:37:02 UTC
Further step

4. Click on any other cells in Sheet2.

Current Result:
This cell is highlighted with shadow.

Expected:
This cell is selected, without shadow, but with rectangle box only.
Comment 3 Kevin Suo 2022-02-07 14:38:24 UTC
Also adding Calc expert Erack to cc.
Comment 4 ahmethcelik 2022-02-07 15:05:08 UTC
I'll take a look asap.
Comment 5 raal 2022-02-07 19:31:14 UTC
confirm with Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 24e6217c0abdaed703a077e77881ad6e8b4f6f0e
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo
Comment 6 Kevin Suo 2022-02-18 12:23:51 UTC
That commit is now reverted in
https://gerrit.libreoffice.org/c/core/+/130108

Mark this as FIXED.
Comment 7 Kevin Suo 2022-02-19 01:23:30 UTC
Verified fixed on master.