Bug 153186 - Arrow keys inserts private use area-F702 (U+F702) characters (macOS)
Summary: Arrow keys inserts private use area-F702 (U+F702) characters (macOS)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.0.2 rc
Hardware: x86-64 (AMD64) macOS (All)
: high major
Assignee: Patrick (volunteer)
URL:
Whiteboard:
Keywords: bibisectNotNeeded, regression
Depends on:
Blocks:
 
Reported: 2023-01-24 15:11 UTC by Vincent Boudry
Modified: 2023-04-11 08:40 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
actual i have find the bug , but in latest version is not supported (73.28 KB, patch)
2023-01-29 07:03 UTC, Aswin Prasanna X
Details
"not reproduced" screenshot by Aswin (73.28 KB, image/png)
2023-01-30 13: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 Vincent Boudry 2023-01-24 15:11:27 UTC
Description:
Repeated arrow keys (any direction) by continuous press produces extra characters :  (apparently U+F702 / UTF-8 EF 9C 82)

Steps to Reproduce:
1. Open a new Impress or Writer with 7.5.0.2
2. Enter any text : MMMMMMMMMMMMMMMMMMMMMMMM
3. Press left arrow key for a couple of seconds


Actual Results:
MMMMMMMMMMMMMMMMMMMMMMMM becomes:
MMMMMMMMMMMMMMMMMMMMMMMMM


Expected Results:
Cursor moves back without modifying the text.


Reproducible: Always


User Profile Reset: No

Additional Info:
Also tested in safe mode.
Comment 1 Stéphane Guillou (stragu) 2023-01-28 21:55:52 UTC
I can't reproduce with:

Version: 7.5.0.2 (X86_64) / LibreOffice Community
Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Can you please share the full information copied from LibreOffice > About LibreOffice? Thank you!
Comment 2 Aswin Prasanna X 2023-01-29 07:03:48 UTC
Created attachment 184985 [details]
actual i have find the bug , but in latest version is not supported
Comment 3 Aswin Prasanna X 2023-01-29 07:07:01 UTC
Steps to Reproduce:
1. Open a new Impress or Writer with 7.5.0.2
2. Enter any text : MMMMMMMMMMMMMMMMMMMMMMMM
3. Press left arrow key for a couple of seconds

Enivornment : OS :LINUx :5.15

Result : bug is not reproduced

status : unconfirmed
Comment 4 Vincent Boudry 2023-01-30 12:37:58 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> I can't reproduce with:
> 
> Version: 7.5.0.2 (X86_64) / LibreOffice Community
> Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
> CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
> Locale: en-AU (en_AU.UTF-8); UI: en-US
> Calc: threaded
> 
> Can you please share the full information copied from LibreOffice > About
> LibreOffice? Thank you!

here it is:
Version: 7.5.0.2 (X86_64) / LibreOffice Community
Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
CPU threads: 4; OS: Mac OS X 13.2; UI render: default; VCL: osx
Locale: en-GB (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 5 Vincent Boudry 2023-01-30 12:40:40 UTC
Note that I don't see this in the Dev version (I have been using since a nasty bug on the display was corrected):

Version: 7.5.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 3aca23eec42e9d6fbe57071d7633ae1fc4bc5fcc
CPU threads: 4; OS: Mac OS X 13.2; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 6 Vincent Boudry 2023-01-30 12:43:17 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> I can't reproduce with:
> 
> Version: 7.5.0.2 (X86_64) / LibreOffice Community
> Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
> CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
> Locale: en-AU (en_AU.UTF-8); UI: en-US
> Calc: threaded
> 
> Can you please share the full information copied from LibreOffice > About
> LibreOffice? Thank you!

My bad ! I completely forgot to mention I am working on a Mac, and this kind of effects are strongly related to the UI/OS.

Sorry.
Comment 7 Stéphane Guillou (stragu) 2023-01-30 13:09:11 UTC
All good, Vincent, you did mark it as affecting MacOS in the Hardware field, so I was aware of it. I just wanted to see if it affected other OSs.

However, I coul not reproduce on MacOS either with:

    Version: 7.5.0.1 (X86_64) / LibreOffice Community
    Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
    CPU threads: 2; OS: Mac OS X 12.6.1; UI render: Skia/Raster; VCL: osx
    Locale: en-US (en_US.UTF-8); UI: en-US
    Calc: threaded

Vincent, do you mean that the bug was not present in the 7.5 beta but it is present in 7.5.0.2?

Also, please see if you can still reproduce the bug with Help > Restart in Safe Mode > Continue in Safe mode.

Thank you!

(Aswin: I assume assigning the bug to yourself was an error. It would mean you are working on fixing it. I have removed you from the field.)
Comment 8 Stéphane Guillou (stragu) 2023-01-30 13:46:25 UTC
Created attachment 185013 [details]
"not reproduced" screenshot by Aswin

Just re-attaching Aswin's attachment (it was a PNG file attached as a plain-text patch).
Not sure what is meant with:

> "actual i have find the bug , but in latest version is not supported"
Comment 9 Stéphane Guillou (stragu) 2023-01-30 14:13:20 UTC
Aha, I reproduced in 7.5.0.2!

Typing many times "M" and then using the left arrow to navigate back character introduces extra whitespace character instead.

So it's a regression between 7.5.0.1 and 7.5.0.2.
The commit should be in this range:

https://git.libreoffice.org/core/+log/77cd3d7ad4445740a0c6cf977992dafd8ebad8df..c0dd1bc3f1a385d110b88e26ece634da94921f58

I noticed that in 7.5.0.1, I couldn't repeat the letter M by staying pressed on the keyboard, but I can now. Which makes me wonder if the issue is related to the fix for bug 42437 : commit d8f358656e1c78c479a417adab12eaee190d3fe7

Patrick, do you think it is related?

Version used:

    Version: 7.5.0.2 (X86_64) / LibreOffice Community
    Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
    CPU threads: 2; OS: Mac OS X 12.6.1; UI render: default; VCL: osx
    Locale: en-US (en_US.UTF-8); UI: en-US
    Calc: threaded
Comment 10 Stéphane Guillou (stragu) 2023-01-30 14:22:49 UTC
Good news, that had already been spotted by Patrick and is fixed. It will make it into 7.5 release. See bug 42437 comment 33.

Fixing commit: https://gerrit.libreoffice.org/c/core/+/145689

Patrick, can I get you to mark this report as fixed?
Comment 11 Patrick (volunteer) 2023-01-30 14:27:52 UTC
Marking as resolved/fixed and linking this issue to issue 42437.
Comment 12 Vincent Boudry 2023-01-30 16:59:10 UTC
(In reply to Stéphane Guillou (stragu) from comment #7)
> All good, Vincent, you did mark it as affecting MacOS in the Hardware field,
> so I was aware of it. I just wanted to see if it affected other OSs.
> 
> However, I coul not reproduce on MacOS either with:
> 
>     Version: 7.5.0.1 (X86_64) / LibreOffice Community
>     Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
>     CPU threads: 2; OS: Mac OS X 12.6.1; UI render: Skia/Raster; VCL: osx
>     Locale: en-US (en_US.UTF-8); UI: en-US
>     Calc: threaded
> 
> Vincent, do you mean that the bug was not present in the 7.5 beta but it is
> present in 7.5.0.2?

Yes, that's exactly what I meant.

> Also, please see if you can still reproduce the bug with Help > Restart in
> Safe Mode > Continue in Safe mode.

I did the test already: it stays in safe mode.

> Thank you!
> 
> (Aswin: I assume assigning the bug to yourself was an error. It would mean
> you are working on fixing it. I have removed you from the field.)
Comment 13 Patrick (volunteer) 2023-01-30 22:12:46 UTC
@Vincent Boudry: my fix is in the LibreOffice 7.5.0.3 prerelease build, would you be able to download that build from one of the following links and verify that my fix works on your machine?:

Intel Mac:
https://dev-builds.libreoffice.org/pre-releases/mac/x86_64/LibreOfficeDev_7.5.0.0.alpha1_MacOS_x86-64_sdk.dmg

Silicon Mac:
https://dev-builds.libreoffice.org/pre-releases/mac/aarch64/LibreOffice_7.5.0.3_MacOS_aarch64.dmg
Comment 14 Vincent Boudry 2023-02-01 12:29:59 UTC
(In reply to Patrick Luby from comment #13)
> @Vincent Boudry: my fix is in the LibreOffice 7.5.0.3 prerelease build,
> would you be able to download that build from one of the following links and
> verify that my fix works on your machine?:
> 
> Intel Mac:
> https://dev-builds.libreoffice.org/pre-releases/mac/x86_64/LibreOfficeDev_7.
> 5.0.0.alpha1_MacOS_x86-64_sdk.dmg
> 
> Silicon Mac:
> https://dev-builds.libreoffice.org/pre-releases/mac/aarch64/LibreOffice_7.5.
> 0.3_MacOS_aarch64.dmg

I tested
    https://dev-builds.libreoffice.org/pre-releases/mac/x86_64/LibreOffice_7.5.0.3_MacOS_x86-64.dmg
And I don't see the bug either in writer or impress documents.
The accented caracter selection by a long press also works as expected.

Thanks for the fast fix !!