-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Focus on running instance #13129
Copy link
Copy link
Labels
good first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Metadata
Metadata
Assignees
Labels
good first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Type
Fields
Give feedbackNo fields configured for task.
Projects
StatusShow more project fields
Done
If a user starts JabRef the second time and does not pass any commands, the existing JabRef instance should be focused.
Implement a new
org.jabref.logic.UiCommandto handle the focus. Create and write it correctly.Hints
org.jabref.Launcher#handleMultipleAppInstances, where the stringThis JabRef instance is already running. Please switch to that instance.is logged. --> Modify ´org.jabref.Launcher#handleMultipleAppInstancesto return anenumwhat to doCONTINUE, SHUTDOWN, FOCUS`.Internal link: #11783