Description: In a table there is a row with images, all anchored to cell. When I hide some rows with autofilter and sort at the same time with autofilter, it screws up the position of the images. Steps to Reproduce: 1. Create a table with some columns and values (Numbers, words,...) 2. Insert images in one column, so that each row has an image anchored to the cell 3. Click Autofilter and hide certain rows 4. Sort them (e.g. descending) at the same time Actual Results: The position of the images is messed up Expected Results: The images should still have the correct position in the cell/row where they belong to Reproducible: Always User Profile Reset: No Additional Info: See the attachment for experiencing the bug oneself. Version: 7.4.3.2 / LibreOffice Community Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890 CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-GB (en_GB.UTF-8); UI: en-GB Flatpak Calc: threaded
Created attachment 184293 [details] Seasonal Calendar for visualising the bug yourself
Created attachment 184294 [details] Another try to attach it as ods
*** This bug has been marked as a duplicate of bug 147420 ***
Using steps: 1. Open attachment 184294 [details] 2. Filter column "Januar" for value "2" 3. Sort column "Name" in descending order Some changes in 6.1: - in 6.0, pictures don't move when sorting. - linux-64-6.1, build [cc1980c9609c44386fdf6a1deb301fdbe4662a91], commit 3a2a430ae8e2c1647c18d8904477949f6e2e7941: images moved when sorting, but don't end up in the correct row. commit 3a2a430ae8e2c1647c18d8904477949f6e2e7941 author Samuel Mehrbrodt Wed Dec 20 11:30:36 2017 +0100 committer Eike Rathke Tue Jan 23 00:46:19 2018 +0100 tdf#98931 Consider cell-anchored images when sorting Reviewed-on: https://gerrit.libreoffice.org/46838 - linux-64-6.1, build [a25fe0dc4460c3dec74d8590c036c6892b95bd06], commit 4f29ce6a67b81e7f28e1c86d60ff15ec1d180661: many images end up underneath the sorted rows. commit 4f29ce6a67b81e7f28e1c86d60ff15ec1d180661 author Samuel Mehrbrodt Tue Feb 27 16:56:44 2018 +0100 committer Eike Rathke Tue Mar 13 00:23:40 2018 +0100 tdf#114552 Improve image scaling in Calc Reviewed-on: https://gerrit.libreoffice.org/50451 Still the case in: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 53c5d570cab036b23f4969b858a648c8f0c24f93 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded I think we should keep this separate from bug 147420. Samuel, can you please have a look?
Fixed by Regina with: https://git.libreoffice.org/core/commit/f0a2969d15e3101d7f96a7fe77bca06a5d70f57a tdf#160329 update objects after row sort is finished It will be available in 24.8.0. https://git.libreoffice.org/core/commit/1347274fc1cb780db4c7c9b8c0272e1730b95c04 tdf#160329 update objects after row sort is finished It will be available in 24.2.4. I checked with linux-64-24.8 bibisect repo at corresponding build [921f5f782a764a4b51f12b95986f16f6278333e8]. Thanks Regina!