Bug 140599 - EDITING Row and column highlight cleared when selection moves over a filtered row
Summary: EDITING Row and column highlight cleared when selection moves over a filtered...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Tünde Tóth
URL:
Whiteboard: target:7.2.0
Keywords:
Depends on:
Blocks: AutoFilter Cell-Selection
  Show dependency treegraph
 
Reported: 2021-02-22 13:52 UTC by NISZ LibreOffice Team
Modified: 2021-03-10 07:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Calc (8.37 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-02-22 13:52 UTC, NISZ LibreOffice Team
Details
The example file after selecting two visible cells. (12.65 KB, image/png)
2021-02-22 13:53 UTC, NISZ LibreOffice Team
Details
The example file after extending the selection to a hidden cell. (11.61 KB, image/png)
2021-02-22 13:53 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2021-02-22 13:52:49 UTC
Created attachment 169963 [details]
Example file from Calc

Selection of cells stops highlighting the row and column headers when some rows hidden with autofilter get selected.

Steps to reproduce:
    1. Open attached file, it has a few values and one of them is hidden with an autofilter
    2. Click in A2 and press Shift+Down to highlight A3 as well
    3. Notice the row headers and column header is highlighted with blue background and white text
    4. Press Shift+Down again to highlight A4 too, which is hidden by autofilter

Actual results:
The row and column headers lose their highlighting.

Expected results:
Row and column headers are still highlighted.

LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 385808a2dff7300ec0120fdd5e8acfad8f86e50d
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-GB
Calc: CL

Also happens in: 7.0, 6.0, 5.0, 4.0, 3.5.
Comment 1 NISZ LibreOffice Team 2021-02-22 13:53:15 UTC
Created attachment 169964 [details]
The example file after selecting two visible cells.
Comment 2 NISZ LibreOffice Team 2021-02-22 13:53:35 UTC
Created attachment 169965 [details]
The example file after extending the selection to a hidden cell.
Comment 3 Commit Notification 2021-02-24 09:52:52 UTC
Tünde Tóth committed a patch related to this issue.
It has been pushed to "master":

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

tdf#140599 calc UI: fix row and column highlight

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 4 NISZ LibreOffice Team 2021-03-10 07:03:41 UTC
Verified in:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 72841008bf422dfd8553240b3a78f0474d03523c
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 Jumbo