[GH-ISSUE #5814] [Issue]: Android floating UI and weather background disappear after viewport resize #3204

Closed
opened 2026-10-21 06:00:33 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Sep 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5814

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The World State Agent's automatic active-weather background temporarily disappears or flickers when the Android browser viewport changes, such as during zooming or Android keyboard use. The same issue may affect other floating agent UI, including widgets.

Expected behavior

The weather background and other floating agent UI should be repainted and remain visible after Android viewport changes.

Actual behavior

The weather background temporarily disappears or flickers when zooming the page or opening and closing the Android keyboard. Other floating agent UI may show the same behavior.

Steps to reproduce

  1. Enable the World State Agent's automatic active-weather background.
  2. Open Marinara Engine in an Android browser.
  3. Zoom the page, or open and close the Android keyboard.
  4. Observe that the weather background temporarily disappears or flickers.

Environment

  • Marinara Engine version: 2.4.5 (build 2.4.5+dfbb2e73d1fa, commit dfbb2e73d1)
  • Install type: termux
  • OS + version: Client: Android 10; server: Android / Termux 6.1.145-android14-11-33419968-abS928BXXS6DZH2 (arm64)
  • Browser or app shell: Samsung Internet 30.0 (Chrome 143.0.0.0; Android WebView user agent)

Logs, screenshots, or video

No logs, screenshots, or video were provided.

Additional context

Possible fix: https://github.com/Pasta-Devs/Marinara-Engine/compare/staging...luma-inibitor:Marinara-Engine:pr/weather-resize-repaint?expand=1

Discord thread: Bug report - Agent weather background disappearing
Discord thread link: https://discord.com/channels/1417099416812392641/1544369733925867711
Requested by: gunterlie (part of the problem) (gunterlie, Discord ID 282074442962829312)

Discord thread transcript (8 messages)
[2026-09-01T15:33:57.570Z] Fussel: I discovered that when using the world state agent and its automatic active weather background, the background temporarily disappears when, for example, zooming in or opening the keyboard in an Android browser.

More details below.

World State Agent version:
1.0.4

Marinara Engine diagnostics
Version: 2.4.5
Build: 2.4.5+dfbb2e73d1fa
Commit: dfbb2e73d1fa
Server OS: Android / Termux 6.1.145-android14-11-33419968-abS928BXXS6DZH2 (arm64)
Server memory: heap 125.7 / 1120 MiB; RSS 145.5 MiB
Background wake lock: acquired
Last detected freeze: none detected
Client OS: Android 10
Browser / app shell: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/30.0 Chrome/143.0.0.0 Mobile Safari/537.36
GPU: Adreno (TM) 750
Active connection: Opus 4.6
Connection provider: anthropic
LLM model: claude-opus-4-6
[Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544369733925867711]

[2026-09-01T15:33:58.164Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544369736417022092]

[2026-09-01T16:23:15.489Z] Fussel: On that note, apparently this also goes for any floating agent UI (widgets, etc.), not just the weather/world state.
[Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544382140337234002]

[2026-09-02T23:04:43.181Z] containerd | crow: possible fix: <https://github.com/Pasta-Devs/Marinara-Engine/compare/staging...luma-inibitor:Marinara-Engine:pr/weather-resize-repaint?expand=1>

`+242/-58` seems like a big diff, i'm not sure if it actually needs to be that large. but from local testing it at least fixes the android keyboard opening/closing and the weather no longer flickers/disappears on my phone
[Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544845559305609339]

[2026-09-03T00:04:17.430Z] containerd | crow: updated with a much simpler patch. 14 lines of change, 164 lines of tests. quick test on my device and it seems to work for the Android keyboard case
[Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544860550792487035]

[2026-09-03T05:28:09.907Z] gunterlie (part of the problem): @Professor Mari GitHub issue, reference possible fix link by containerd in body
[Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544942056508489789]

[2026-09-03T05:28:33.294Z] Professor Mari [bot]: Yes, put the comparison link directly in the GitHub issue body. Suggested wording:

` ` `md
## Android floating UI/background disappears after viewport resize

### Environment
- Marinara Engine: 2.4.5 (`dfbb2e73d1fa`)
- World State Agent: 1.0.4
- Server: Android / Termux
- Client: Android 10, Samsung Internet 30.0
- GPU: Adreno 750

### Steps to reproduce
1. Enable the World State Agent's automatic active-weather background.
2. Open Marinara in an Android browser.
3. Zoom the page, or open and close the Android keyboard.

### Actual behavior
The weather background temporarily disappears or flickers. The same behavior may affect other floating agent UI, such as widgets.

### Expected behavior
Floating backgrounds and widgets should be repainted and remain visible after Android viewport changes.

### Possible fix
A community patch was tested locally and reportedly fixes the keyboard opening/closing case and weather flickering:

https://github.com/Pasta-Devs/Marinara-Engine/compare/staging...luma-inibitor:Marinara-Engine:pr/weather-resize-repaint?expand=1

The initial version was a larger `+242/-58` change; the author later reported a simpler 14-line patch with 164 lines of tests.
` ` `

I can’t create or edit the GitHub issue from Discord, but this gives the maintainer the reproduction details and the proposed fix in one place. The retrieved repo context doesn’t include the relevant resize/repaint implementation, so the patch’s correctness and whether the issue affects every floating UI still need maintainer verification against the 2.4.5 code and current staging. I’m still an LLM and can make mistakes, so don’t trust my diagnosis too blindly.
[Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544942154600947743]

[2026-09-03T05:29:02.934Z] gunterlie (part of the problem): I’ll do it myself
[Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544942278919979059]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 3, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5814 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The World State Agent's automatic active-weather background temporarily disappears or flickers when the Android browser viewport changes, such as during zooming or Android keyboard use. The same issue may affect other floating agent UI, including widgets. ## Expected behavior The weather background and other floating agent UI should be repainted and remain visible after Android viewport changes. ## Actual behavior The weather background temporarily disappears or flickers when zooming the page or opening and closing the Android keyboard. Other floating agent UI may show the same behavior. ## Steps to reproduce 1. Enable the World State Agent's automatic active-weather background. 2. Open Marinara Engine in an Android browser. 3. Zoom the page, or open and close the Android keyboard. 4. Observe that the weather background temporarily disappears or flickers. ## Environment - Marinara Engine version: 2.4.5 (build 2.4.5+dfbb2e73d1fa, commit dfbb2e73d1fa) - Install type: termux - OS + version: Client: Android 10; server: Android / Termux 6.1.145-android14-11-33419968-abS928BXXS6DZH2 (arm64) - Browser or app shell: Samsung Internet 30.0 (Chrome 143.0.0.0; Android WebView user agent) ## Logs, screenshots, or video No logs, screenshots, or video were provided. ## Additional context Possible fix: https://github.com/Pasta-Devs/Marinara-Engine/compare/staging...luma-inibitor:Marinara-Engine:pr/weather-resize-repaint?expand=1 Discord thread: Bug report - Agent weather background disappearing Discord thread link: https://discord.com/channels/1417099416812392641/1544369733925867711 Requested by: gunterlie (part of the problem) (gunterlie, Discord ID 282074442962829312) <details> <summary>Discord thread transcript (8 messages)</summary> ```text [2026-09-01T15:33:57.570Z] Fussel: I discovered that when using the world state agent and its automatic active weather background, the background temporarily disappears when, for example, zooming in or opening the keyboard in an Android browser. More details below. World State Agent version: 1.0.4 Marinara Engine diagnostics Version: 2.4.5 Build: 2.4.5+dfbb2e73d1fa Commit: dfbb2e73d1fa Server OS: Android / Termux 6.1.145-android14-11-33419968-abS928BXXS6DZH2 (arm64) Server memory: heap 125.7 / 1120 MiB; RSS 145.5 MiB Background wake lock: acquired Last detected freeze: none detected Client OS: Android 10 Browser / app shell: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/30.0 Chrome/143.0.0.0 Mobile Safari/537.36 GPU: Adreno (TM) 750 Active connection: Opus 4.6 Connection provider: anthropic LLM model: claude-opus-4-6 [Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544369733925867711] [2026-09-01T15:33:58.164Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544369736417022092] [2026-09-01T16:23:15.489Z] Fussel: On that note, apparently this also goes for any floating agent UI (widgets, etc.), not just the weather/world state. [Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544382140337234002] [2026-09-02T23:04:43.181Z] containerd | crow: possible fix: <https://github.com/Pasta-Devs/Marinara-Engine/compare/staging...luma-inibitor:Marinara-Engine:pr/weather-resize-repaint?expand=1> `+242/-58` seems like a big diff, i'm not sure if it actually needs to be that large. but from local testing it at least fixes the android keyboard opening/closing and the weather no longer flickers/disappears on my phone [Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544845559305609339] [2026-09-03T00:04:17.430Z] containerd | crow: updated with a much simpler patch. 14 lines of change, 164 lines of tests. quick test on my device and it seems to work for the Android keyboard case [Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544860550792487035] [2026-09-03T05:28:09.907Z] gunterlie (part of the problem): @Professor Mari GitHub issue, reference possible fix link by containerd in body [Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544942056508489789] [2026-09-03T05:28:33.294Z] Professor Mari [bot]: Yes, put the comparison link directly in the GitHub issue body. Suggested wording: ` ` `md ## Android floating UI/background disappears after viewport resize ### Environment - Marinara Engine: 2.4.5 (`dfbb2e73d1fa`) - World State Agent: 1.0.4 - Server: Android / Termux - Client: Android 10, Samsung Internet 30.0 - GPU: Adreno 750 ### Steps to reproduce 1. Enable the World State Agent's automatic active-weather background. 2. Open Marinara in an Android browser. 3. Zoom the page, or open and close the Android keyboard. ### Actual behavior The weather background temporarily disappears or flickers. The same behavior may affect other floating agent UI, such as widgets. ### Expected behavior Floating backgrounds and widgets should be repainted and remain visible after Android viewport changes. ### Possible fix A community patch was tested locally and reportedly fixes the keyboard opening/closing case and weather flickering: https://github.com/Pasta-Devs/Marinara-Engine/compare/staging...luma-inibitor:Marinara-Engine:pr/weather-resize-repaint?expand=1 The initial version was a larger `+242/-58` change; the author later reported a simpler 14-line patch with 164 lines of tests. ` ` ` I can’t create or edit the GitHub issue from Discord, but this gives the maintainer the reproduction details and the proposed fix in one place. The retrieved repo context doesn’t include the relevant resize/repaint implementation, so the patch’s correctness and whether the issue affects every floating UI still need maintainer verification against the 2.4.5 code and current staging. I’m still an LLM and can make mistakes, so don’t trust my diagnosis too blindly. [Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544942154600947743] [2026-09-03T05:29:02.934Z] gunterlie (part of the problem): I’ll do it myself [Discord message: https://discord.com/channels/1417099416812392641/1544369733925867711/1544942278919979059] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:00:33 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 5, 2026):

Owner: @SpicyMarinara, implementation by Codex in Issue Sweep PR #5865. I have read the issue and all current comments. Work will target staging, reuse existing code, and include focused regression proof; unrelated open/draft PRs remain untouched.

<!-- gh-comment-id:5551230170 --> @SpicyMarinara commented on GitHub (Sep 5, 2026): Owner: @SpicyMarinara, implementation by Codex in Issue Sweep PR #5865. I have read the issue and all current comments. Work will target staging, reuse existing code, and include focused regression proof; unrelated open/draft PRs remain untouched.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 5, 2026):

Completed on staging in #5865 (merge 314a71a586).

Applied the credited weather-resize correction and covered worker/fallback paused and hidden resizing. Emulated mobile regression checks pass; physical Android keyboard/zoom and floating-widget checks remain manual as documented in the PR.

Focused regression proof and manual verification boundaries are documented in the PR. Required checks and the full final regression matrix passed; CodeRabbit completed review with all threads resolved. Closing as completed on staging, not a main release.

<!-- gh-comment-id:5552144603 --> @SpicyMarinara commented on GitHub (Sep 5, 2026): Completed on staging in #5865 (merge 314a71a5862f120284bb24014e401e226be79866). Applied the credited weather-resize correction and covered worker/fallback paused and hidden resizing. Emulated mobile regression checks pass; physical Android keyboard/zoom and floating-widget checks remain manual as documented in the PR. Focused regression proof and manual verification boundaries are documented in the PR. Required checks and the full final regression matrix passed; CodeRabbit completed review with all threads resolved. Closing as completed on staging, not a main release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3204
No description provided.