peted-davis / WeatherFlow_PiConsole

Raspberry Pi Python console for WeatherFlow Tempest and Smart Home Weather Stations
GNU General Public License v3.0
155 stars 20 forks source link

WFPIConsole buttons will not work when touching screen. Must use mouse to click button for it to activate #87

Closed creas002 closed 1 year ago

creas002 commented 1 year ago

Issue: WFPIConsole buttons will not work when touching the touch screen. It worked ~6 months ago but broke after a WFPIConsole update which required significant updates to buster OS . I must use mouse to click one of the WFPIConsole buttons.

To Reproduce

Tap button with finger on touch screen. For example, with the webbroswer launched I can touch screen to select a link or shortcut and it works correctly. When WFPIConsole is running, touching the screen will move the mouse pointer around but will not actually perform a click event for selecting that button. Buttons being Sager, Forecast, Lightning, Solar, Moon, Wind Speed, Menu,

Hardware/OS/Version

wfpiconsole_update.log wfpiconsole_20230213.log

peted-davis commented 1 year ago

When did this stop working? There was an update to the code a while back that changed this behaviour based on the setting of Cursor in the [Display] section of the wfpiconsole.ini file. In order to fix a bug I have to disable touch input if the cursor is enabled. Try changing the value of Cursor to 0 and see if that fixes the issue

creas002 commented 1 year ago

Perfect, That was the issue. It's working correctly now. Thank you

[Display] Cursor = 0

On Mon, Feb 13, 2023 at 2:44 PM peted-davis @.***> wrote:

When did this stop working? There was an update to the code a while back that changed this behaviour based on the setting of Cursor in the [Display] section of the wfpiconsole.ini file. In order to fix a bug I have to disable touch input if the cursor is enabled. Try changing the value of Cursor to 0 and see if that fixes the issue

— Reply to this email directly, view it on GitHub https://github.com/peted-davis/WeatherFlow_PiConsole/issues/87#issuecomment-1428555401, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVTS6KJDAKZKGI2VORTOGLWXKFLHANCNFSM6AAAAAAU2SV5WA . You are receiving this because you authored the thread.Message ID: @.***>