Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Touchscreen on raspberry: problem with events
Re: Touchscreen on raspberry: problem with events [message #49549 is a reply to message #49545] Tue, 27 February 2018 09:15 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I have tried to alter mouse flags code to reflect what have we learned so far. Can you retest with current trunk please? (Maybe backup Switch.cpp so that we can do those LOGs again)
Re: Touchscreen on raspberry: problem with events [message #49596 is a reply to message #49549] Fri, 09 March 2018 18:34 Go to previous messageGo to next message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
mirek wrote on Tue, 27 February 2018 09:15
I have tried to alter mouse flags code to reflect what have we learned so far. Can you retest with current trunk please? (Maybe backup Switch.cpp so that we can do those LOGs again)


Hi Mirek,
I downloaded and compiled the latest nightly build (11829) and when I made a single touch over a Switch control and now the control works as expected.
Thank you for the fix!

Just for the records: I put in the source of with upp-11799 with following log line in Switch::MouseMove, Switch::LeftDown and SwitchLeftUp:

LOG("MouseMove");
DUMP(p);
DDUMP(keyflags & K_MOUSELEFT);


I modified also the GtkEvent.cpp modified as per you message.

With those modifications I get an error and the application does not start:

****************** PANIC: Invalid memory access!

/usr/bin/xmessage
Error: Can't open display:
Segmentation fault

P.S. I am sorry I am not able to provide you with a prompt feedback, but programming is just 10% of my job, so I often have to take care of other assignments.
Re: Touchscreen on raspberry: problem with events [message #49599 is a reply to message #49596] Fri, 09 March 2018 19:27 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Giorgio wrote on Fri, 09 March 2018 18:34
mirek wrote on Tue, 27 February 2018 09:15
I have tried to alter mouse flags code to reflect what have we learned so far. Can you retest with current trunk please? (Maybe backup Switch.cpp so that we can do those LOGs again)


Hi Mirek,
I downloaded and compiled the latest nightly build (11829) and when I made a single touch over a Switch control and now the control works as expected.
Thank you for the fix!



Thanks, means issue is solved, right? Just in time for 2018.1....

Mirek
Re: Touchscreen on raspberry: problem with events [message #49605 is a reply to message #49599] Mon, 12 March 2018 09:42 Go to previous message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
Yes, it is fixed, thank you again for the effort you put in this.
Previous Topic: Help wanted for DebugVisualizer
Next Topic: Upp as a shared library
Goto Forum:
  


Current Time: Thu Mar 28 09:22:35 CET 2024

Total time taken to generate the page: 0.01182 seconds