Skip to content

Fixed: Popup box just a black bar on heltec epaper nodes#2693

Open
doormatt-dev wants to merge 1 commit into
meshcore-dev:devfrom
doormatt-dev:heltec-epaper-fix
Open

Fixed: Popup box just a black bar on heltec epaper nodes#2693
doormatt-dev wants to merge 1 commit into
meshcore-dev:devfrom
doormatt-dev:heltec-epaper-fix

Conversation

@doormatt-dev
Copy link
Copy Markdown

@doormatt-dev doormatt-dev commented Jun 5, 2026

Issue:

The drawing functions in /src/helpers/ui/E213Display.cpp and /src/helpers/ui/E290Display.cpp did not implement any sort of colour changing on rectangles, text and bitmaps. This results in the following black rectangle appearing:

20260604_171501.1.mp4

How to replicate:

Simply install the official meshcore firmware on any of the Heltec e-paper boards. The black bar will appear on the recent contacts page when cycling through the pages in forward order (not in reverse order but that's a different issue, it shouldn't try to do a popup at all there imo) and when sending an advert via the companion itself (not when triggering an advert through the app).

Fix:

The display.setColor() function was implemented properly. A variable for the colour was added like in the implementation of all the other displays. The fix is fully functional. Changing text and bitmap colour is also supported now although it is not used so far. The comment about text colours on monochrome screens was updated to note that the colours on epaper screens are inverted compared to other monochrome displays.

20260604_173153.1.mp4

This PR is a reworked version of PR #2554

I cleaned up the code a little bit more and am not trying to PR to main branch anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant