saintbyte / openbmap

Automatically exported from code.google.com/p/openbmap
Other
1 stars 1 forks source link

Rotating device breaks upload and some other dialogs #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upload a session
2. as soon as the status dialog appears rotate the device
3.

What is the expected output? What do you see instead?
Upload should continue.
But: As soon as the device is rotated the dialogs dissappear.
When an upload was running this than crashes a few secons later in
https://code.google.com/p/openbmap/source/browse/android/src/org/openbmap/soapcl
ient/ExportManager.java#319
The command
mDialog.dismiss();
fails with error "View not attached to window manager"

Rotating the device seems to close other dislogs too.
For example the version check that appers when uploading while offline, or the 
delete confirmation are no longer visible after rotation.

What version of the product are you using? On what operating system?
0.7.5 (c2cdf8f) doanloaded from google drive on Android 2.2.2

Please provide any additional information below.

Original issue reported on code.google.com by loshaw...@gmail.com on 2 Oct 2013 at 1:57

GoogleCodeExporter commented 9 years ago
I can reproduce the disappearing dialog boxes when the device is rotatet on 
Android 4.1.2 too.

Original comment by loshaw...@gmail.com on 2 Oct 2013 at 9:14

GoogleCodeExporter commented 9 years ago

Original comment by wish7code on 4 Oct 2013 at 8:55

GoogleCodeExporter commented 9 years ago
You migth want to try the lastest release (r7b2d2e760575)

Alert boxes and progress dialogs now survive a device rotation. For details 
also see  ra26c8ad4c8f8

Original comment by wish7code on 6 Oct 2013 at 11:38

GoogleCodeExporter commented 9 years ago
Closing old bugs.. Should be fixed in latest version

Original comment by wish7code on 5 Feb 2015 at 10:45