Project

General

Profile

Actions

Bug #846

closed

Touchscreen apps don't work on TFT

Added by Hammel almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
04 - Applications
Target version:
Start date:
21 Jun 2021
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

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.

Actions #1

Updated by Hammel almost 3 years ago

  • 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.

Actions #2

Updated by Hammel over 2 years ago

  • 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.

Actions #3

Updated by Hammel over 2 years ago

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).

Actions #4

Updated by Hammel over 2 years ago

  • Status changed from New to In Progress

Changes applied, in sandbox, to rootfs (S99UI) and lcdshow package. Both need to be tested before pushing.

Actions #5

Updated by Hammel over 2 years ago

  • 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.

Actions

Also available in: Atom PDF