jni / jni/affinder

Closing the widget should close affinder

Open
#93 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
23
Forks
13
PR merge metrics
No merged PRs in 30d

Description

If a user accidentally closes the affinder widget, the callbacks on the layers will stick around and it will be hard to remove them. It would be good if closing the widget was equivalent to stopping affinder. I don't know yet whether there is an event one can catch when the widget is closed, but there were some discussions about this either in the napari repo or in the Zulip.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the affinder widget lifecycle and the existing stop behavior, then check the referenced napari or Zulip discussions for how widget closure can be observed. Done means closing the widget has the same effect as stopping affinder and removes the layer callbacks.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.