edgetx icon indicating copy to clipboard operation
edgetx copied to clipboard

Nightly 2.8 - Yaapu LUA screen slightly off-center

Open robustini opened this issue 3 years ago • 2 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

As you can see from the image I posted, Yaapu LUA's screen is slightly off-center to the right, as can be seen from the vertical white band on the left. It is absolutely a small thing but it would be better to bring it back to center. I believe that the same imperfection also exists with other LUAs.

Expected Behavior

That the image was centered

Steps To Reproduce

  1. Flash the latest nightly build
  2. Install Yaapu LUA script
  3. Add the Yaapu widget on a new fullscreen screen layout with no other controls shown , and switch to that screen

Version

Nightly (7e54059)

Transmitter

FrSky X10 Express / X10S Express (ACCESS)

Anything else?

rn_image_picker_lib_temp_5ab86b51-d4d1-4738-9305-6865dd5d4262

robustini avatar Sep 21 '22 09:09 robustini

Reproducible with Yaapu telemetry widget 1.9.6-dev-4265d2f. The red outline frame which is shown if there is no telemetry is also off-screen by one column.

pfeerick avatar Sep 21 '22 09:09 pfeerick

Same affect is seen with the INAV telemetry widget.

stronnag avatar Sep 21 '22 10:09 stronnag

I noticed an interesting behaviour - if you make the widget enter full-screen (interactive) mode... it then aligns properly... 🤔

i.e. on the left it's just "normal" fullscreen, and you can see that 1px sliver on the left. I then press 'n held, choose "full screen" and now on the right it's correctly positioned as you can see the full red outline for 'no telem'

image

pfeerick avatar Sep 25 '22 11:09 pfeerick

Me too!!!! INAV widget behaves the same way (looks correct on manual Full Screen).

stronnag avatar Sep 25 '22 13:09 stronnag

@yaapu what do you think?

robustini avatar Sep 25 '22 17:09 robustini

Smells like LVGL style border or similar.

raphaelcoeffic avatar Sep 25 '22 17:09 raphaelcoeffic

It is reproducible with a simple full screen widget which just fills the area with a color. The left line is the background image. If I add one more screen with a fullscreen widget, then there will be a slight space between them and the baground image will be visible during the scroll between the pages.

banyaszg avatar Sep 26 '22 20:09 banyaszg