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

Bugfix: Allow support for screen types with extremely long full type names #235

Closed

Conversation

eric-winkler
Copy link
Contributor

Because the screen identifier is later used to build a filename, extremely long type names (such as those from generic types) end up exceeding the 260 char limit on windows and tend to crash a test when disposing a ScreenRepository.

The test is a little ugly (relies on knowledge of the WindowItemsMap internals) as in the current implementation, it's essentially an integration issue between the ID generated by the ScreenRepository and the filename generated in WindowItemsMap.

A couple of approaches that could allow for this issue to be managed at a unit test level;

  • Changing the Identifier type on InitializeOption from string to Guid
  • Changing the Identifier type on InitializeOption from string to Type

@eric-winkler
Copy link
Contributor Author

I'm having difficulty reproducing these failures on my dev box, will try and re-trigger the test run.

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