FlineDev / RemafoX

Report issues, request features or ask for help for the ReMafoX app here.
30 stars 1 forks source link

[Bug] Deadlock while translation API key setup #59

Closed NickAtGit closed 1 year ago

NickAtGit commented 1 year ago

Steps to Reproduce:

  1. Create a new project
  2. Go to machine translate in the setup wizard
  3. Click Setup API Keys -> Click one of the linkes -> Opens Safari -> Go back to app -> API Keys window is gone and wizard window below is not clickable anymore. Wizard window looks active and is not grayed out.

Expected Behavior:

API Key window does not disappear.

Current Behavior:

API Key window disappears and the app ends in a deadlock. CMD-Q doesn't work anymore. Only force quit works.

Environment

Jeehut commented 1 year ago

@NickAtGit Thank you for reporting this and providing reproduction steps.

I am aware of some issues related to window management and dialogs. The window management issues are hard to fix due to SwiftUI lacking programmatic controls here, I really hope Apple's gonna tackle that during WWDC 2023. As for the dialog issues, I will investigate them and try to find a solution soon. I think that should fix the issue here for the most part.

For the time being, (force-)quitting and restarting the app should always work to reset all window/dialog issues.

Jeehut commented 1 year ago

@NickAtGit I just fully reworked the window management & navigation of RemafoX (and will probably write about it on my blog) and can no longer reproduce this issue. The fix will ship with version 1.5.0 which will be released in a couple of days.

Thank you again for reporting this issue!