-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
The Config Keeps Freezing #1343
Comments
* Fixes App Freeze on Program Configuration view by removing `.toolbar` method (side effect: Program icon removed from top bar). - modifying toolbar inside a NavigationStack somehow causes swiftUI into an infinite update loop. * Mitigated new SwiftLint rule #5263 (Prefer non-optional UTF8 String <-> Data conversion)
* Fixes App Freeze on Program Configuration view by removing `.toolbar` method (side effect: Program icon removed from top bar). - modifying toolbar inside a NavigationStack somehow causes swiftUI into an infinite update loop. * Mitigated new SwiftLint rule #5263 (Prefer non-optional UTF8 String <-> Data conversion) * Mitigated new SwiftLint rule #5845 (Optional Data -> String Conversion Violation: Prefer failable `String(bytes:encoding:)` initializer) )
* Fixes App Freeze on Program Configuration view by removing `.toolbar` method (side effect: Program icon removed from top bar). - modifying toolbar inside a NavigationStack somehow causes swiftUI into an infinite update loop. * Mitigated new SwiftLint rule #5263 (Prefer non-optional UTF8 String <-> Data conversion) * Mitigated new SwiftLint rule #5845 (Optional Data -> String Conversion Violation: Prefer failable `String(bytes:encoding:)` initializer) )
It seems that the an infinite loop will be triggered inside SwiftUI by the A way to constantly reproduce this bug is to populate the toolbar of the The PR will reimplement the toolbar modification as a quick mitigation to the freezing issue. |
* Fixes App Freeze on Program Configuration view by reimplementing program icon toolbar item. - `ToolbarItem` is uniquely identifiable and probably cached by SwiftUI internals, mutating its content / use a conflicting id will cause unexpected problems. - Now a new `ToolbarItem` will be created when its content updates. * Removed thread creation when fetching program icons - `.task` itself is async. * Mitigated new SwiftLint rules
As a workaround before the app is patched, you can change the config directly in plain text at |
|
Everytime I open whiskey and all that is fine until i try to open configs option and then it just freezes and sometimes crashes. Does anyone have a solution? Sometimes it doesn't even open the configs area (the ones with the arguments and stuff) and freezings resulting in a crash after.
Note: The app I was trying to config was Steam.
The text was updated successfully, but these errors were encountered: