Bug #846
closed
Touchscreen apps don't work on TFT
Added by Hammel over 3 years ago.
Updated over 3 years ago.
Category:
04 - Applications
Description
I was able to start pinet (only app displayed by the launcher) on the TFT but cannot exit it, possibly because the screen size is not accurate in the app.
- Status changed from New to In Progress
- % Done changed from 0 to 30
piboxlib needed to be updated to support TFT displays. A first attempt left out support in piboxGetDisplayType(). I have a fix in my sandbox that needs testing.
- Status changed from In Progress to New
- % Done changed from 30 to 70
The latest update to piboxlib fixes pinet. Now I need to test with all touch apps.
Note that pinet changed how it handles recognizing a touchscreen. It now checks if it's a TFT and then sets the local CLI_TOUCH flag. This is cleaner than what was being used previously and should be propagated to all touchscreen aware UI apps.
One step forward, one step back...
Now I find that S99UI in the dev platform (pibox repo: src/buildroot/etc/init.d/S99UI) will update xorg.conf, trying to use xorg.conf.rpitouch. I don't want it doing that with the TFT displays because the TFT package (and pibox-hdmi script) can fix things up as needed.
So I need to add some kind of flag to tell S99UI not to do that and have lcdshow package set that flag on install (and unset it on package removal).
- Status changed from New to In Progress
Changes applied, in sandbox, to rootfs (S99UI) and lcdshow package. Both need to be tested before pushing.
- Status changed from In Progress to Closed
- % Done changed from 70 to 100
This is now fixed and pisentry can be installed with the TFT display.
Changes tested on hardware, committed and pushed. If additional problems are encountered they will be tracked separately.
Closing issue.
Also available in: Atom
PDF