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

command-line export not working when an instance is already running #624

Open
eudoxos opened this issue Jun 25, 2024 · 2 comments
Open

command-line export not working when an instance is already running #624

eudoxos opened this issue Jun 25, 2024 · 2 comments
Assignees
Labels
bug fixed Fix committed to GitHub and will be available in next release
Milestone

Comments

@eudoxos
Copy link

eudoxos commented Jun 25, 2024

I am using the command-line interface to automate export of mindmaps via com.github.phase1geo.minder map.minder --export=markdown map.md. This only works when an instance of Minder (=GUI) is not running. Otherwise it re-uses the running window, only opens the map (or focuses it if already opened), and ignores the --export=markdown map.md bit.

On a similar note, if no instance is running, the export briefly opens the GUI (thus cannot be run headless).

I much appreciate Minder, and I know development of anything is hard. So please take this just as a modest suggestion which would make my life easier.

@phase1geo phase1geo self-assigned this Jun 25, 2024
@phase1geo phase1geo added the bug label Jun 25, 2024
@phase1geo
Copy link
Owner

I think I can make things better when running the command-line while the window is displayed. I'm not sure what I can do about the headless bit, but I'll look into it. This might not be a lot of effort to get this working as you need it to.

@phase1geo phase1geo added this to the 1.16.5 milestone Jun 25, 2024
@phase1geo phase1geo added the fixed Fix committed to GitHub and will be available in next release label Sep 17, 2024
@phase1geo
Copy link
Owner

I have committed a change to the master branch which provides support for invoking Minder commands while the application is currently running. This fix will also fix issues where a Minder process can be left running when the application is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixed Fix committed to GitHub and will be available in next release
Projects
None yet
Development

No branches or pull requests

2 participants