Bug 162473 - Repeat on key press is not working for me
Summary: Repeat on key press is not working for me
Status: RESOLVED DUPLICATE of bug 158124
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.2.5.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-14 19:05 UTC by Ross G
Modified: 2024-09-30 17:43 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross G 2024-08-14 19:05:46 UTC
Description:
As with any application, one expects if you hold the delete key down you get repeated deletes, with the cursor moving backwards through your text.  For some reason with the latest version of LibreOffice key repeat isn't working at all.

I've discovered it in the two apps I use the most, Writer Documents and Calc Spreadsheet. I also tried it in Impress Presentations, which I don't use generally, but it happens there too.  No repeat on delete or any characters either.  Version 24.2.5.2 on MacOS 13.6.7 (Ventura) on an Intel MBPro.

Verified that the expected repeat function works in all other apps on 

Steps to Reproduce:
1.Launch LibreOffice
2.Start Writer or Calc
3. Type in any text
4. Either press and hold a keyboard character key or the delete key


Actual Results:
In Writer it seems that a press-and-hold on delete only deletes one char. In Calc and Impress it looks like it deletes two. 

Expected Results:
Press and hold on a key should repeat until released


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Reset profile, tried in safe mode, rebooted computer nothing made a difference.
Comment 1 Patrick (volunteer) 2024-09-30 00:34:39 UTC
I cannot reproduce this bug. I open a Writer document and press-and-hold the "j" key and "j" characters get continuously appended. Then I press-and-hold the "delete" key and the text gets continuously deleted until there is no more text.

Does this only happen with certain keys on your machine? Also, which keyboard layout are you using (I am using US QWERTY layout)?


Version: 24.8.2.1 (AARCH64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 8; OS: macOS 15.0; UI render: Skia/Metal; VCL: osx
Locale: en-CA (en_CA.UTF-8); UI: en-US
Calc: threaded
Comment 2 Ross G 2024-09-30 01:50:32 UTC
Thanks for looking at this bug submission.  Your mention of keyboard made me wonder, so I tried it again, and now see that the failure to repeat a character is only happening when I have the "Romaji" keyboard selected, but it is working fine with a Canadian QWERTY keyboard setting. 

I use Japanese keyboards sometimes for language learning, and "Japanese-Romaji" is a Latin character QWERTY layout which seems to come with that. 

So that gives me a solution to work around the problem, though I'd still expect that press-and-hold should work for Latin alphabet in LibreOffice.

-R
Comment 3 Buovjaga 2024-09-30 13:22:11 UTC
Looks like Patrick fixed this issue earlier and thus did not see it in 24.8 :)

*** This bug has been marked as a duplicate of bug 158124 ***
Comment 4 Patrick (volunteer) 2024-09-30 13:40:05 UTC
(In reply to Ross G from comment #2)
> I use Japanese keyboards sometimes for language learning, and
> "Japanese-Romaji" is a Latin character QWERTY layout which seems to come
> with that.

I can now reproduce this bug in LibreOffice 24.2.6.2 with the Romaji input method. At least in Writer, press-and-hold of delete only deletes one or two characters of committed text. Interestingly, press-and-hold of delete *does* work in uncommitted text.

But, I *cannot* reproduce this bug LibreOffice 24.8.2.1 with the Romaji input method. So it appears that, at least in Writer, this bug has been at least partially fixed.

Do you see any improvement with the newer LibreOffice 24.8.2.1 version?
Comment 5 Patrick (volunteer) 2024-09-30 13:46:54 UTC
(In reply to Buovjaga from comment #3)
> Looks like Patrick fixed this issue earlier and thus did not see it in 24.8
> :)
> 
> *** This bug has been marked as a duplicate of bug 158124 ***

Confirmed that there are fixes in LibreOffice 24.8.2.1 (see my comment #4). I have submitted the following patch to get the fix in the upcoming LibreOffice 24.2.7 release since LibreOffice 24.8 won't be available to Mac App Store users for a while.
Comment 6 Patrick (volunteer) 2024-09-30 17:43:06 UTC
(In reply to Patrick (volunteer) from comment #5)
> Confirmed that there are fixes in LibreOffice 24.8.2.1 (see my comment #4).
> I have submitted the following patch to get the fix in the upcoming
> LibreOffice 24.2.7 release since LibreOffice 24.8 won't be available to Mac
> App Store users for a while.

The following patch is now committed so the fix should be included in the upcoming LibreOffice 24.2.7 release:

https://gerrit.libreoffice.org/c/core/+/174024