Skip to content

fix: keep Android editor chrome opaque - #317

Merged
tiensonqin merged 1 commit into
mainfrom
devin/1796267535-android-editor-chrome-surface
Dec 3, 2026
Merged

tiensonqin merged 1 commit into
mainfrom
devin/1796267535-android-editor-chrome-surface

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Give Android's hoisted outliner editor chrome an opaque surfaceContainerLow backdrop while bottom-occupies-layout-space is active.
  • The backdrop covers the autocomplete/page-reference panel and editor toolbar together, so translucent autocomplete rows no longer let journal text bleed through when the IME compresses the viewport.

Verification

  • ./gradlew -PlogseqAndroidAbi=x86_64 :app:assembleDebug
  • ./gradlew -PlogseqAndroidAbi=x86_64 :app:connectedDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=com.logseq.logseq.AndroidEditorCompletionTest#commandsReferencesAndTagsUseOneNativePanel
  • Manually reproduced on the Android 16 emulator with a dense seeded journal: opened the soft keyboard, typed [[, and confirmed the Pages panel is opaque after the fix.
  • A full AndroidEditorCompletionTest class run also reached three unrelated paste-focused failures (expected:<Keep []> but was:<Keep [Pasted text /]>); the autocomplete regression test above passes.

Before

Before: journal text bleeds through the Pages panel

After

After: the Pages panel has an opaque surface

Recording

Android page-reference panel after the fix

Link to Devin session: https://app.devin.ai/sessions/8508383e11c94ff69c7d506ab9dce8f8
Open in Devin Desktop: https://app.devin.ai/desktop/session/8508383e11c94ff69c7d506ab9dce8f8?variant=devin
Requested by: @tiensonqin


🟢 Devin Review found nothing to fix · View findings

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@tiensonqin
tiensonqin merged commit 33397b6 into main Dec 3, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant