Acode icon indicating copy to clipboard operation
Acode copied to clipboard

Delete Key sometimes deletes nothing

Open maninthemiddle01 opened this issue 1 year ago • 18 comments

I have encountered an issue where the delete key does not delete anything. This behavior is inconsistent and seems to occur under certain, yet unidentified, circumstances. Even in the same markdown document, you can delete text in some paragraphs and in others you cannot. If I select text or spaces, I can use the Delete key to clear the selection, although it doesn't work without a selection.

Steps to Reproduce:

  1. Open a file in Acode.
  2. Type a mix of letters and spaces.
  3. Place the cursor at the beginning or in the middle of a line.
  4. Press the delete key.

Expected Behavior: The delete key should remove the character (space or letter) immediately following the cursor.

Actual Behavior: The delete key removes spaces but leaves letters intact.

Environment:

Acode Version: 1.10.2 and 1.10.3 OS: LineageOS 21

maninthemiddle01 avatar Jun 06 '24 14:06 maninthemiddle01

It appears to be functioning properly. Could you please share the type of keyboard you're using?

bajrangCoder avatar Jul 03 '24 13:07 bajrangCoder

I use the normal LineageOS keyboard and also tried it with Heliboard with the same effects. Only in Acode there are these problems. Also, when I add letters to a word, it sometimes adds a letter at the beginning of the word I'm writing.

maninthemiddle01 avatar Jul 08 '24 15:07 maninthemiddle01

Hi. I'm experiencing the same issue. I think it's related to the amount of text. I was able to reproduce the problem simply by inserting the following text in Acode:

 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam tincidunt convallis auctor. Quisque blandit tortor vel laoreet sagittis. Quisque cursus euismod urna, vitae vestibulum enim finibus vel. In porttitor lectus lorem, eu ultricies purus dignissim sed. Duis at risus sed enim interdum convallis eget at quam. Praesent luctus malesuada convallis. Cras in massa lectus.

Mauris vehicula justo quam, sit amet dapibus augue interdum id. Aliquam sed turpis leo. Phasellus malesuada porta dui ut rhoncus. Donec viverra enim at bibendum consectetur. Ut non mi ex. Phasellus venenatis feugiat tellus finibus eleifend. Vestibulum viverra iaculis ex sed dictum. Integer quis vestibulum urna. Ut laoreet justo vitae auctor pulvinar. In id libero risus. Integer non velit ac felis euismod rutrum non quis nibh. Morbi a lacinia tortor. Pellentesque feugiat pretium quam. 

If you try to delete any character in the last two sentences (“Morbi a lacinia tortor. Pellentesque feugiat pretium quam.”), nothing happens.

I'm using Acode version 1.10.3 under Android 13 (/e/ os version 2.1-t-20240605406922-dev-ocean).

goghard avatar Jul 16 '24 17:07 goghard

@goghard but it's working fine for me . Which keyboard are you using?

bajrangCoder avatar Jul 25 '24 08:07 bajrangCoder

I've run into this issue with the delete key as well using the OpenBoard keyboard. I switched to Futo keyboard and it does not have the issue with the delete.

bhdouglass avatar Aug 26 '24 13:08 bhdouglass

Apologies for the delayed response. I experience the same issue regardless of the keyboard I use. I have installed Android Keyboard (ASOP), HeliBoard, and 8Vim.

goghard avatar Aug 26 '24 16:08 goghard

Does the issue have anything to do with Android? I've experienced this in torbrowser as well in the message box of bewelcome.org.

maninthemiddle01 avatar Sep 01 '24 11:09 maninthemiddle01

https://github.com/user-attachments/assets/790e8e22-deec-49de-b7da-3483592ed39e

I also ran into the problem that the delete key scrambles the last letters.

maninthemiddle01 avatar Sep 01 '24 11:09 maninthemiddle01

I noticed, the error sometimes occurs as well in the nextcloud document app

maninthemiddle01 avatar Oct 16 '24 21:10 maninthemiddle01

Hey ! Test this out in latest version and let me know

As still I can't reproduce.

bajrangCoder avatar May 19 '25 08:05 bajrangCoder

Hi, @bajrangCoder! I tested the latest version, both on my old phone with Android 13 (/e/ OS), and on a new Android 14 (stock Moto Edge 40 ROM). In the old phone, the problem persists. In the new one, the problem only occurs when I use a keyboard different from Gboard (for instance, HeliBoard.)

goghard avatar May 26 '25 23:05 goghard

Hi, @bajrangCoder! I tested the latest version, both on my old phone with Android 13 (/e/ OS), and on a new Android 14 (stock Moto Edge 40 ROM). In the old phone, the problem persists. In the new one, the problem only occurs when I use a keyboard different from Gboard (for instance, HeliBoard.)

Okay, also clarify whether it's backspace key or specifically delete key

bajrangCoder avatar May 27 '25 06:05 bajrangCoder

It's the backspace key

goghard avatar May 27 '25 14:05 goghard

Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Acode, please let us know by commenting on this issue(i.e Bump!), and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 14 days. Thanks for your help!

github-actions[bot] avatar Jul 27 '25 03:07 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 11 '25 03:08 github-actions[bot]

Apologies for the late response. Unfortunately with Version 1.11.5 (963) the bug is still reproducible.

maninthemiddle01 avatar Aug 11 '25 14:08 maninthemiddle01

Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Acode, please let us know by commenting on this issue(i.e Bump!), and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 14 days. Thanks for your help!

github-actions[bot] avatar Oct 11 '25 02:10 github-actions[bot]

I have this issue as well. I am using e/OS, which is a derivative of OP's Lineage, so the issue might be related. I switched to AnySoft Keyboard and the issue seems to have largely gone away, but I am still hitting some glitches.

ntnsndr avatar Nov 01 '25 19:11 ntnsndr