-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podadrem/spotrem: Fix linter warnings #3633
Conversation
19b9418
to
1a848d4
Compare
LGTM, happy to merge but will give @retcurve a few days to check it over |
I've got an alternative solution that doesn't involve changes to other apps, but it might be worthwhile still making the changes here in case other keyboards have this same problem. The issue is being caused by setUI - EdgeWrite calls setUI to set btn, touch, and drag handlers, but no back handler. When setUI is called without a back handler it calls |
This problem can also be reproduced with anything else that calls setUI without a back handler after widgets have been hidden, for example this will show the black box cutting into the top line of an alert -
A potential fix here is to call
|
@gfwilliams what's your take on this conversation? |
I'm with @retcurve - the lint fixes are great and should go in, but I think we should be trying to fix the problem at the source. I guess for me, the safest fix is just to swap around the code in kbedgewrite so we draw the screen after calling But this also feels like a setUI bug. When we hide widgets, we set the widget.area to |
👍
Just merged that PR from @retcurve 🙏👌
Sounds like a good idea to me! |
Ok, I pushed changes to setUI to the main repo, so I think we're good now. Please can you remove your |
👍 I'll fix this PR later tonight |
3619dd0
to
1c29024
Compare
1c29024
to
18bb51d
Compare
Great - thanks! |
On
edgewrite
keyboard the top left corner would be overwritten with asquare in solid background colour, the size and position of the red back
button of the previous menu.
Reproducible with with
edgewrite
installed and this code:First brought up on #3632 (comment).