Skip to content

Fix: Implement icon file path resolution and validation#165

Merged
AnnaSasDev merged 4 commits intocorefrom
SetIconFile-segfaults-on-Linux-on-relative-paths
Apr 6, 2026
Merged

Fix: Implement icon file path resolution and validation#165
AnnaSasDev merged 4 commits intocorefrom
SetIconFile-segfaults-on-Linux-on-relative-paths

Conversation

@AnnaSasDev
Copy link
Copy Markdown
Member

No description provided.

- Introduced `ResolveIconFilePath` utility to handle relative and absolute icon file paths.
- Added tests for `IconFileUtilities` and `InfiniFrameNativeParametersValidator` to ensure correct resolution and validation behaviors.
- Updated `InfiniWindowBuilderExtensions` and `InfiniWindowExtensions` to resolve and validate icon file paths during configuration.
- Refactored `InfiniFrameWindowConfiguration` and startup logic to use resolved icon file paths.
- Adjusted existing tests to reflect new path resolution logic.
… for improved null safety and clarity

- Updated icon file resolution logic across the codebase to use `TryResolveIconFilePath` for clearer error handling.
- Adjusted method signatures and modified conditional logic in `InfiniWindowBuilderExtensions`, `InfiniWindowExtensions`, and `InfiniFrameWindow` to support the new utility.
- Enhanced `IconFileUtilities` with improved path resolution logic and out parameter usage.
- Refactored tests to reflect changes, ensuring accurate validations for both found and missing paths.
Comment thread tests/InfiniFrameTests/Utilities/IconFileUtilitiesTests.cs Fixed
Comment thread tests/InfiniFrameTests/Utilities/IconFileUtilitiesTests.cs Fixed
Comment thread tests/InfiniFrameTests/Utilities/IconFileUtilitiesTests.cs Fixed
…solveIconFilePath` test for simplification and clarity.
@AnnaSasDev AnnaSasDev merged commit c999399 into core Apr 6, 2026
33 checks passed
@AnnaSasDev AnnaSasDev deleted the SetIconFile-segfaults-on-Linux-on-relative-paths branch April 6, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant