When i use chromelesswindow for mulitiple UI thread,it will cause some error

When i use chromelesswindow for mulitiple UI thread, it will cause some error. The exception is 'The calling thread cannot access this object because another thread owns it'. The mainwindow extands chromelesswinodw, the other windows dont extand chromelesswindow , will not cause error, but if all extand chromelesswindow,it will cause this issue.


40 Replies

TB Thirupathi Bala Krishnan Syncfusion Team September 9, 2021 06:17 PM UTC

Hi,

Thanks for contacting Syncfusion support. 

We have analyzed your reported query “When i use chromelesswindow for mulitiple UI thread,it will cause some error”. Based on our analysis, whenever you update your UI elements from a thread other than the main thread, you need to use Dispatcher.Invoke. Please check the below link for more details.   

Still if you are  facing the issue, could you please share your working sample so that it could be helpful to provide the solution at the earliest. 

Regards,
Thirupathi B. 



YX YXJ replied to Thirupathi Bala Krishnan September 13, 2021 07:54 AM UTC

i still face this issue,this is my demo code



Attachment: SyncfusionTest_2d9c3d19.rar


EM Elakkiya Muthukumarasamy Syncfusion Team September 14, 2021 02:30 PM UTC

Hi  
 
We can reproduce the reported exception with your provided sample. We need some more time to resolve this exception and we will update the further details on 15th September 2021.We appreciate your patience until then. 
 
Regards, 
Elakkiya 



YX YXJ replied to Elakkiya Muthukumarasamy September 15, 2021 02:19 AM UTC

ok, thanks. 



EM Elakkiya Muthukumarasamy Syncfusion Team September 15, 2021 02:35 PM UTC

Hi, 
 
Thanks for your patience. 
 
Still we are working to find the root cause for the reported exception and we will update the further details on 17th September 2021.We appreciate your patience until then. 
 
Regards, 
Elakkiya. 



EM Elakkiya Muthukumarasamy Syncfusion Team September 17, 2021 02:52 PM UTC

Hi  
 
Thanks for your patience. 
 
We have confirmed the reported exception “Exception thrown while using ChromelessWindow in Multiple UI thread” is a defect and logged a report for this. We’ll provide the patch for the reported issue on October 8th , 2021.  We appreciate your patience until then. 
     
You can track the status of this defect using the following feedback link:       
 
Please let us know if you need any further assistance on this. 
     
Regards, 
Elakkiya 



YX YXJ replied to Elakkiya Muthukumarasamy September 22, 2021 08:10 AM UTC

Thanks for your help



YX YXJ replied to Elakkiya Muthukumarasamy September 22, 2021 08:15 AM UTC

Why  does this link prompt me 

Access Denied

This private feedback is not associated with your account.

If you believe that this error message is incorrect, please feel free to contact us




TB Thirupathi Bala Krishnan Syncfusion Team September 22, 2021 11:40 AM UTC

Hi, 

Thanks for the update. 

We analyzed your reported query “Unable to view the feedback link”. We have already mapped your email id([email protected]) in the provided feedback link. Could you please confirm the following information? 

  • Verify whether the provided email id is valid.
  • Please log out and login in the feedback portal.
  • Clear your browser's caches and try again.

Try the above suggestions and let me know the feedback link has been viewed or not. Based on your updates, we’ll proceed further. 

Regards,
Thirupathi B. 




YX YXJ replied to Thirupathi Bala Krishnan September 22, 2021 01:30 PM UTC

I try it again,but the message is still 'access denied'.



TB Thirupathi Bala Krishnan Syncfusion Team September 23, 2021 07:52 AM UTC

Hi, 

We've made the feedback link available to the public. Could you please check this right now and let me know if the feedback link is visible or not? As we promised earlier, we’ll provide the patch file for the reported issue on October 8, 2021. 


Please let us know if you need any further assistance. 

Regards,
Thirupathi B. 



YX YXJ replied to Thirupathi Bala Krishnan September 23, 2021 08:13 AM UTC

Thanks, now i can see it.



