Description: In LibreOffice Writer application, while adding a function to the table, the cursor is positioned after the function name, but it is positioned before the function name. This situation, when not paid attention, causes the result of "sum" to be generated in all functions. Steps to Reproduce: 1. Insert table (for example: 3x3) 2. Press "=" key 3. Press "fx" and select any function 4. Select target cells 5. Press "Enter" Actual Results: If the cursor position is not paid attention to : =<A1:B1>mean or =<A1:B1>min Expected Results: The cursor must be positioned after the function name =mean<A1:B1> or =min<A1:B1> Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: In case of carelessness it can have sad consequences.
Created attachment 167532 [details] sample video
I can't confirm it with Version: 7.1.0.0.beta1 (x64) Build ID: 828a45a14a0b954e0e539f5a9a10ca31c81d8f53 CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: threaded Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/current.html ? You can install it alongside the standard version. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
I have tried the version you linked but the issue still exists. Whenever I try to select a function the cursor jumps back to the start position of the function name. I am not sure this is related to window manager or such but I can confirm that this is happening under both Gnome and Xfce desktop environments.
Thanks for testing. Perhaps somebody else can help. It would be useful, if you can paste informations from Help => About LibreOffice
Version: 7.2.0.0.alpha0+ Build ID: c17ff0b5dc20d637392562eb59bd5bfdb2694389 CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3 Locale: tr-TR (tr_TR.UTF-8); UI: en-US TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-12-13_14:43:26 Calc: threaded
Thank you for reporting the bug. I can not reproduce the bug in Version: 7.2.0.0.alpha0+ Build ID: d9ccee2231a8d8984302e1b2f578bf73b4d60c35 CPU threads: 4; OS: Mac OS X 10.15.7; UI render: default; VCL: osx Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded Version: 7.0.3.1 Build ID: d7547858d014d4cf69878db179d326fc3483e082 CPU threads: 4; OS: Mac OS X 10.15.7; UI render: default; VCL: osx Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded Additional comments: Followed steps to reproduce; however, the issue reported does not seem to replicate. After following steps, cursor is placed immediately after the formula and/or the function is not placed at the end of the formula. Tested function min, mean, and sum and got the correct expected performance.
I can reproduce in LibreOfficeDev 7.2.0.0.alpha0
Only seen with GTK3 vclplugin. Bibisected with linux-64-7.0 to https://git.libreoffice.org/core/commit/2658b0e5ffdff795d910f373feb5c55ad01b7d09 weld InputEdit Item Window Adding Cc: to Caolán McNamara
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/3870ca340537294fd1168abe9592f903140d6459 tdf#138457 Cursor position wrong when using functions in a writer table It will be available in 7.2.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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-1": https://git.libreoffice.org/core/commit/f00fbd068a3b98b4c2ab98aea01ed6a2ff1b8009 tdf#138457 Cursor position wrong when using functions in a writer table It will be available in 7.1.0.2. 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.
fixed in master and 7-1, backport to 7-0 in gerrit
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/cc54ea4412b2561fc4eb57e40f6eeec66cc30c16 tdf#138457 Cursor position wrong when using functions in a writer table It will be available in 7.0.5. 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.
Verified, thanks Arch Linux 64-bit Version: 7.2.0.0.alpha0+ Build ID: b36a40a809206a57160108b3361f42420f619c2e CPU threads: 8; OS: Linux 5.9; UI render: default; VCL: gtk3 Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 23 December 2020
thanks...