Onion icon indicating copy to clipboard operation
Onion copied to clipboard

Glitch /mirroring of bg in themes.

Open caturine1312 opened this issue 5 months ago • 1 comments

Checklist

  • [x] I am reporting a bug in the Onion OS - Any issues with the closed source frontend (MainUI), or RetroArch or any of the cores should be directed to their respective repositories
  • [x] I have reviewed the Onion Docs and did not find the answer
  • [x] I have searched the existing (open and closed) issues to ensure I do not log a duplicate

Onions OS Version

4.3.1-1

Miyoo Firmware Version

202306282128

Provide a clear and concise description of the issue

In every theme I made that had an image as a bg, instead of mono-color bg, the image I used is "glitch-mirrored" right under the top bar. Or at least it displays artifacts from the bg image. Interestingly the small line of pixels represents no distinct zone in the bg image, despite clearly resembeling certain sections.


Images show intact UI with solid bg, two examples of a wide border with the glitch still as visible as without the border and the broader top bar that did nothing, since it was cut of at 60 px, which was probably to be expected, but I thought it was worth a try.

Image Image Image Image

Steps to Reproduce

  1. Create a theme with the standard blueprint dimensions.
  2. Use an image of any kind in the mid section of the bg
  3. Install the theme

Provide any additional context or information that may help us investigate your issue

I was not able to fix it with broader monocolor borders around the center artwork nor by increasing the diameter of the top bar from 60px to 64px or 68px. (I was hoping it would draw over the bg and cover the glitch.) I tried removing the alpha channel as well and also experimented with solid color or striped .pngs to find a pattern, but I still have a hard time understanding how the UI is drawn and especially how that mirror-glitch is created. First I assumed it had to do with the upside down bg, but changing that did nothing but...well, turn the bg upside down. ( That's necessary because the display draws from bottom left right?)

I'm losing my mind over this. :D Hope it's not just user error. Would hate to waste your time and I wasted a lot of my time trying to fix this for 9 hours straight now.

caturine1312 avatar Jun 26 '26 09:06 caturine1312

Not a bug apparently. But transparency could use a bit of work tbh. It always draws the bg from the center of the screen. The supposed bug was just a transparent "div line h" that got drawn under the top bar. That's what fucked up all my themes

caturine1312 avatar Jun 29 '26 17:06 caturine1312