Skip to content

fix(developer): prevent opening .kpj in multiple processes 🦕#10137

Merged
mcdurdin merged 1 commit intomasterfrom
fix/developer/10003-opening-multiple-kpj
Dec 6, 2023
Merged

fix(developer): prevent opening .kpj in multiple processes 🦕#10137
mcdurdin merged 1 commit intomasterfrom
fix/developer/10003-opening-multiple-kpj

Conversation

@mcdurdin
Copy link
Copy Markdown
Member

@mcdurdin mcdurdin commented Dec 5, 2023

Fixes #10003.

Multiple small fixes required here:

  • Add .kpj as an editable file type
  • Ensure that when OpenFile returns nil (which it always will for a .kpj), that we don't crash
  • Ensure that projects open in a new process rather than replacing the current project session

Adds a TODO for New Project -- this should be opened in a new process if we already have a project open in the current process. Will push this into a separate PR (see #10138).

@keymanapp-test-bot skip

Fixes #10003.

Multiple small fixes required here:
* Add .kpj as an editable file type
* Ensure that when OpenFile returns nil (which it always will for a
  .kpj), that we don't crash
* Ensure that projects open in a new process rather than replacing the
  current project session

Adds a TODO for New Project -- this should be opened in a new process if
we already have a project open in the current process. Will push this
into a separate PR.
@mcdurdin mcdurdin requested a review from darcywong00 as a code owner December 5, 2023 08:10
@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Dec 5, 2023

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

Copy link
Copy Markdown
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcdurdin mcdurdin merged commit 4c7b799 into master Dec 6, 2023
@mcdurdin mcdurdin deleted the fix/developer/10003-opening-multiple-kpj branch December 6, 2023 01:00
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.225-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(developer): opening same project in two TIKE windows should not be possible

3 participants