orgzly-revived / orgzly-android-revived

Outliner for taking notes and managing to-do lists
https://www.orgzlyrevived.com
GNU General Public License v3.0
672 stars 42 forks source link

"Enter" in new note's title creates duplicate note #398

Open GfEW opened 2 weeks ago

GfEW commented 2 weeks ago

Please complete the following information:

Device: diverse
Android Version: 9 to 11
Orgzly Revived Version: 1.8.28
Sync repository type: any

The Problem

As of 1.8.28, the process of creating one new note by keyboard ends up creating two twin notes instead. EDIT: I haven't tested older versions, so they may or may not be affected.

To Reproduce

  1. In any notebook, open a new note by any means (it doesn't matter if by the floating + or from the swipe-context menu to an existing note).
  2. Type in any title string. Don't tap anywhere else, don't Tab around, don't add any metadata or content.
  3. While still in the title input line, confirm to create the note by pressing ENTER.

What does happen?

The new note is created twice. You can find both, identically named, one after another, at the correct place in the notebook where you meant to insert one new note.

What should happen?

There should be exactly one new note.

amberin commented 2 weeks ago

Interesting. This has always happened on virtual devices, but I've never heard of it on real devices. You are sure this behavior does not happen with 1.8.27?

GfEW commented 2 weeks ago

This has always happened on virtual devices

Now that's interesting. :-) The devices I'm reporting are strictly real.

You are sure this behavior does not happen with 1.8.27?

Not at all. Being new to orgzly-revived, I've not tested anything before 1.8.28. (I've edited the OP to improve clarity.)