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

Opening notifications settings during process breaks process view #199

Open
2 tasks done
RWCoding58 opened this issue Oct 9, 2023 · 2 comments
Open
2 tasks done
Labels
Bug Something isn't working

Comments

@RWCoding58
Copy link

RWCoding58 commented Oct 9, 2023

Bug Report

Mandatory Information

When opening settings and going to the Notifications tab while a process is running (I tried installing a formula, but it might apply to other stuff like updating), the process view blanks out and is stuck permanently to Cork, requiring a force quit to use Cork again.

To Reproduce

  1. Run a process.
  2. Open Settings while the process is running.
  3. Go to the Notifications tab.

Expected Behavior
Not for this to happen

Screenshots

Untitled.mp4

System and Cork Information:

  • macOS version: 14.1 Beta (23B5056e)
  • Cork Version: 1.21 (44) (basically with all the current commits)
  • Did you compile Cork yourself?: Yes

Optional Information

Additional context
The only other thing I know is that the package I tried installing didn't install (it didn't appear in my formulae)

Checklist

  • I filled everything out under Mandatory Information yes
  • This bug affects the UI, and I have included a screenshot yes idk how to check this
@RWCoding58 RWCoding58 added the Bug Something isn't working label Oct 9, 2023
@RWCoding58
Copy link
Author

oh you're supposed to check it after you make the post my bad

@buresdv
Copy link
Owner

buresdv commented Oct 10, 2023

oh you're supposed to check it after you make the post my bad

No worries at all

Anyway, I can reproduce it. This is definitely the same bug as #190 and the old #80. This seems to be a SwiftUI bug, which I have already reported to Apple multiple times even back in Ventura. They fixed a portion of it (the contents disappearing when you switched windows, as in #80), but it still bugs out when another asynchronous process sends something to the main actor.

The last report of this bug is FB13241846. I don't think this is the fault of Cork, since the install logic keeps going even when the contents disappear, and the contents are bound by an enum with a fixed set of possible "screens". In the console, Cork correctly identifies the proper installation step and still acts as if the contents were visible, but they just aren't.

Since this is a pretty serious problem that happens often, I will use one of my TSI tickets to get in touch with Apple directly and see what we can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants