Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish the global gateway logic for better macOS support #295

Open
ctrueden opened this issue Dec 23, 2023 · 2 comments
Open

Finish the global gateway logic for better macOS support #295

ctrueden opened this issue Dec 23, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request macos-gui
Milestone

Comments

@ctrueden
Copy link
Member

The global-gateway branch enables a global gateway field of PyImageJ, along with a new callback registration function when_imagej_starts, so that it becomes possible to start PyImageJ in gui mode along with additional actions you want to perform with the newly created ij instance. This is especially useful on macOS, which does not currently support the interactive mode. Initial testing of this feature by @ctrueden and @elevans indicates it's working, so it needs to be polished up, filed as a PR, reviewed, and merged ASAP, to bring this functionailty to Mac users. (Sadly, it will not solve all the problems on Mac—use of the ImageJ/Fiji GUI from Jupyter for example—but it is still better than what we have now.)

@ctrueden ctrueden added enhancement New feature or request macos-gui labels Dec 23, 2023
@ctrueden ctrueden added this to the next-release milestone Dec 23, 2023
@ctrueden
Copy link
Member Author

There is also logic in napari-imagej to make use of the global gateway if it is present. If napari is launched via a Python script that starts PyImageJ in GUI mode along side napari, then it becomes possible to (mostly) use both GUIs together on macOS. We should test this also as part of addressing this issue.

@elevans
Copy link
Member

elevans commented Feb 9, 2024

Just updating this issue. The global gateway works on macOS (yay!). I still need to test the global gateway with napari. After that I think we'll be good to go to merge into main. This next on my todo list so I'm hoping to get this done soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request macos-gui
Projects
None yet
Development

No branches or pull requests

2 participants