firmware icon indicating copy to clipboard operation
firmware copied to clipboard

Theme conflicting with wifi functions

Open caturine1312 opened this issue 1 year ago • 6 comments

Describe the bug: Whenever I connect to WiFi or open an AP, in "1.12.", the theme stops working and the menu icons are blank when I return to the menu.

Steps To Reproduce: Apply custome theme. (Reboot.) Use any WiFi function

Expected behavior: Using WiFi doesn't affect the device theme.

Actual behavior: WiFi functions stop costume theme from working until I reboot Bruce.

Additional context / logs: Only happens in 1.12. Never had the issue in 1.11.1 or previous alphas or betas. I use Cardputer Adv.

caturine1312 avatar Dec 05 '25 23:12 caturine1312

It probably is happening due to RAM memory shortage, as this device doesn't have PSRAM to help

what is the extension of your theme images? what is it size (dimentions and kb)?

bmorcelli avatar Dec 09 '25 01:12 bmorcelli

PNG images use more RAM then BMP and JPG.. I suggest you use .BMP instead

bmorcelli avatar Dec 09 '25 01:12 bmorcelli

I just pushed a "preload" logic to save the decoded png image into a new file, to avoid decoding every time the image is displayes, so it saves a lot of RAM memory and makes the images render after allocing memory to WIFI or other functionalities.

It will increase the loading time of the Themes at the first time you open it, and when first opening a PNG image for the first time, after that the images/theme might open as usual.

It is available on Beta for testing

bmorcelli avatar Dec 09 '25 04:12 bmorcelli

PNG images use more RAM then BMP and JPG.. I suggest you use .BMP instead

Thanks for the suggestion. I didn't think it'd be that since I never had the problem with the same device and theme with earlier versions of Bruce. I'll try this in Stable and I'll also try the new beta. My pngs are very small btw. Just 50 * 80 icons. Whole theme is 53kb or something.

caturine1312 avatar Dec 09 '25 08:12 caturine1312

Works. Solved!

caturine1312 avatar Dec 09 '25 09:12 caturine1312

Released 1.13 with fixes.

bmorcelli avatar Dec 24 '25 22:12 bmorcelli