https://bugs.documentfoundation.org/show_bug.cgi?id=168478
--- Comment #7 from Andreas Heinisch <[email protected]> --- Investigated the error and it seems that the patch causing this problem only made the problem more evident. In ScDBData* ScDocShell::GetDBData [1] the filtered range will be retrieved. If there is just a single selection, the filtered are will be expanded to the area of the auto filter. Imho, there is still a problem there being the root cause of bug 117328. The range will be extended to the selected are in [2] but the new area could be smaller than the actual filtered area. So, if you don't select the exact filtered area of the filtered range, a new filtered range will be created just for the purpose of resetting it in [3]. The same implementation error causes bug 117346. My patch just tried to not create new filtered database areas if we where resetting a filtered range. Don't know how to resolve it and if this problem is a bug or a feature when creating standard filters. [1] https://opengrok.libreoffice.org/xref/core/sc/source/ui/docshell/docsh5.cxx?r=6376fe01859a14a22b2601ff04691ceb894c33d4#112 [2] https://opengrok.libreoffice.org/xref/core/sc/source/ui/docshell/docsh5.cxx?r=6376fe01859a14a22b2601ff04691ceb894c33d4#172 [3] https://opengrok.libreoffice.org/xref/core/sc/source/ui/docshell/docsh5.cxx?r=6376fe01859a14a22b2601ff04691ceb894c33d4#234 -- You are receiving this mail because: You are the assignee for the bug.
