Juha Holopainen Posted February 4, 2021 Report Share Posted February 4, 2021 (edited) Beta 5: Main changes from beta 4: CPDLC data file syntax updated (available data fields for datalink clearances) Changes are related to providing separate frequency items for the "next frequency", one defaulting to the controller owning the sector the aircraft is in and the other to the controller issuing the clearance. The code should be compatible with the old items as well (for example if "<nfreq>" is found in a definition, it is internally changed to "NEXT FREQ <freq_next>") so a data file created for an earlier plugin version should still work without changes. General housekeeping in the code, possibly fixing a couple of reported issues in beta 4 Edited August 11, 2021 by Juha Holopainen 1 Link to comment Share on other sites More sharing options...
Michael Eyecold (1283788) Posted February 18, 2021 Report Share Posted February 18, 2021 (edited) Hey Juha, when we set "Menu_MaxListItems=15", we always get CFL A40 preselected instead of 400, which it should be (XFL). When deleting this setting, it preselects 400 correctly. When changing the value to "=12", it also works fine. Thank you!! Edited February 18, 2021 by Michael Eyecold Link to comment Share on other sites More sharing options...
Juha Holopainen Posted February 18, 2021 Author Report Share Posted February 18, 2021 Turns out there's a bug in the code that selects the initially visible values. With 15 items, there should be 7 values on top of the centered value. When the centered value (400 in this case) is such that there are exactly 6 values in the level list above it, the code mistakenly sets a flag that specifies the desired centered value to be below all items in the list, hence the bottom 15 items in the list will be displayed (A40 then just happens to be at the center of the visible list). The bug will also occur with any other MaxListItems value, but with some other list value depending on the max list items and the values of the items in the list. This should fortunately be an easy fix. 1 Link to comment Share on other sites More sharing options...
Recommended Posts