slint/api/sixtyfps-cpp/include
Olivier Goffart fafcbfde2c Fix panic when trying to access layout cache of destroyed items
This can be reproduced by deleting the last item of the printer queue in the
printer demo.
It is a regression showing up because we now emit the MouseExit event after
the mouse grab as released.
The problem is that we upgrade the weak item, and call geometry() on it.
Calling geometry will re-evaluate the layout cache which will re-evaluate
the model which will result in the component being removed and the cache
entry having less item than expected.

It is ok to simply return 0. for these layout location since the item will
disapear anyway.
2021-09-08 14:42:08 +02:00
..
sixtyfps.h Fix panic when trying to access layout cache of destroyed items 2021-09-08 14:42:08 +02:00
sixtyfps_brush.h Update license date 2021-07-02 15:55:54 +02:00
sixtyfps_callbacks.h Update license date 2021-07-02 15:55:54 +02:00
sixtyfps_color.h C++: fix creating a gradient from a const reference to a color 2021-07-22 14:38:58 +02:00
sixtyfps_config.h Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
sixtyfps_image.h Update license date 2021-07-02 15:55:54 +02:00
sixtyfps_interpreter.h Doc fixes 2021-08-27 13:46:44 +02:00
sixtyfps_pathdata.h Update license date 2021-07-02 15:55:54 +02:00
sixtyfps_properties.h Update license date 2021-07-02 15:55:54 +02:00
sixtyfps_sharedvector.h Changed C++'s SharedVector::clear() to not preserve capacity when shared 2021-08-12 13:41:08 +02:00
sixtyfps_string.h Fix compilation with C++20 2021-08-20 18:49:15 +02:00
sixtyfps_testing.h Provide sixtyfps::Window by reference in the generated C++ API 2021-08-03 10:32:04 +02:00
vtable.h Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00