Bug 146234 - Shift + F3 in LibreOffice vs (Microsoft Office & WPS Office)
Summary: Shift + F3 in LibreOffice vs (Microsoft Office & WPS Office)
Status: RESOLVED DUPLICATE of bug 49033
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CaseFolding
  Show dependency treegraph
 
Reported: 2021-12-15 08:12 UTC by Linux
Modified: 2021-12-15 13:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Shift + F3 in Microsoft Office Word & WPS Writer (64.81 KB, image/gif)
2021-12-15 08:13 UTC, Linux
Details
Shift + F3 in LibreOffice Writer (120.15 KB, image/gif)
2021-12-15 08:14 UTC, Linux
Details
example document to test issue (9.44 KB, application/vnd.oasis.opendocument.text)
2021-12-15 12:46 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Linux 2021-12-15 08:12:37 UTC
Description:
In Microsoft Office Word & WPS Writer, you can select a word in a sentence and press the keyboard shortcut Shift + F3. As a result, change only this one selected word (the picture is attached).
If you select a word in a sentence in LibreOffice and then press the Shift + F3 keys, then all words in the sentence written in capital letters will change (picture attached).
I wrote "if you select a word", but you can not select the whole word, but select only a part of it, or simply by placing the cursor in it and pressing Shift + F3. The result will be the same.
Why does LibreOffice Writer change all capitalized words in a sentence?
I have selected only one specific word!
I think this is a bug in LibreOffice Writer!

It’s strange so far I don’t see how to attach pictures.

Steps to Reproduce:
Sselect a word in a sentence and press the keyboard shortcut Shift + F3.

Actual Results:
All words in a sentence written in capital letters are changed, while only one highlighted word should change.

Expected Results:
LibreOffice Writer 7.2.1


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice Writer 7.2.1.2
Comment 1 Linux 2021-12-15 08:13:33 UTC
Created attachment 176937 [details]
Shift + F3 in Microsoft Office Word & WPS Writer
Comment 2 Linux 2021-12-15 08:14:14 UTC
Created attachment 176938 [details]
Shift + F3 in LibreOffice Writer
Comment 3 Stéphane Guillou (stragu) 2021-12-15 12:46:35 UTC
Created attachment 176947 [details]
example document to test issue

Reproduced with:

Version: 7.2.4.1 / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

The documentation says "Cycles the case of the *selected characters* between Title Case, Sentence case, UPPERCASE and lowercase."

According to the documentation, it should only affect the selected characters.

Steps to reproduce for me:
    0. Open attached document
    1. Put the cursor in the first line’s last word: “Blouh”.
    2. Use the shortcut Shift + F3
    3. Notice that the first try affects the whole line. Repeatedly using the shortcut then only affects the last word.
Comment 4 V Stuart Foote 2021-12-15 12:53:18 UTC
addressed for the 7.3 release with:

https://git.libreoffice.org/core/commit/cb699fd9c749d5fe621406918fa6458896c09239

*** This bug has been marked as a duplicate of bug 49033 ***
Comment 5 Stéphane Guillou (stragu) 2021-12-15 13:50:44 UTC
Thank you Stuart.

The commit you linked does fix the issue if the whole word is selected. I just tested that and saw it fixed in:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 06ac18e6302d666c363740644a7976e8c22d1113
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

The issue with having the cursor inside the word (and not selecting the whole word) does remain, but that can be tracked in other places: bug 144853