Closed Rathmox closed 1 month ago
yea i'm really not sure why this happens, and i've seen it occur multiple times while working with the display driver. My best guess is there is some issue with how we are writing to the LCD control register, and accidentally (perhaps an overflow) writing the command to invert the colors. I'll have to do some investigation to be sure though
I have seen this happen. Would a (temporary) work-around be to assert the flag to not invert colours when accessing a screen, e.g. watchface / info.
This has happened to me, but I know a way of reproducing this issue.
You need to turn on lower wrist to put the watch to sleep and go to the paint app, then just keep holding the screen and lower it until the screen turns off, and after you turn the screen on again, all the colors are inverted, I have attached a video showing it.
It may have something to do with the issue #1992
https://github.com/InfiniTimeOrg/InfiniTime/assets/77130196/e7b14534-f661-42e3-80b6-b7260d171014
I can reproduce this as well. This issue seems to also be the roots of the issue we're experiencing with #1869 (https://github.com/InfiniTimeOrg/InfiniTime/pull/1869#issuecomment-1915865847). There is some kind of issue with how the display is being controlled (SPI), which is causing unexpected behavior with the display
Having a consistent repro is amazing, thanks!!!!
I managed to trigger this bug by turning off and on multiple times the watch. I never managed to reproduce it though.
I've just merged @2046 #2046 ! This issue will hopefully not occur again :)
Thanks to @mark9064 for their great work!
I've just merged @2046!
I think maybe you didn't intend to @ the user 2046 but instead refer to #2046? :)
I think maybe you didn't intend to @ the user 2046 but instead refer to #2046? :)
You're right, thanks for letting me know about this typo (and sorry to user 2046 for the unexpected ping :) ).
Verification
What happened?
Colors inverted for no apparent reason
What should happen instead?
Colors should stay the same
Reproduction steps
?
More details?
Looks similar to #1022 but did not happen when charging Happened on 2 different Infinitime watches
![IMG_20240119_193202_507](https://github.com/InfiniTimeOrg/InfiniTime/assets/55508107/549410da-5d11-4bb4-b229-7c5fa6ef6066)
Version
1.14.0
Companion app
No response