rschilling / websmsdroid

Automatically exported from code.google.com/p/websmsdroid
0 stars 0 forks source link

Selecting only connector does not always happen when it should #602

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have no connectors enabled, and therefore none selected
2. Go to preferences and enable a connector
3. Go back to the main view

What is the expected output? What do you see instead?

The only enabled connector should be chosen, instead it tells you to choose a 
connector with change provider. This option is hidden since there is only one 
connector enabled.

Following that if I then go to preferences once more and return, it does the 
right thing and chooses the only enabled connector.

We see what is presumably the same issue if we have two connectors enabled. Go 
to preferences and disable the selected connector. Return to the main screen, 
and it tells you that you have none selected and should change, but again this 
menu option is hidden as only one connector is enabled.

NB. It seems the logic for selecting the only enabled connector is in 
reloadPrefs. So perhaps reloadPrefs is not being called when it ought to be, or 
this logic should appear somewhere else also.

Original issue reported on code.google.com by fint...@gmail.com on 25 Oct 2011 at 9:46

GoogleCodeExporter commented 9 years ago

Original comment by f...@ub0r.de on 10 Nov 2011 at 6:25