imagej / imagej/imagej-matlab

Consider enabling preferences when running in MATLAB

Open
#26 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
16
Forks
6
PR merge metrics
No merged PRs in 30d

Description

For some reason we decided to disable the `PreferencesService` when [running in MATLAB](https://github.com/imagej/imagej-matlab/blob/da50b03b539b0a5d608e63427ddf5ca1c9aa5027/src/main/java/net/imagej/matlab/ImageJMATLAB.java#L148). This can result in some odd and confusing behavior (state not changing despite selecting/deselecting options. See [this forum post](https://forum.image.sc/t/problem-with-bonej-usage-modern-popup-window-when-running-from-matlab/49177).)

If we determine why preferences were disabled we should at least provide better notifications for users when trying to set pref values.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading src/main/java/net/imagej/matlab/ImageJMATLAB.java around line 148 and the linked forum post. Determine why PreferencesService is disabled when running in MATLAB and whether enabling it is safe. Done means preference changes work in MATLAB, or users receive a clear notification explaining why they cannot set preferences.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, matlab
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.