Bug 98494 - Shift+F3 (and other actions) not working tangent to a word
Summary: Shift+F3 (and other actions) not working tangent to a word
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2016-03-07 11:59 UTC by cdiac
Modified: 2020-11-30 15:14 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Cursor tangent to word dolor (at the beginning) (98.11 KB, image/png)
2016-03-07 12:04 UTC, cdiac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cdiac 2016-03-07 11:59:58 UTC
Inside Writer, if one puts the cursor tangent to a word (between the white space -that separates two words or a word and a punctuation- and the first or last letter of the word that needs to change case of) will not change the case of that word.

It is of importance because one can jump between words using Ctrl+arrows and will get to desired word to change case and will not be able to do so if not pressing the arrow keys again to move cursor inside the word (between letters of the same word).
Comment 1 cdiac 2016-03-07 12:04:56 UTC
Created attachment 123373 [details]
Cursor tangent to word dolor (at the beginning)

Cursor tangent to word dolor (at the beginning of the word) and can not change case by Shift+F3
Comment 2 Cor Nouws 2016-03-07 12:11:01 UTC
Thanks cdiac for filing.
This is general behaviour: Ctrl+B for example has no effect either in that situation.
What you want (maybe want) is a redefinition of 'text that has the focus'
The cursor just in front of after a word, implies that the word does not have the focus.
(I would not dare to touch this, having no idea what could be affected by changing this ;) )
Comment 3 cdiac 2016-03-07 13:24:24 UTC
Added a bug to AOOO also. Hopefully someone will be brave enough. :)

https://bz.apache.org/ooo/show_bug.cgi?id=126861
Comment 4 V Stuart Foote 2020-11-30 15:14:01 UTC
Believe this was confirmed in error and is no longer relevant.

Edit cursor movement is now correctly controlled by UNO (.uno:GotoNextWord, .uno:GotoPrevWord) positioning into the text run within ICU word bounds needed for transliterations (to be done with or without selection).  The partial word selection to beginning or to end of word (.uno:WordLeftSel, .uno:WordRightSel locale aware).

Likewise when cursor has been advanced onto the word bound, a transliteration action against just the word bound  (per locale) would not make sense--the action would be ambiguous, does it apply to previous or next word?.

The .uno:SelectWord control is available to assign to shortcut, but seems to select to bounds of the previous word when used from edit cursor positioned on the word bound/punctuation.

Without selection a transliteration occurs to text run within word bounds (per locale). And with selection it applies to the selection (except for Sentence case which has been broken as for bug 49033).

The control logic and behavior around edit cursor positioned on ICU word bounds seems correct.