slint/sixtyfps_runtime/interpreter
Simon Hausmann 53ef31f0c1 Fix wrong text rendering with popups in the interpreter and the GL backend
The interpreter created an intermediate window for the component but
the regular parent window is used for rendering. This resulted in the situation
where the layout computation was done before rendering with the intermediate window,
the text layout was calculated and cached in the Text's cached rendering data.
That in turn is just an index into the window's rendering cache (arena),
which is also later used for rendering. The index is local to the window, so
during layout the index was assigned for the intermediate window and
when rendering it seemed valid and happened to also refer to a Text item in the
cache of the real window, but with the wrong size/data.

Fixes #278
2021-06-29 11:27:33 +02:00
..
api.rs Janitor: Fix typos in comments and user-facing strings 2021-06-28 08:32:25 +02:00
Cargo.toml Increase version numbers 2021-06-28 10:39:43 +02:00
dynamic_component.rs Fix wrong text rendering with popups in the interpreter and the GL backend 2021-06-29 11:27:33 +02:00
dynamic_type.rs Janitor: Fix typos in comments and user-facing strings 2021-06-28 08:32:25 +02:00
eval.rs Janitor: Fix typos in comments and user-facing strings 2021-06-28 08:32:25 +02:00
eval_layout.rs Make the orientation a static parameter to BuiltinFunction::ImplicitLayoutInfo 2021-06-16 15:14:07 +02:00
ffi.rs Janitor: Fix typos in comments and user-facing strings 2021-06-28 08:32:25 +02:00
global_component.rs Janitor: Fix typos in comments and user-facing strings 2021-06-28 08:32:25 +02:00
lib.rs Janitor: Fix typos in comments and user-facing strings 2021-06-28 08:32:25 +02:00
tests.rs Missing License header 2021-05-31 18:50:32 +02:00
value_model.rs Move the refined eval::Value API to api::Value 2021-03-15 15:12:34 +01:00