https://bugs.documentfoundation.org/show_bug.cgi?id=143834
Buovjaga <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ilmari.lauhakangas@libreoff | |ice.org --- Comment #6 from Buovjaga <[email protected]> --- Note: while testing I was looking at word count in the status bar, but Tools - Word Count works the same way. (In reply to f.zit from comment #0) > 1) New document > 2) Insert this content: > w1 > w2 w3 > w4 w5 > 3) Select all -> WC 5 > 4) Activate track changes > 5) Delete the second paragraph. Hide the tracked changes; the document shows: > w1 > w4 w5 > 6) Select all -> WC 5 (Expectation: WC decreased by 2. Behavior: WC > unchanged.) In the latest version this step gives the expected result of 3 words. I bibisected this change with Linux 7.6 repo to 9788a565b3241d1bd62394b9e29c322361d05f80 It seems to be due to this added line in sw/source/uibase/wrtsh/select.cxx: GetView().GetViewFrame().GetBindings().Update(FN_STAT_SELMODE); // make selection mode control icon update immediately > 7) Delete " w5" > 8) Select all -> WC 4 (Expectation: WC decreased by 1. Behavior: WC > decreased by 1.) In the latest version, this gives the unexpected result of 4 words. Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 8c982bf86ff9ca5a4ed86505ec1133cc183f1b58 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded -- You are receiving this mail because: You are the assignee for the bug.
