Skip to content

[BUG] Brush mask live preview shows gaps during fast strokes until mouse release #517

Closed

Description

@Hanmo123

Problem

While painting a brush mask with the mouse button held down, moving the pointer quickly produces visibly separated circular dabs and gaps in the live red mask overlay. Releasing the mouse button resolves the gaps: the committed stroke becomes continuous and feathered.

The attached screenshots were captured by the reporter in LightCraft's native development build on macOS.

Steps to reproduce

  1. Open a photo in Develop and create a brush mask.
  2. Enable the mask overlay and choose a brush with visible feathering.
  3. Hold the mouse button and move the pointer quickly across the image.
  4. Observe the overlay before releasing the button, then release it and compare.

Actual behavior

During the drag, the overlay appears as discrete circles; fast movement leaves gaps. On mouse release, the stroke changes to the expected continuous, feathered shape.

Expected behavior

The live overlay should show a continuous brush stroke with the same size, feather and flow behavior as the committed mask, including during fast pointer movement. Releasing the button should not materially change the apparent painted coverage.

Related reports / investigation

Searched existing issues and PRs for brush, brush preview, mask stroke and feather. #253 covers other masking defects; #450 tracks broader Camera Raw interaction consistency. Neither describes this specific live-preview/committed-stroke discrepancy. The matching PR #243 concerns thumbnail requests rather than brush painting.

Possible investigation area: the in-progress overlay in crates/ui-egui/src/panels/detail.rs draws individual filled circles for sampled points. This is a code-reading clue, not a confirmed root cause.

Screenshots

Image 1: fast stroke while the mouse button is still held down.

Image 2: the same stroke after releasing the mouse button; coverage becomes continuous and feathered.

Screenshots below, in that order:

Image Image

Activity

  1. bitshiftza commented on Oct 10, 2026

    @bitshiftza
    Contributor

    Working on this.

  2. added a commit that references this issue on Oct 10, 2026
  3. bflatastic commented on Oct 11, 2026

    @bflatastic
    Member

    Thank you for reporting this, @Hanmo123. #766 landed in #981, which should fix it, so I'm closing this issue. Feel free to reopen it if you still see the problem in the next build.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions