-> Delphi 12.1 / TMS Web Core 2.9.1.0
Hi,
This issue is an "aside" bug's found of my previous ticket about "await" issue.
For me, It perhaps explain (partially), many visuals "inconsistances" that I got in my work with TMS Web Core *in template" mode (so, with custom html file)
Here is my attempt to reproduce it :
It is based upon "multiform" web core demo.
When I do my test, I copy "multiform" as "MutliForm - copy", and made my test entirely on "multiForm - copy" (no touch to original "multiform")
-
I open project in "MutliForm - copy"
-
I add a "WebButton" on main form (autmatically called WebButton2, because there is already one).
-
All run fine a this point.
-
save it and quit.
-
After that, I shutdown Delphi, and then, I completely delete "multiform - copy", and copy again "multiform" (and thus, get again a "multiform - copy").
when I open it in fresh Delphi, I was suprised, because I get again the visual for my "old" "multiform - copy" (With a WebButton2 - Wich was completely deleted !)
--> The Design time visual in delphi was coherent, but the source code was inconsistant : (I just added a button, visual was ok, but in source, button was not declared)
On run, there are naturally an error (webButton2 not found...)
- The fact is that I have delete all data, and I already got my visual again !
--> I'm very sure that this behaviour come from the "web" cache system (chromium) view !
in this "multiform" demo, it is easy to reproduce this, because (I thing) of use of template mode.
The "template" mode is very important to me, and this is "bug" is annoying for a little project, and, I thing, is a "blocker" for a big project ![]()
Thanks !
Vincent