david-swift / Memorize

Study flashcards in a native GNOME app
https://flathub.org/apps/io.github.david_swift.Flashcards
GNU General Public License v3.0
87 stars 9 forks source link

Typing 'Del' on keyboard asks to delete the set #49

Closed rene-coty closed 3 months ago

rene-coty commented 3 months ago

Describe the bug

If 'Del' is pressed when typing in the text field of a flashcard, the text field will immediatly lose focus and the app will ask if you wish to delete the entire set, which isn't expected and can lead to unwanted suppression of the set

To Reproduce

  1. Open a set
  2. Edit a flashcard
  3. Press 'Del' while editing

Expected behavior

The 'Del' key should only affect the text in the input field, ie. erase the caracter behind

david-swift commented 3 months ago

Thank you so much for opening the issues. I'll work on them once I'm less busy (which won't be the case in the next days).