https://bugs.documentfoundation.org/show_bug.cgi?id=137687

Tex2002ans <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Tex2002ans+LibreOffice@gmai
                   |                            |l.com

--- Comment #6 from Tex2002ans <[email protected]> ---
Created attachment 200265
  --> https://bugs.documentfoundation.org/attachment.cgi?id=200265&action=edit
Test.137687.-.Status.Bar.Not.Changing.on.Highlight.Delete

Followed all the steps in Comment 5.

Still happens in:

Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render:
Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

- - -

I also attached a very basic ODT document with Comment 5's sample text,
expanded:

> We are deleting words in this sentence
> We are  deleting words in this sentence
> We are   deleting words in this sentence

Only difference being 1->3 spaces between "are" and "deleting".

- - - - - - -

# NOTES ON TESTING

Another few oddities that occur...

1. It happens with THE MOUSE highlighting too.
-- It doesn't just happen with keyboard CTRL+SHIFT+LEFT (or SHIFT+LEFT).
2. Seems much more common with Right-to-Left.
3. Can ALSO occur with Left-to-Right.
-- See ISSUE 2 below.
4. SPACE is treated different too!
-- See ISSUE 3 + 4 + 4.1 below.

- - - - - - -

## ISSUE 1: Right-to-Left Highlighting

I'm using the middle word "deleting" as an example.

If you highlight going from:

- d->g = OK
- g->d = NOT OK

So:

- Left-to-Right = OK
--- Status bar updates fine.
- Right-to-Left = NOT OK
--- Status bar doesn't update, until cursor moves.

This is the bug as Comment 5 said.

## ISSUE 2: Deleting single letters

If you highlight the very 1st 'e' in "deleting" and press DELETE or BACKSPACE
key:

- Left-to-Right = NOT OK
- Right-to-Left = NOT OK

Both status bars are stuck on showing:

- Selected: 1 word, 1 character

## ISSUE 3: Deleting SPACE

Use this sample text instead:

> We are   deleting words in this sentence

There are 3 SPACEs between the word "are" and "deleting".

If you highlight and delete:

- 1st space = NOT OK
- 2nd space = OK
- 3rd space = NOT OK

This also happens BOTH LEFT<->RIGHT highlighting.

## ISSUE 4: Overwrite entire word with SPACE

Instead of pressing the DELETE key, press SPACE to override the text.

So:

- Highlight the word "deleting".
- Press SPACE.

Result:

- Left-to-Right = OK
- Right-to-Left = NOT OK

## ISSUE 4.1: Overwrite single character with SPACE

This time:

- Select the 1st 'e' in "deleting".
- Press SPACE.

Result:

- Left-to-Right = NOT OK
- Right-to-Left = OK

!!!Now this is the exact opposite, where RTL highlight works but not LTR!!!

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to