Skip to content

app: backport some commits from upstream 5.19-5.20 - #45

Merged
lfdevs merged 3 commits into
mainfrom
dev/app/backport-upstream-5.20
Sep 10, 2026
Merged

lfdevs merged 3 commits into
mainfrom
dev/app/backport-upstream-5.20

Conversation

@lfdevs

@lfdevs lfdevs commented Sep 2, 2026 •

Copy link
Copy Markdown
Owner
  • app: resolve clickpad left/right buttons

    Single-button touchpads report every physical press as a generic primary button. Use the slowest contact to identify the pressing finger and select the left or right half of the pad. Latch that choice until release so finger drift cannot strand a button state.

    Preserve the existing captured touchpad gesture and pointer-capture paths while forwarding the resolved Linux button events.

    This backports upstream SuperTurtleDev/anland@73ef90b

  • app: recover failed playback streams

    Register an AAudio error callback for playback and rebuild the output stream when the callback or a write reports a failure. Refresh the negotiated device format and re-announce it to the producer after recovery.

    Keep recovery scoped to the audio stream so route changes and HAL failures do not tear down or reconnect the display pipeline.

    This backports upstream SuperTurtleDev/anland@983f77a

  • app: keep Android playback audio alive

    Drive Android playback through an AAudio data callback backed by a frame-aligned ring buffer, feeding near-silent samples during underruns and rebuilding only the output stream after errors. Add media audio focus handling and a default-off audio keep-alive setting with synchronized localized strings, while retaining idle-stop behavior to limit standby power.

    This backports upstream SuperTurtleDev/anland@443c6c3 (Part of 修复一些问题,提升用户体验 SuperTurtleDev/anland#57)

@lfdevs
lfdevs force-pushed the main branch 2 times, most recently from 56de914 to 23c7743 Compare September 2, 2026 11:56
@lfdevs
lfdevs force-pushed the dev/app/backport-upstream-5.20 branch from 6156bdf to 9e67835 Compare September 2, 2026 11:56
superturtlee and others added 2 commits September 2, 2026 20:01
Single-button touchpads report every physical press as a generic primary button. Use the slowest contact to identify the pressing finger and select the left or right half of the pad. Latch that choice until release so finger drift cannot strand a button state.

Preserve the existing captured touchpad gesture and pointer-capture paths while forwarding the resolved Linux button events.

Co-authored-by: lfdevs <lfdevs@lfdevs.com>
Register an AAudio error callback for playback and rebuild the output stream when the callback or a write reports a failure. Refresh the negotiated device format and re-announce it to the producer after recovery.

Keep recovery scoped to the audio stream so route changes and HAL failures do not tear down or reconnect the display pipeline.

Co-authored-by: lfdevs <lfdevs@lfdevs.com>
@lfdevs
lfdevs force-pushed the dev/app/backport-upstream-5.20 branch from 9e67835 to 367aff8 Compare September 2, 2026 12:04
Drive Android playback through an AAudio data callback backed by a frame-aligned ring buffer, feeding near-silent samples during underruns and rebuilding only the output stream after errors. Add media audio focus handling and a default-off audio keep-alive setting with synchronized localized strings, while retaining idle-stop behavior to limit standby power.

Co-authored-by: Goldzxcbug <Zxc20060226@outlook.com>
Co-authored-by: lfdevs <lfdevs@lfdevs.com>
@lfdevs
lfdevs force-pushed the dev/app/backport-upstream-5.20 branch 2 times, most recently from 24371d2 to 3099822 Compare September 3, 2026 06:00
@lfdevs lfdevs linked an issue Sep 10, 2026 that may be closed by this pull request
@lfdevs
lfdevs merged commit a9c7a40 into main Sep 10, 2026
1 check 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.

[Bug] KWin crash when Anland app is in background

3 participants