ManojNimbalkar / bitcoin-wallet

Automatically exported from code.google.com/p/bitcoin-wallet
0 stars 0 forks source link

App gets stuck in sub-screens, can't get to main screen #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1 open client
2 click "send coins"
3 click cancel
4 "back" out of app
5 let app indicators clear out for a few seconds (it was syncing)
6 click on app again
7 Problem #1: see "send coins" screen rather than main screen
8 click "cancel"
9 Problem #2: the app exits rather than showing main screen

repeat with 6 until you get tired.

This happens even if bitcoin is not listed in settings/manage 
applications/running, though I'm puzzled since it is never listed there, even 
when it is connected to peers....

Workaround: either reboot phone, or startup a bunch of big apps, perhaps 
crowding it out of memory.

I've seen the same problem with getting stuck on the "donate" or "safety notes" 
screens.

What version of Bitcoin Wallet are you using? On what Android version and
what phone? Don't just state 'most recent', this is not enough info.

Version 1.31 on an htc mytouch 4g slide.

Original issue reported on code.google.com by neal...@gmail.com on 21 Aug 2011 at 2:31

GoogleCodeExporter commented 9 years ago
I'm afraid I cannot reproduce this. After 6, I am always at the main screen.

Do you really use the "back" key in step 4? Is your problem reproducable if 
Android Wallet is not synching or you don't wait for it to clear the icon in 
step 5?

Which Android version does your phone run? I have just tested this on Android 
2.3.4 (Nexus One).

Original comment by andreas....@gmail.com on 21 Aug 2011 at 2:40

GoogleCodeExporter commented 9 years ago
Aha - this only happens when I go back to the bitcoin app from the list of 
recent apps in the recent notifications pulldown (I'm running android 2.3.4), 
or from a long-press on the home key.  If I go to the app from my apps list, I 
get to the home screen.

Original comment by neal...@gmail.com on 21 Aug 2011 at 3:05

GoogleCodeExporter commented 9 years ago
I think it happens because the main activity is closed or forced closed after 
switching to submenus, thus popping it out of the history queue. So when you 
resume the app, the queue is missing the main menu and thus returns to the next 
in line which is the home screen(also an activity). It might be a bug somewhere 
and I've experienced it myself. I don't have free time to do a debug so it's 
either up to neal to set his device on development mode with logging on or a 
developer to reproduce and debug it.

Original comment by arcusiul...@gmail.com on 21 Aug 2011 at 11:39

GoogleCodeExporter commented 9 years ago
1. Launch Android Wallet
2. Tap Send.
3. Long-hold Home button, switch to another app.
4. Tap Home button.
5. Long-hold Home button, switch to Android Wallet.

You will return to the Send screen.

6. Tap Back or Cancel.

You will go to the device Home, not Android Wallet's main page.

Original comment by br...@bitcoinrigs.com on 23 Aug 2011 at 4:15

GoogleCodeExporter commented 9 years ago
Actually you can leave out step 3 (comment #4).

This proves to be a bit tricky. I intentionally restricted the 
android:launchMode of certain activities, so you don't get multiple instances. 
What you are seeing is the side effect.

Original comment by andreas....@gmail.com on 23 Aug 2011 at 1:46

GoogleCodeExporter commented 9 years ago

Original comment by andreas....@gmail.com on 23 Aug 2011 at 1:46

GoogleCodeExporter commented 9 years ago
I think this is fixed with version 3.09. Can you confirm this? If not, feel 
free to comment again and I'll re-open the ticket.

Original comment by andreas....@gmail.com on 26 Jun 2013 at 1:23