allgood / OpenNoteScanner

Android application for scanning and manipulating handwritten notes and documents.
Other
1.36k stars 284 forks source link

Infinite loop after aborting on Scan Topic Dialog #200

Closed allgood closed 4 years ago

allgood commented 4 years ago

If hit the back button on "Scan Topic" dialog (implemented on 554b25ecaf1e27152b2dc63f627c8fa12a7b0ad9 by @thrillfall ) , the dialog disappears and the activity is unusable until the application is kiled.

Steps to reproduce

Select the "custom scan topic" option on settings page, scan an image and when presented the dialog to set the topic just hit the android Back action button

Expected behaviour

Application returns to main activity ready to scan another image.

Actual behaviour

Application returns to main activity with a "waiting" icon that never disappears and are unable to scan new images.

allgood commented 4 years ago

Fixed on commit a3f2fb9