FYI - More testing on my side and still good - all stars and targets listed correctly - all mount movement is immediate and status updated correctly - MF test results: ALL good - slewing reported on all tabs and tools that look at it - mount movement excellent - markings in the mount panel are accurate (flip completed, flip started etc)....I call this a win - just need your 4.x test and I can re-post this multi-version code
I tested the file you posted. I had to massage it to remove carriage returns.
It behaves normally on 4.x:
- The target in Ekos is now the star that is being slewed to, even though the slew is still in progress. It is no longer the previous star.
- The popup notification that the mount has reached the target only happens when the slew has actually ended.
- The 'Eq. Coordinates' in INDI goes yellow when the slew is in progress, and then green when the slew ended.
So all good on my side.
We need this to go into INDI's repo quickly, because it affects lots of people, not just those who do meridian flips.
Please update the pull request to include the attached code.
It is the same functionality as yours, but minus the Windows vs. Linux line ending (carriage return removed).
Also, the comments are in the correct place (on the condition line), so easier to read.