slint icon indicating copy to clipboard operation
slint copied to clipboard

Property in two-way binding cannot be set in C++ in special cases

Open cEvolve05 opened this issue 1 year ago • 0 comments

C++/Slint 1.7.2/windows

I am developing a C++ application with Slint. And two-way binding has strange behavior in some cases. The properties seems cannot be set in C++, but if I renaming some part, it works again. I put two cases found in my test.

case 1.zip case 2.zip (also tested on Linux)

In both cases, click first button will not set the value of two-way binding property. In case 2, it will work if rename test global to tester or some other names. Maybe it is a issue about naming.

cEvolve05 avatar Aug 16 '24 05:08 cEvolve05