Improve UIWindow default focusing behavior.

Adjust `window-flags` behavior when used from CSS.
Display a download progress window when download-file-web is used. Also support loading images and sounds from downloads.
Minor safety checks added for engine termination and window closing.
Minor changes in Http.
This commit is contained in:
Martín Lucas Golini
2026-01-10 01:49:20 -03:00
parent 8260cf6999
commit d6f60354c1
25 changed files with 306 additions and 102 deletions

View File

@@ -649,7 +649,7 @@ void LLMChatUI::showChatHistory() {
hideAttachFile();
static const char* CHAT_HISTORY_LAYOUT = R"xml(
<window window-flags="shadow|modal|ephemeral"
<window window-flags="default|shadow|modal|ephemeral|maximize"
window-title="@string(ai_conversations_history, AI Conversations History)">
<Loader id="loader" radius="48" outline-thickness="6dp" indeterminate="true" />
<vbox lw="mp" lh="mp">