Created attachment 179823 [details] gif screencast Steps to Reproduce: 1. New Calc, Ctrl+A to select all. 2. Hold Ctrl key, then select a range. 3. Hold Ctrl key, then select another range and then do reverse selection. Current Result: Selected range is wrong. The attached gif screencast says everything. Reproduced in Version: 7.2.6.2 / LibreOffice Community Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754 CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: gtk3 Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN Calc: threaded Fedora 35 also in 7.3 branch. This bug was initially reported in the Chinese community forum: https://bbs.libreofficechina.org/thread-3160-1-1.html
https://gerrit.libreoffice.org/c/core/+/133538
hasban12138 committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2490715c112699487915865f4267a880fe7bc4b3 tdf#148837: fix cell range negative selection It will be available in 7.4.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.
hasban12138 committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/2e33212b761cbed1b13a00750ecb7fece0d6a047 tdf#148837: fix cell range negative selection It will be available in 7.3.4. 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.