Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1190
ThemeManager crash with multiple UI threads
posted

I have an application where I create multiple UI threads for performance reasons.  If I use the ThemeManager in this application it will crash when I load a window on any thread other than the main thread of the application.  This seems to be because the ThemeManager is a singleton and is bound to the main UI thread.

  • 34830
    Suggested Answer
    Offline posted

    Hello John,

    Thank you for your post.

    I believe that this issue you are seeing is very likely being caused because the ThemeManager is not a thread-safe element. Currently the ThemeManager class is a singleton, and is bound to the main UI thread. If you would like to be able to use this ThemeManager in cross-threading situations, I would recommend suggesting a new product idea for it at http://ideas.infragistics.com as this would require a large re-working of the ThemeManager's architecture.

    Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.

    Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it.  You can also link back to this thread for additional details.

    Please let me know if oyu have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer
    Infragistics Inc.
    www.infragistics.com/support