Tusky icon indicating copy to clipboard operation
Tusky copied to clipboard

"Back" button from draft goes back to home screen instead of drafts list

Open texttheater opened this issue 10 months ago • 5 comments

Detailed description

No response

Steps to reproduce the problem

  1. Open drafts
  2. Open any draft
  3. Hit the Android back button

Expected behavior:

Goes back to drafts list

Actual behavior:

Goes back to home (timeline)

Debug information

Tusky 27.2

Device:

Google Pixel 6a Android-Version: 15 SDK-Version: 35

Account:

@[email protected] Version: 4.4.0-nightly.2025-02-28-security

texttheater avatar Mar 01 '25 20:03 texttheater

Can not reproduce. Does this happen everytime? Could there be something special about the drafts? You have to click back twice, right? The first one does close the keyboard. Can you show me a video of the issue please?

connyduck avatar Mar 02 '25 09:03 connyduck

Right, one tap to close the keyboard, one to go back, which goes back to home instead of drafts.

Here is a video: https://drive.google.com/file/d/1KxGO2fN6REeF1qpyT-tlInPGWngICpLE/view?usp=drive_link

texttheater avatar Mar 02 '25 10:03 texttheater

This is extremely weird. I was thinking maybe Tusky is actually silently crashing but from the video it doesn't look like that at all. It just closes two activities at once 🤔

Does it happen anywhere else? E.g. open favourites and then a post, go back?

connyduck avatar Mar 02 '25 20:03 connyduck

It doesn't happen with favorites. Or with any other views (that I've noticed).

texttheater avatar Mar 02 '25 23:03 texttheater

However, something similar, also involving the keyboard:

  1. From home, tap Compose new post
  2. Tap back (keyboard disappears)
  3. Tap back (instead of going back to home, the app is minimized)

texttheater avatar Mar 02 '25 23:03 texttheater