Steffen Posted January 18, 2018 Report Share Posted January 18, 2018 Hi, i tried using gwinDetachToggle to temporarily disable some buttons. While that does work fine i'm not able to enable the same button again with gwinAttachToggle despite the return code indicating success. The affected button no longer sends its button event after attaching again and the "pressed" graphic also does not show. Only if i comment out the call to geventDetachSource in the gwinDetachToggle implementation it will work as expected, so i guess something gets messy with the listener there. I suppose the person in the linked post below ran into the same issue. Link to comment Share on other sites More sharing options...
inmarket Posted January 18, 2018 Report Share Posted January 18, 2018 Are you running the latest git repository version of uGFX? Link to comment Share on other sites More sharing options...
Steffen Posted January 18, 2018 Author Report Share Posted January 18, 2018 (edited) I was using 2.8 but also just tried the current master from https://git.ugfx.io/uGFX/uGFX/ which shows the same behaviour. FreeRTOS is used with GFX_USE_OS_FREERTOS enabled. Edited January 18, 2018 by Steffen Link to comment Share on other sites More sharing options...
inmarket Posted January 19, 2018 Report Share Posted January 19, 2018 We will look into it. Link to comment Share on other sites More sharing options...
Steffen Posted January 22, 2018 Author Report Share Posted January 22, 2018 Thanks. I worked around this by just disabling the buttons which actually works even better for my use case, so there's no hurry on this from my side. But of course it still should be looked at Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now