https://bugs.documentfoundation.org/show_bug.cgi?id=156801
Bug ID: 156801
Summary: Inconsistent updating of selected character count
Product: LibreOffice
Version: 7.5.3.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
When selecting text, the number of selected characters should update as more
characters are selected, no matter what the selected character is. This
behavior is inconsistent, however, when word boundaries are crossed or
non-letters are present. Below I give an example with punctuation, but
equally-strange if not stranger behavior occurs if there are numbers in the
words (e.g., try selecting character-by-character the string "Wo1 Wo2 Wo3").
This bug makes this feature useless for actually counting characters.
Steps to Reproduce:
1. Open a new document.
2. Write "ab cd! ef"
3. Position the cursor at the beginning of the text.
4. Press shift-right to select the first character. Bottom bar reads correctly:
"Selected: 1 word, 1 character."
5. Press shift-right again. The characters "ab" should be selected. Bottom bar
reads correctly: "Selected: 1 word, 2 characters."
6. Press shift-right again. The characters "ab " should be selected. Bottom bar
reads correctly: "Selected: 1 word, 3 characters."
7. Press shift-right again. The characters "ab c" should be selected. Bottom
bar reads *incorrectly*: "Selected: 1 word, 3 characters."
8. Press shift-right again. The characters "ab cd" should be selected. Bottom
bar reads *incorrectly*: "Selected: 1 word, 3 characters."
9. Press shift-right again. The characters "ab cd!" should be selected. Bottom
bar reads correctly: "Selected: 2 words, 6 characters."
10. Press shift-right again. The characters "ab cd! " should be selected.
Bottom bar reads correctly: "Selected: 2 words, 7 characters."
11. Press shift-right again. The characters "ab cd! e" should be selected.
Bottom bar reads *incorrectly*: "Selected: 2 words, 7 characters."
12. Press shift-right again. The characters "ab cd! ef" should be selected.
Bottom bar reads correctly: "Selected: 3 words, 9 characters."
13. Press shift-left. The characters: "ab cd! e" should be selected. Bottom bar
reads correctly: "Selected 3 words, 8 characters."
14. Press shift-left. The characters: "ab cd! " should be selected. Bottom bar
reads *incorrectly*: "Selected: 3 words, 8 characters."
Actual Results:
Bottom bar incorrectly reports the number of characters selected in certain
circumstances.
Expected Results:
Bottom bar should correctly report the number of characters selected in all
circumstances.
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
--
You are receiving this mail because:
You are the assignee for the bug.