Skip to content
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

On-screen widget will disappear after reboot if there is Chinese string in the widget lua file #5708

Open
1 task done
L1cardo opened this issue Dec 13, 2024 · 3 comments
Open
1 task done
Labels
bug 🪲 Something isn't working triage Bug report awaiting review / sorting

Comments

@L1cardo
Copy link

L1cardo commented Dec 13, 2024

Is there an existing issue for this problem?

  • I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

On-screen widget will disappear after reboot if there is Chinese string in the widget lua file.

Expected Behavior

On-screen widget do not disappear after reboot if there is Chinese string in the widget lua file.

Steps To Reproduce

  1. Add widget to the screen
  2. Reboot the radio
  3. The widget disappears

Version

2.10.5

Transmitter

RadioMaster TX16S / TX16SMK2

Operating System (OS)

No response

OS Version

No response

Anything else?

No response

@L1cardo L1cardo added bug 🪲 Something isn't working triage Bug report awaiting review / sorting labels Dec 13, 2024
@pfeerick
Copy link
Member

Does the string have to be anywhere specific? How about a link / sample widget that exhibits this behaviour? ;)

@L1cardo
Copy link
Author

L1cardo commented Dec 14, 2024

Sorry for my bad memory, I thought I had uploaded the script.

When drawText Chinese strings.
image

It is just a CN version of ElrsTelemWidget https://github.com/ExpressLRS/ElrsTelemWidget

Here is the file
ElrsTelemWidget-CN.zip

@philmoz
Copy link
Collaborator

philmoz commented Dec 14, 2024

The widget name is too long - maximum of 12 characters:

return {
  name = "ELRS Telem CN",
  options = {},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working triage Bug report awaiting review / sorting
Projects
None yet
Development

No branches or pull requests

3 participants