Skip to content

Stop previewing received Taildrop images - #9891

Open
rcssdy wants to merge 1 commit into
omacom:quattrofrom
rcssdy:ryan/avoid-taildrop-image-previews
Open

Stop previewing received Taildrop images#9891
rcssdy wants to merge 1 commit into
omacom:quattrofrom
rcssdy:ryan/avoid-taildrop-image-previews

Conversation

@rcssdy

@rcssdy rcssdy commented Sep 2, 2026

Copy link
Copy Markdown

Problem

The Taildrop receiver passes received image files directly to the notification service with --image.

This causes Quickshell to decode received image contents automatically, before the recipient interacts with the notification. Some Qt image decoders can allocate memory proportional to the encoded file size even when a small sourceSize is requested, allowing a sufficiently large received image to exhaust Quickshell’s available memory.

Fix

Use the existing generic file glyph for every received Taildrop file instead of attaching image files as notification previews.

The existing behavior is otherwise preserved:

  • files are still saved to the downloads directory
  • notifications remain persistent
  • clicking a notification still opens the received file

Tests

  • bash test/shell.d/tailscale-receive-test.sh
  • bash -n bin/omarchy-tailscale-receive test/shell.d/tailscale-receive-test.sh
  • git diff --check

The regression test now verifies that received images are not passed to the notification service through --image.

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