markcellis / X-KeyPad

2 stars 0 forks source link

Cannot enter the number 10 for a FormulaFloat in a key label line segment. #109

Closed RangerGH closed 1 month ago

RangerGH commented 1 month ago

I found a weird issue. I have eleven float formulas 0-10. When I use formula 10 in a key label expression I can not enter a 10 in the array index. I can enter 0-9 and 11-99 but not 10. When I enter 10 it reverts to 9. [1:29 AM] Looking at the Formula float dataref array in the finders window and showing detail shows 10 has the expected value and there are no errors on the formula

I can enter the number 10 just fine in VSCode so the keyboard is working.

markcellis commented 1 month ago

I'm not sure I know where in the UI you are. The dataref, SRS/X-KeyPad/FormulaFloat, should always show an available index of 0 - 99. See attached image.

Capture

It might be helpful if you zipped up and attached your configuration and also show me which key and label section where this is not working.

RangerGH commented 1 month ago

I will do that. I should have done that last night.

From: Mark Ellis @.> Sent: Sunday, July 21, 2024 6:08 To: markcellis/X-KeyPad @.> Cc: RangerGH @.>; Author @.> Subject: Re: [markcellis/X-KeyPad] Cannot enter the number 10 for a FormulaFloat in a key label line segment. (Issue #109)

I'm not sure I know where in the UI you are. The dataref, SRS/X-KeyPad/FormulaFloat, should always show an available index of 0 - 99. See attached image.

Capture.JPG (view on web) https://github.com/user-attachments/assets/529f818c-7dd4-4f29-9566-3d2b8654d35d

It might be helpful if you zipped up and attached your configuration and also show me which key and label section where this is not working.

— Reply to this email directly, view it on GitHub https://github.com/markcellis/X-KeyPad/issues/109#issuecomment-2241553231 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSY7U3J3OZF2CLTNH37EN3ZNOB7TAVCNFSM6AAAAABLGMKJMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGU2TGMRTGE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ADSY7U3FLSO3UVEUWFQVY23ZNOB7TA5CNFSM6AAAAABLGMKJMKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFTNRU6.gif Message ID: @. @.> >

RangerGH commented 1 month ago

I’m attaching my config and a screenshot of the key label I’m working with. It says 0-99 but if I enter 10 it drops back to 9. My keyboard is working because I tested that on VSCode.

From: Mark Ellis @.> Sent: Sunday, July 21, 2024 6:08 To: markcellis/X-KeyPad @.> Cc: RangerGH @.>; Author @.> Subject: Re: [markcellis/X-KeyPad] Cannot enter the number 10 for a FormulaFloat in a key label line segment. (Issue #109)

I'm not sure I know where in the UI you are. The dataref, SRS/X-KeyPad/FormulaFloat, should always show an available index of 0 - 99. See attached image.

Capture.JPG (view on web) https://github.com/user-attachments/assets/529f818c-7dd4-4f29-9566-3d2b8654d35d

It might be helpful if you zipped up and attached your configuration and also show me which key and label section where this is not working.

— Reply to this email directly, view it on GitHub https://github.com/markcellis/X-KeyPad/issues/109#issuecomment-2241553231 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSY7U3J3OZF2CLTNH37EN3ZNOB7TAVCNFSM6AAAAABLGMKJMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGU2TGMRTGE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ADSY7U3FLSO3UVEUWFQVY23ZNOB7TA5CNFSM6AAAAABLGMKJMKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFTNRU6.gif Message ID: @. @.> >

RangerGH commented 1 month ago

Ignore the previous zip. Use this one.

From: Mark Ellis @.> Sent: Sunday, July 21, 2024 6:08 To: markcellis/X-KeyPad @.> Cc: RangerGH @.>; Author @.> Subject: Re: [markcellis/X-KeyPad] Cannot enter the number 10 for a FormulaFloat in a key label line segment. (Issue #109)

I'm not sure I know where in the UI you are. The dataref, SRS/X-KeyPad/FormulaFloat, should always show an available index of 0 - 99. See attached image.

Capture.JPG (view on web) https://github.com/user-attachments/assets/529f818c-7dd4-4f29-9566-3d2b8654d35d

It might be helpful if you zipped up and attached your configuration and also show me which key and label section where this is not working.

— Reply to this email directly, view it on GitHub https://github.com/markcellis/X-KeyPad/issues/109#issuecomment-2241553231 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSY7U3J3OZF2CLTNH37EN3ZNOB7TAVCNFSM6AAAAABLGMKJMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGU2TGMRTGE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ADSY7U3FLSO3UVEUWFQVY23ZNOB7TA5CNFSM6AAAAABLGMKJMKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFTNRU6.gif Message ID: @. @.> >

RangerGH commented 1 month ago

On that same key label I tried entering a 10 in another line segment and it did the same – went to a 9.

From: Mark Ellis @.> Sent: Sunday, July 21, 2024 6:08 To: markcellis/X-KeyPad @.> Cc: RangerGH @.>; Author @.> Subject: Re: [markcellis/X-KeyPad] Cannot enter the number 10 for a FormulaFloat in a key label line segment. (Issue #109)

I'm not sure I know where in the UI you are. The dataref, SRS/X-KeyPad/FormulaFloat, should always show an available index of 0 - 99. See attached image.

Capture.JPG (view on web) https://github.com/user-attachments/assets/529f818c-7dd4-4f29-9566-3d2b8654d35d

It might be helpful if you zipped up and attached your configuration and also show me which key and label section where this is not working.

— Reply to this email directly, view it on GitHub https://github.com/markcellis/X-KeyPad/issues/109#issuecomment-2241553231 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSY7U3J3OZF2CLTNH37EN3ZNOB7TAVCNFSM6AAAAABLGMKJMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGU2TGMRTGE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ADSY7U3FLSO3UVEUWFQVY23ZNOB7TA5CNFSM6AAAAABLGMKJMKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFTNRU6.gif Message ID: @. @.> >

markcellis commented 1 month ago

I don't see the zip attachment. It could be GitHub blocks those. Can you send the zip to me via a DM on X-Plane.org. My username is markcellis.

Thanks

RangerGH commented 1 month ago

Will do.

From: Mark Ellis @.> Sent: Monday, July 22, 2024 6:11 To: markcellis/X-KeyPad @.> Cc: RangerGH @.>; Author @.> Subject: Re: [markcellis/X-KeyPad] Cannot enter the number 10 for a FormulaFloat in a key label line segment. (Issue #109)

I don't see the zip attachment. It could be GitHub blocks those. Can you send the zip to me via a DM on X-Plane.org. My username is markcellis.

Thanks

— Reply to this email directly, view it on GitHub https://github.com/markcellis/X-KeyPad/issues/109#issuecomment-2242589197 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSY7U2UN57BEDRRS6JUH3TZNTLCZAVCNFSM6AAAAABLGMKJMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBSGU4DSMJZG4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ADSY7U6RVCHMQLJWN57BCTDZNTLCZA5CNFSM6AAAAABLGMKJMKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFVMZA2.gif Message ID: @. @.> >

RangerGH commented 1 month ago

Done.

From: Mark Ellis @.> Sent: Monday, July 22, 2024 6:11 To: markcellis/X-KeyPad @.> Cc: RangerGH @.>; Author @.> Subject: Re: [markcellis/X-KeyPad] Cannot enter the number 10 for a FormulaFloat in a key label line segment. (Issue #109)

I don't see the zip attachment. It could be GitHub blocks those. Can you send the zip to me via a DM on X-Plane.org. My username is markcellis.

Thanks

— Reply to this email directly, view it on GitHub https://github.com/markcellis/X-KeyPad/issues/109#issuecomment-2242589197 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSY7U2UN57BEDRRS6JUH3TZNTLCZAVCNFSM6AAAAABLGMKJMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBSGU4DSMJZG4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ADSY7U6RVCHMQLJWN57BCTDZNTLCZA5CNFSM6AAAAABLGMKJMKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFVMZA2.gif Message ID: @. @.> >

markcellis commented 1 month ago

I sent you a DM on X-Plane.org with a fix to try. Please let me know if it works. This was a nasty bug, thanks for finding it.

RangerGH commented 1 month ago

I will do that this evening and let you know.

From: Mark Ellis @.> Sent: Tuesday, July 23, 2024 5:44 To: markcellis/X-KeyPad @.> Cc: RangerGH @.>; Author @.> Subject: Re: [markcellis/X-KeyPad] Cannot enter the number 10 for a FormulaFloat in a key label line segment. (Issue #109)

I sent you a DM on X-Plane.org with a fix to try. Please let me know if it works. This was a nasty bug, thanks for finding it.

— Reply to this email directly, view it on GitHub https://github.com/markcellis/X-KeyPad/issues/109#issuecomment-2244741666 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSY7U4S6IV3SSZUUMM7ZQ3ZNYQVTAVCNFSM6AAAAABLGMKJMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBUG42DCNRWGY . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ADSY7UZLFBFOAUIL3UTQUPDZNYQVTA5CNFSM6AAAAABLGMKJMKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFZQFCE.gif Message ID: @. @.> >

markcellis commented 1 month ago

This was fixed in 1.6.1 Beta 3

RangerGH commented 1 month ago

Excellent.

From: Mark Ellis @.> Sent: Monday, July 29, 2024 15:06 To: markcellis/X-KeyPad @.> Cc: RangerGH @.>; Author @.> Subject: Re: [markcellis/X-KeyPad] Cannot enter the number 10 for a FormulaFloat in a key label line segment. (Issue #109)

This was fixed in 1.6.1 Beta 3

— Reply to this email directly, view it on GitHub https://github.com/markcellis/X-KeyPad/issues/109#issuecomment-2256694214 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSY7UYQZ2BXHGGQ6JUDDDDZO2HAFAVCNFSM6AAAAABLGMKJMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGY4TIMRRGQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ADSY7U4F5N6WRNOH2BA3MDDZO2HAFA5CNFSM6AAAAABLGMKJMKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGQJV4M.gif Message ID: @. @.> >