Bug 102040 - Wireless or Bluetooth Keyboard: Typed Characters are doubled
Summary: Wireless or Bluetooth Keyboard: Typed Characters are doubled
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Android
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:6.4.0 target:6.3.0.1
Keywords:
: 126194 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-10 07:49 UTC by Andreas Mantke
Modified: 2019-07-05 11:48 UTC (History)
5 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 Andreas Mantke 2016-09-10 07:49:43 UTC
Connect a wireless keyboard to your Android device by Bluetooth or wireless. Create a new odf-document and open it (or an already existing odf-document) in the Android Viewer, activate the edit mode and type in characters via the external keyboard. Every character will be recognized and displayed twice. If you try to delete one of the typed characters it will delete the doubled character (not only a single part of the doubled).
Comment 1 raal 2017-06-06 17:12:33 UTC
I can not confirm with Version: 5.5.0.0.alpha0+
Build ID: 59c0682
Comment 2 Xisco Faulí 2017-11-13 18:43:10 UTC
Hi Andreas Mantke,
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 3 Andreas Mantke 2017-11-13 20:30:33 UTC
Hi Xisco,

it's a bug on the Android Viewer of LibreOffice. Is there a new version that fix this bug?
I got this bug on my Android tablet with Bluetooth keyboard and with Wireless keyboard.
Comment 4 Xisco Faulí 2017-11-13 21:52:37 UTC
You can try with a daily build from http://dev-builds.libreoffice.org/daily/master/
Comment 5 Andreas Mantke 2017-11-23 21:06:56 UTC
I tried with a daily build and I wasn't able to open an odf-file or create a new one (I enabled the experimental mode). Thus I couldn't verify if the bug is already present or fixed.

FYI: I had the same issue with the current LibreOffice Viewer from the Playstore (6.0.0 Alpha). It wasn't able to open a file on my tablet. The old viewer was able to open such files (maybe take a bit of time).
Comment 6 raal 2018-01-06 13:29:54 UTC
(In reply to Andreas Mantke from comment #5)
> I tried with a daily build and I wasn't able to open an odf-file or create a
> new one (I enabled the experimental mode). Thus I couldn't verify if the bug
> is already present or fixed.
> 
> FYI: I had the same issue with the current LibreOffice Viewer from the
> Playstore (6.0.0 Alpha). It wasn't able to open a file on my tablet. The old
> viewer was able to open such files (maybe take a bit of time).

Andreas,please retest now. The bug with opening the files on Android should be fixed now. Thank you
Comment 7 Andreas Mantke 2018-01-07 13:10:27 UTC
It seemed that the issue with an external keyboard (I connected with a wireless keyboard) is gone now. But the apk from dev-builds was to slow on my tablet (it's not a high performer), thus I could not make real tests. I could only insert one character and it got a pause for longer time. Thus I need a non-debug-build to run real tests. Would be great if a working LibreOffice viewer could make it to the Playstore.
Comment 8 Xisco Faulí 2018-01-10 11:17:41 UTC
(In reply to Andreas Mantke from comment #7)
> It seemed that the issue with an external keyboard (I connected with a
> wireless keyboard) is gone now. But the apk from dev-builds was to slow on
> my tablet (it's not a high performer), thus I could not make real tests. I
> could only insert one character and it got a pause for longer time. Thus I
> need a non-debug-build to run real tests. Would be great if a working
> LibreOffice viewer could make it to the Playstore.

Was the character added doubled?
Comment 9 blendergeek 2018-02-14 18:51:10 UTC
I can confirm that this bug still exists in LibreOffice Viewer 6.1.0.0.alpha0+ Build ID:9cf2616.

I am testing with a Samsung Galaxy Tab S 8.4 running LineageOS version 14.1-20180208-NIGHTLY-klimtwifi.

Steps to reproduce:
1. Open LibreOffice Viewer for Android.
2. Enable Experimental Editing Mode.
3. Open a document for editing.
4. Connect a Bluetooth keyboard.
5. Type characters.

Result:
At this point you will see that every character entered is doubled on the screen.

Expected result:
Each character typed should only appear on the screen once.

Further, as it does not seem that any new information is needed, I am switching this bug to UNCONFIRMED.
Comment 10 raal 2018-02-14 22:08:28 UTC
(In reply to blendergeek from comment #9)
> I can confirm that this bug still exists in LibreOffice Viewer
> 6.1.0.0.alpha0+ Build ID:9cf2616.
> 

Setting to NEW
Comment 11 Deve 2019-01-24 21:35:36 UTC
I already pushed a patch to gerrit:
https://gerrit.libreoffice.org/66708
Comment 12 Deve 2019-03-28 11:23:22 UTC
Can someone review that patch?
Comment 13 Commit Notification 2019-06-28 07:48:47 UTC
Dawid Gan committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/2e0e0bf789af7c0de3507cc67ff293ad2c87da33%5E%21

tdf#102040 Don't type doubled characters when using external keyboard.

It will be available in 6.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 14 Xisco Faulí 2019-07-02 16:00:44 UTC
*** Bug 126194 has been marked as a duplicate of this bug. ***
Comment 15 Commit Notification 2019-07-02 23:45:11 UTC
Dawid Gan committed a patch related to this issue.
It has been pushed to "libreoffice-6-3":

https://git.libreoffice.org/core/+/2162acb490c7e5a03ec2c3d4a71e6125f64cba14%5E%21

tdf#102040 Don't type doubled characters when using external keyboard.

It will be available in 6.3.0.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.