Description: Still there is an Autofilter icon in last column after deleting a column before Steps to Reproduce: 1. Create a spreadsheet with data like a b c 1 4 7 2 5 8 3 6 9 1 4 7 2 5 8 3 6 9 2. Select all cells with the data and set Autofilter for it using icon on the toolbar 3. Use Autofilter in column 'b' and filter by 4 4. Delete column 'a' 5. Look at the spreadsheet -> there is an Autofilter icon in cell where was 'c' before but it does nothing if you try to press it 6. In additional you can press Ctr+Z Ctr+Y Ctr+Z Ctr+Y Ctr+Z Ctr+Y and you will get many stupid Autofilter icons in first row of your data Actual Results: Still there is an Autofilter icon in last column after deleting a column before Expected Results: There is no any artifacts after column deleting Reproducible: Always User Profile Reset: No Additional Info: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 480ef73deef62c458e5735cd496a1d74ef408ed8 CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb) Locale: ru-RU (ru_RU.UTF-8); UI: en-US Calc: threaded
Created attachment 204070 [details] Screenshots with many stupid Autofilters icons
Reproducible Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 620(Build:0) CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: threaded