Bug 51966 - Format brush tool moves selection anchor to a random(?) cell
Summary: Format brush tool moves selection anchor to a random(?) cell
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Clone-Formatting
  Show dependency treegraph
 
Reported: 2012-07-10 21:05 UTC by OfficeUser
Modified: 2025-08-07 10:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Steps to reproduce (13.36 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-07-10 21:05 UTC, OfficeUser
Details
proposed patch (961 bytes, patch)
2012-07-11 12:02 UTC, Faisal Menawer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OfficeUser 2012-07-10 21:05:49 UTC
Created attachment 64084 [details]
Steps to reproduce

The bug is explained in the attached ods file.

Found with
LibreOffice 3.5.4.2 
Build-ID: 165a79a-7059095-e13bb37-fef39a4-9503d18

OS = Linux/Ubuntu and WindowsXP
Comment 1 Urmas 2012-07-11 04:24:47 UTC
Summary: keyboard selection anchor after using that tool is on some distant cell, not the source cell or the last of destination area.
Comment 2 Faisal Menawer 2012-07-11 12:02:25 UTC
Created attachment 64105 [details]
proposed patch

i fix the problem.
Comment 3 Eike Rathke 2012-07-18 10:43:58 UTC
(In reply to comment #2)
> proposed patch

Thanks, but this is not the correct approach, please see review in https://gerrit.libreoffice.org/321
Comment 4 QA Administrators 2015-01-05 17:52:02 UTC Comment hidden (obsolete)
Comment 5 OfficeUser 2015-01-09 12:07:39 UTC
Bug still present in:

Version: 4.4.0.1
Build-ID: 1ba9640ddd424f1f535c75bf2b86703770b8cf6f
Gebietsschema: de_DE

OS: Windows 8
Comment 6 QA Administrators 2016-01-17 20:04:11 UTC Comment hidden (obsolete)
Comment 7 OfficeUser 2016-04-23 19:40:52 UTC
Bug still present in:

Version: 5.1.2.2
Build-ID: 1:5.1.2~rc2-0ubuntu1~trusty0
CPU-Threats: 8; BS-Version: Linux 3.16; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE.UTF-8)

OS: Linux
Comment 8 QA Administrators 2017-05-22 13:25:44 UTC Comment hidden (obsolete)
Comment 9 OfficeUser 2017-05-23 06:55:37 UTC
I still can reproduce this bug using:

Version: 5.3.3.2
Build-ID: 1:5.3.3~rc2-0ubuntu0.14.04.1~lo0
CPU-Threads: 8; BS-Version: Linux 4.4; UI-Render: Standard; VCL: gtk2; Layout-Engine: alt; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group
Comment 10 OfficeUser 2018-04-09 20:01:07 UTC
I still can reproduce this bug using:

Version: 6.1.0.0.alpha0+
Build ID: f3e8d0fb317090aade384784a1e16a8c8afe3437
CPU threads: 8; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-03-22_08:34:58
Locale: de-DE (de_DE.UTF-8); Calc: group
Comment 11 malboarg 2018-06-13 19:20:42 UTC
This bug is still present in
Version: 6.1.0.0.beta1
Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 

I have selected other cells (i.e. D1,D6 instead of A1,A4 and the result is similar)
Comment 12 QA Administrators 2019-06-14 03:01:10 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2021-06-14 03:40:50 UTC Comment hidden (obsolete)
Comment 14 QA Administrators 2023-06-15 03:15:15 UTC Comment hidden (obsolete)
Comment 15 QA Administrators 2025-06-15 03:12:18 UTC Comment hidden (obsolete)
Comment 16 OfficeUser 2025-08-07 10:24:52 UTC
Re-tested with version see below.

Result: The cell selection is correct but still the wrong selection (A1:B4) is displayed in the box on top-left.

So possibly we have a slight improvement here. (Needs to be double-checked with older builds.)


Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.4
Calc: threaded
Comment 17 OfficeUser 2025-08-07 10:28:03 UTC
On a second try it looks to be completely fixed to me. Could someone please test?