Bug 123662 - EDITING: matrix formula fails if filter is applied
Summary: EDITING: matrix formula fails if filter is applied
Status: CLOSED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoFilter Cell-Formula
  Show dependency treegraph
 
Reported: 2019-02-23 14:05 UTC by Oliver Brinzing
Modified: 2021-02-25 21:48 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
autofilter edit matrix formula (10.43 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-02-23 14:05 UTC, Oliver Brinzing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Brinzing 2019-02-23 14:05:53 UTC
Created attachment 149545 [details]
autofilter edit matrix formula

steps to reproduce:

- open attached spreadsheet:
  cell range "D3:D8" contains matrix formula {=C3:C8-B3:B8} and
  autofilter hides some rows, cell C3 is selected

- press Ctrl+/ (/ from numeric pad) to select the matrix formula
- press F2 to edit the matrix formula
- change formula: =C3:C8-B3:B8+1 and press Shift+Ctrl+Enter
-> error msg: This function cannot be used with multiple selections.

seems like Ctrl+/ selects the view and not the data range:
MRI shows selection: "AbsoluteName string $Tabelle1.$D$3:$D$5"

btw: no problem if some rows are hidden manually without an autofilter applied
Comment 1 einsachtzehn 2019-02-23 19:14:45 UTC
Reproducible in

Version: 6.1.5.2
Build-ID: 10(Build:2)
CPU-Threads: 4; BS: Linux 4.12; UI-Render: Standard; VCL: gtk3_kde5; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group threaded
Comment 2 QA Administrators 2021-02-23 04:26:24 UTC Comment hidden (obsolete)
Comment 3 Oliver Brinzing 2021-02-25 19:05:09 UTC
reproducible with

Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc:
Comment 4 Eike Rathke 2021-02-25 21:48:17 UTC
This is expected. Selecting over filtered rows creates a multi-selection, omitting the filtered rows. The filtered rows' cells are not copied, not deleted, not overwritten with Alt+Enter and consistently also not modified when attempting to enter a matrix/array formula. Note that filtered is different from manually hiding, on purpose.

Not a bug.