TB Thirupathi Bala Krishnan Syncfusion Team September 23, 2021 08:51 AM UTC

Hi, 

Thanks for the update. 

You can track the status of this defect using the feedback link. If you have any more specification replication procedure or a scenario to be tested you can add it as a comment in the portal. 

Regards,
Thirupathi B. 



TB Thirupathi Bala Krishnan Syncfusion Team October 8, 2021 04:40 PM UTC

Hi, 

Sorry for the inconvenience caused. 

We are having some difficulties resolving the reported issues. As a result, we will require more time to complete the stated issue in our end. So we’ll provide the patch details on October 13,2021. We appreciate your patience until then. 

Regards,
Thirupathi B. 



TB Thirupathi Bala Krishnan Syncfusion Team October 13, 2021 04:29 PM UTC

Hi,  

Sorry for the inconvenience caused.  

Still we are some difficulties while resolving the reported issue “Exception thrown while using ChromelessWindow in Multiple UI thread”. So, we will require more time to complete the reported issue in our end. So we’ll provide the patch details on October 15, 2021. We appreciate your patience until then.  

Regards, 
Thirupathi B. 



YX YXJ replied to Thirupathi Bala Krishnan October 15, 2021 09:56 AM UTC

OK, i hope you can solve it.



TB Thirupathi Bala Krishnan Syncfusion Team October 15, 2021 06:37 PM UTC

Hi,   

Sorry for the multiple delays from our end.   

We are still experiencing some difficulties in resolving the reported issue. So, we need some more time to complete the reported issue in our end. So we’ll provide the patch details on October 19, 2021. We appreciate your patience until then.   

Regards,  
Thirupathi B. 



EM Elakkiya Muthukumarasamy Syncfusion Team October 20, 2021 03:34 AM UTC

Hi, 
    
Thanks for your patience.                                        
   
The reported issue”Exception thrown while using ChromelessWindow in Multiple UI thread has been fixed.  
 
 
This patch which can be download from the below links.   
    
Recommended approach - exe will perform automatic configuration.    
    
Please find the patch setup from below location:    
 
 
Patch link :    
Please find the patch assemblies alone from below location:    
 
 Assemblies Link:    
    
Nuget link: 
   
    
Assembly Version: 19.2.0.55 
    
Installation Directions:    
This patch should replace the files "Syncfusion.Themes.WPF” and "Syncfusion.ThemeStudio.WPF”  and  "Syncfusion.Shared.WPF”  under the following folder.    
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]    
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\19.2.0.55\precompiledassemblies\19.2.0.55\4.6    
    
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location, or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.    
    
    
Disclaimer:    
Please note that we have created this patch for version 19.2.0.55 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.  Please let us know, if you are using any other Syncfusion version, we will provide patch in your version. 
    
Regards,    
Elakkiya 



YX YXJ replied to Elakkiya Muthukumarasamy October 21, 2021 09:25 AM UTC

Thank you!



EM Elakkiya Muthukumarasamy Syncfusion Team October 21, 2021 01:21 PM UTC

 
Hi, 
 
Thanks for confirming that the reported issue resolved at your end. Please let us know if you need any further assistance on this. As always, we are happy to assist you. 
 
Regards, 
Elakkiya 



YX YXJ replied to Elakkiya Muthukumarasamy October 25, 2021 03:26 AM UTC

Hi,base on it. If i change theme, the title bar of window can not be changed, only the content was replaced. Can you tell me how to solve it?



EM Elakkiya Muthukumarasamy Syncfusion Team October 26, 2021 12:26 PM UTC

Hi, 

Thanks for your update. 

We have checked your sample by applying the theme, but we could not reproduce your reported issue. So can you please update the below details to check and update the further solution on this. 

1.Which theme you are using in your project 
2.Confirm us you are applying the theme or switching one theme to another 
3.Confirm you are using theme for both windows or single window 
4.If possible, modify the sample as issue reproduceable 

Regards, 
Elakkiya 



YX YXJ replied to Elakkiya Muthukumarasamy October 27, 2021 03:43 AM UTC

ok,i have updated the code.


Attachment: SyncfusionTest_794cebe2.rar


EM Elakkiya Muthukumarasamy Syncfusion Team October 27, 2021 02:02 PM UTC

Hi , 
 
Thanks for your update. 
 
We are checking your query and we will update the further details on 29th October 2021.We appreciate your patience until then. 
 
Regards, 
Elakkiya 



EM Elakkiya Muthukumarasamy Syncfusion Team October 29, 2021 11:42 AM UTC

Hi, 
 
Thanks for your patience. 

We have confirmed the reported scenario “Theme not applied properly while using ChromelessWindow as custom window” is a defect and logged a report for this. We’ll provide the patch file for the reported issue on November 12th , 2021. We appreciate your patience until then. 
 
Please follow the below feedback link for further details 
Feedback link:  
 
Please let us know if you need any further assistance.    

Regards, 
Elakkiya 



EM Elakkiya Muthukumarasamy Syncfusion Team November 12, 2021 02:32 PM UTC

Hi, 
    
Thanks for your patience.                                        
   
The reported issue” Theme not applied properly while using ChromelessWindow as custom window has been fixed. We have also modified the WindowBase class to apply the theme for custom window. Please refer the code example and reference link below, 

Code example: 
 

 
 
This patch which can be download from the below links.   
    
Recommended approach - exe will perform automatic configuration.    
    
Please find the patch setup from below location:    
 
 
Patch link :    
Please find the patch assemblies alone from below location:    
    
Assemblies Link:    
  
   
    
Assembly Version: 19.2.0.55   
    
Installation Directions:    
This patch should replace the files "Syncfusion.SFSkinManager.WPF” under the following folder.    
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]    
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\19.2.0.55\precompiledassemblies\19.2.0.55\4.6    
    
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.    
    
    
Disclaimer:    
Please note that we have created this patch for version 19.2.0.55 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.  Please let us know, if you are using any other Syncfusion version, we will provide patch in your version. 
    
Regards,    
Elakkiya 



YX YXJ replied to Elakkiya Muthukumarasamy November 15, 2021 01:30 AM UTC

Thanks for your help.



EM Elakkiya Muthukumarasamy Syncfusion Team November 15, 2021 05:56 AM UTC

Hi  

Thanks for confirming that the reported issue resolved at your end. Please let us know if you need any further assistance on this. As always, we are happy to assist you. 

Regards, 
Elakkiya 



YX YXJ replied to Elakkiya Muthukumarasamy November 23, 2021 10:07 AM UTC

Hi, based on the above project, why the child window show behind the mainwindow. Another issue, when i use 'MaterialDark' theme, the font of button will be blurred. I hope you can help me.



YX YXJ November 24, 2021 02:00 AM UTC

the image:1637719057(1).jpg


Attachment: SyncfusionTest_23a2087a.rar


YX YXJ replied to Elakkiya Muthukumarasamy November 24, 2021 02:27 AM UTC

When i show child window, the other window may refresh the UI(re render).



YX YXJ replied to Elakkiya Muthukumarasamy November 24, 2021 07:35 AM UTC

Now, i find another issue for 'FluentDark theme'. This is my demo.


Attachment: SyncfusionTest_9ff543d.rar


EM Elakkiya Muthukumarasamy Syncfusion Team November 24, 2021 03:53 PM UTC

Hi , 

Thanks for your update. 

Query 1: why the child window show behind the mainwindow 

We have checked your query and we would like to let you know that while loading the windows (Parent and child) as asynchronous the child window shows behind the mainwindow in MS Window Also. ChromelessWindow working like same as MS Window. 

Query2: When i use 'MaterialDark' theme, the font of button will be blurred. I hope you can help me. 

We are checking the reported query and we will update the further details on 25th November 2021.We appreciate your patience until then. 

Query 3: When i show child window, the other window may refresh the UI(re render). 

We have checked the reported query and we could not reproduce this issue at our end.Please refer the video for the same. 


Please check the above video and confirm us our replication is same as yours. If not please update the issue reproduceable video or shared replication procedure. These details will helpful to provide the prompt solution on this. 

Query 4: i find another issue for 'FluentDark theme' 

We have checked the reported query with the provided sample and found that the provided sample throw exception while click theme button. So can you please share the replication procedure or replication video. These details will helpful to provide the prompt solution on this. 

Regards, 
Elakkiya 



YX YXJ replied to Elakkiya Muthukumarasamy November 25, 2021 01:24 AM UTC

Query 3: When i show child window, the other window may refresh the UI(re render). 

Sorry, this is caused by my wrong use.


Query 4: i find another issue for 'FluentDark theme' 

If use 'MaterialDark theme', it will not throw  exception, but when i use 'FluentDark theme', it will throw this exception. I just want to know how to solve this problem。



EM Elakkiya Muthukumarasamy Syncfusion Team November 25, 2021 03:08 PM UTC

Hi  
 
Query1: When i use 'MaterialDark' theme, the font of button will be blurred. 
 
On the further analysis, the reported issue occurred while loading the windows (Parent and child) as asynchronous state. So we need some more time to find the exact cause of this issue and  we will update the further details on 29th November 2021. 
We apricate your patience until then. 
 
Query 2: i find another issue for 'FluentDark theme' 
 
We have confirmed the reported scenario “Throws exception while loading ChromelessWindow in async mode” is a defect and logged a report for this. We’ll provide the patch file for the reported issue on December 16th , 2021. We appreciate your patience until then. 
 
Please follow the below feedback link for further details 
 
Please let us know if you need any further assistance.    
 
Regards, 
Elakkiya 



EM Elakkiya Muthukumarasamy Syncfusion Team November 30, 2021 03:04 PM UTC

Hi, 
 
Thanks for your patience. 
 
Query1: When i use 'MaterialDark' theme, the font of button will be blurred. 
 
On the further analysis for MS Button, we have not override text rendering at our end and we have tested this case in 100 DPI. We have used Segoe UI as FontFamily and Font size is 12 for MS Button. We suspect that this case may occurred in high DPIs, and we can resolve this query by adjusting/changing the font size based on the height. 
 
Query 2: i find another issue for 'FluentDark theme' 
 
As per our previous update we will update the patch for this issue on December 16th, 2021. 
 
Regards, 
Elakkiya 



EM Elakkiya Muthukumarasamy Syncfusion Team December 16, 2021 06:12 PM UTC

Hi, 

Due to complexities, still we are working this issue “Throws exception while loading ChromelessWindow in async mode” with high priority. So, we need some more time to fix this issue and we will update the fix without any further delay on or before 20th December 2021. 

Regards, 
Elakkiya 



EM Elakkiya Muthukumarasamy Syncfusion Team December 21, 2021 02:19 AM UTC

Hi, 
    
The reported issue” Throws exception while loading ChromelessWindow in async mode has been fixed.  
 
This patch which can be download from the below links.   
    
Recommended approach - exe will perform automatic configuration.    
    
Please find the patch setup from below location:    
 
 
Patch link :    
Please find the patch assemblies alone from below location:    
 
Assemblies Link:    
    
   
    
Assembly Version: 19.2.0.55 
    
Installation Directions:    
This patch should replace the files "Syncfusion.Themes.WPF and Syncfusion.ThemeStudio.WPF” under the following folder.    
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]    
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\19.2.0.55\precompiledassemblies\19.2.0.55\4.6    
    
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.    
    
    
Disclaimer:    
Please note that we have created this patch for version 19.2.0.55 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.  Please let us know, if you are using any other Syncfusion version, we will provide patch in your version. 
    
Regards,    
Elakkiya 



YX YXJ replied to Elakkiya Muthukumarasamy December 28, 2021 05:45 AM UTC

Thanks for your help.



TB Thirupathi Bala Krishnan Syncfusion Team December 28, 2021 11:44 AM UTC

Hi, 

We are glad to know that the provided patch resolved your reported issue at your end. Please let us know if you need any further assistance on this. As always, we are happy to assist you. 

Regards, 
Thirupathi B. 


Loader.
Up arrow icon