Skip to content

set_key_image() erases touchscreen content if it was not called before set_touchscreen_image() #130

@devleaks

Description

@devleaks

Describe the bug
If you call set_touchscreen_image() the image appears on the LCD display.
If you call set_key_image() after, it erases the content of the LCD (the first call).

To Reproduce
In the example_plus.py file, simply invert the drawing on LCD loop and drawing on keys, draw on LCD first, then on keys.
The LCD content will be erase.

If you call set_key_image() first, then set_touchscreen_image(), everything works as expected, consecutive calls to set_key_image() do not erase the LCD.

LCD is erased just by the first call to set_key_image() if set_touchscreen_image() was called before.

StreamDeck Information
Stream Deck Plus

System Information
MacOS 14.1, Python 3.11, Elgato Streamdeck 0.9.5, libhid: stable 0.2.16 (bottled). (Bottle was opened to be used.)
Not tested elsewhere.

(Good luck.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions