aesculus / EVTO-App-Feedback

A project to track bugs and ideas for the EVTO App
MIT License
1 stars 0 forks source link

Optimization Dialog Starts Off Center when New Trip from Main Menu #369

Closed aesculus closed 7 years ago

aesculus commented 7 years ago

If you start a new trip from the main menu or current trips, when the Optimization dialog appears, it is not in the center of the device window.

aesculus commented 7 years ago

Fixed in V1.2 (22).

EVGrokker commented 7 years ago

Still seeing the behavior in 1.2.0 (22).

aesculus commented 7 years ago

OK. I will need to get the iPhone later this week and try it there. Worked ok on the iPad.

aesculus commented 7 years ago

Lets try this again with V1.2 (23)

EVGrokker commented 7 years ago

v 1.2.0 (23)

The dialog is still shown in the lower right corner of the Plan screen.

aesculus commented 7 years ago

Yeah. I thought I fixed this. :-(

EVGrokker commented 7 years ago

v 1.2.0 (26) It appears that you changed the design so that when planning a new trip initiated from the Plan screen, you switch to the map screen before displaying the New Trip dialog, which avoids the problem.

EVGrokker commented 7 years ago

v 1.2.0 (26)

It appears that if there are no current trips (a fresh install), creating a new trip switches to the Map screen before beginning the calculations, and the dialog is properly centered.

However, if there are current trips in existence, and a new trip is created from the Plan screen, the dialog appears in the lower right corner on a phone-sized device.

aesculus commented 7 years ago

It appears that you changed the design so that when planning a new trip initiated from the Plan screen, you switch to the map screen before displaying the New Trip dialog, which avoids the problem.

It's always been this way. :-(

So far I cannot find a consistent way to have it screw up always. Seems random to me.

aesculus commented 7 years ago

I am having more luck getting it to screw up when I do a trip from the main panel vs the plan screen. Did you mean the main panel?

aesculus commented 7 years ago

I made another attempt to force it to the center in V1.2 (27)

EVGrokker commented 7 years ago

v 1.2.0 (27)

  1. With existing Current Trips, starting a New Trip from the Main screen opens the New Trip dialog. Upon touching Calculate, the screen switches to the Plan screen (good), but the dialog is still in the lower right corner (bad).

  2. Starting from a clean installation (after a Wipe), using Plan a Trip switches immediately to the Plan screen before opening the New Trip dialog. The dialog is properly centered.

  3. Invoking New Trip from the Plan screen, the dialog is properly centered.

The difference seems to be that when you switch to the Plan screen before opening the New Trip dialog (scenario 2 above), the dialog is properly displayed. When you wait to switch to the Plan screen until after the New Trip dialog is filled out (scenario 1 above) it fails.

aesculus commented 7 years ago

I'll try this sequence

EVGrokker commented 7 years ago

v 1.2.0 (33) still exhibits the behavior when planning a new trip from the Main screen.

aesculus commented 7 years ago

I remembered this after I published. Will try to address it today.

aesculus commented 7 years ago

I could not find a logical reason for this to do this. It may be a flaw in the framework. I increased a delay I have set to way for the panel to switch that may help. We'll have to see.

While I was in there I noticed I started the dialog in the wrong place when Auto was selected so I fixed that too in V1.2 (34).

EVGrokker commented 7 years ago

v 1.2.0 (44)

It's baaaaack!

aesculus commented 7 years ago

I never fixed it officially. I was going to attack it when we did the new dialog. Since we are keeping this one I need to fold all of this into the work about the auto recalc stuff.

aesculus commented 7 years ago

I am closing this because I have gone to a footer based status bar instead of a popup.