Skip to content

Saved Browse slicer is forgotten after 16 more Browse picks #174

Closed

Description

@vycdev

Summary

A slicer picked with Browse… and saved with Always use this slicer can be forgotten by the native side even though it's still installed. Open in Slicer then says it "could not be found" and asks again.

Found while reviewing #155.

Cause

For safety, open_model_in_slicer only launches a detected preset or an app picked in the native dialog. Picked apps are kept in picked-slicers.json, capped at 16 (MAX_PICKED_APPS in src-tauri/src/slicer_apps.rs). remember_picked_app moves an app to the newest position only when it is picked again. Saving or using it doesn't move it.

Steps to reproduce

  1. Use Browse… to pick app A, turn on Always use this slicer, and open.
  2. Over time, use Browse… to pick 16 other apps (without saving them).
  3. Click Open in A. The chooser says "A could not be found" and the saved choice is cleared, even though A still exists.

Expected

The saved slicer stays launchable until it's actually moved or uninstalled.

Possible fix

Keep the currently saved app in the list when trimming, for example by moving the app to the newest position whenever it's saved or launched. Add a test next to picked_apps_are_deduplicated_and_capped.

It's unlikely in practice, but the fix should be small.

Activity

  1. added
    bug
    on Nov 16, 2026
  2. added a commit that references this issue on Nov 19, 2026
    c0099e0
  3. vycdev commented on Nov 19, 2026

    @vycdev
    OwnerAuthor

    Fixed by #176, merged into develop.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions