-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve Papgets with multi aircraft support #1068
Conversation
And how do you specify the aircraft id? |
It is automatic for drag-and-drop.
It reminds me that I should probably save this when using the save GCS layout option... coming soon |
Ok, was wondering because you can neither select the ac_id in the papget edit popup, neither was it saved to the config... |
tested and working with 2 A/C in sim, saving and loading layout |
Can you also add the ac_id as an input to the papget edit popup? |
I was wondering if adding the field ac_id to the edit box was really useful. Changing the ac_id dynamically means unbinding and binding again. I did looked at it yet if it is a pain or not, but probably a little. I'll look at the gauge. |
I guess at least displaying it (or displaying that any id is used) would be good... |
The fix for the gauge papget works nicely, thanks! Regarding the ac_id for papgets, IMHO it is still not really great and I think we should have at least one of the following options
Otherwise it becomes rather annoying to create a layout that has the papgets you want, but works with any single aircraft. |
Here, I did option 3: ask if ac_id should be saved or not when saving layout.
|
Sounds OK to me :-) |
Some remaining things:
|
Points 1 and 2 should be okay. For the last one, removing messages papgets works for me (and they are not saved afterwards). For other papgets like buttons, it was not possible to remove them anyway (and I don't plan to do it in this pull request). |
Ok, deleting a papget via the popup edit dialog works indeed. |
I don't really want to try to find the window size, so it is only deleted on left and top side, which are the places you have to chance get them back. On right and bottom side, you can try to make the window bigger to find your papget again... |
Would have been nice to somehow get the map window size where you can place papgets. |
Papgets are (really) destroyed when placed outside the window
Found it ;) |
nice :-) |
improve Papgets with multi aircraft support close #181
Makes papgets working with several aircraft. If no target A/C specified, behavior is the same then before.
This will close #181 and a part of #1056