ManojNimbalkar / bitcoin-wallet

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

Testnet version doesn't exit, need a certain way to stop the app #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start testnet version
2. Press the back icon
3. It still has an indicator in the tray, eats the battery etc.

What is the expected output? What do you see instead?
Pressing the back icon should stop the app, not just hide it. Or even better 
there should be the menu item like "Exit" with confirmation. Though, prodnet 
version always exits IIRC.

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.
Bitcoin Wallet 2.03_test, Android 4.0.3, the device is Cube U9GT2 (kinda cheap 
chinese iPad).

Original issue reported on code.google.com by radioano...@gmail.com on 10 May 2012 at 6:47

GoogleCodeExporter commented 9 years ago
If you see this happening, are you on power or not? Do you have "sync on power" 
checked in the Prefs (About)?

Original comment by andreas....@gmail.com on 10 May 2012 at 8:34

GoogleCodeExporter commented 9 years ago
Well, looks like I've broken the bug. I've forced closing, then set that option 
"sync on power", plugged in the charger, plugged it out, run the clients when 
I'm not charging the device and everything works. Ok, need more testing to find 
the way to reproduce. The strange thing is that when I turned the tablet on 
there was no icon in the tray but then the tablet connected to wifi and it 
appeared and started synchronizing.

Oops, here it comes again. Both prodnet and testnet versions have "sync on 
power" set. Plugged in the charger, they've launched. Pulled it off, they've 
stopped. Ran both by clicking their icons. Now they are both working and I 
can't stop them with back button. Turned off wifi, the indicators disappeared. 
Turned on — and here they are up and running.

Original comment by radioano...@gmail.com on 10 May 2012 at 9:09

GoogleCodeExporter commented 9 years ago
Turning off "sync on power" doesn't help. Seems like I need to forcibly close 
them to be able to close them with back button again. Ok, found the 
reproducible way. The client (no matter prodnet or testnet) stops closing if 
you press Home icon (or switch to another window) and then open it via 
notifications popup by clicking on the clock. Then it stays running forever. 
However, if you click on windows selector button (3rd from the left) and choose 
the client you can stop it with back button.

Original comment by radioano...@gmail.com on 10 May 2012 at 9:18

GoogleCodeExporter commented 9 years ago
There is a new testnet version that fundamentally changes the way the service 
(peer connection) lifecycle is handled. Basically, it now runs until finished, 
independently if you close the app. If you need to disconnect (to save power), 
there is now a "Disconnect" menu option.

Please try and let me know what you think.

http://code.google.com/p/bitcoin-wallet/downloads/detail?name=bitcoin-wallet-2.0
4-test.apk

Original comment by andreas....@gmail.com on 18 May 2012 at 4:58

GoogleCodeExporter commented 9 years ago
Oh, that's much better! Now it exits in a predictable and clean way. Thanks, 
it'd be nice to have the same functionality in the prodnet version since it 
refuses to quit sometimes, too. However, I've experienced a crash while opening 
the peer monitor window (the report was sent). Not reproducible yet and 
happened just once but anyway may be worth mentioning.

Original comment by radioano...@gmail.com on 18 May 2012 at 5:22

GoogleCodeExporter commented 9 years ago
Version 2.1+ has now been released.

Original comment by andreas....@gmail.com on 9 Jun 2012 at 8:31