This is a migrated thread and some comments may be shown as answers.

ChromiumWebBrowser of CEFSharp in radwindow is blurry

3 Answers 483 Views
Window
This is a migrated thread and some comments may be shown as answers.
echo
Top achievements
Rank 1
echo asked on 01 Feb 2021, 08:14 AM

The browser render effect is blurry. As the attach image. The top is simple demo with wpf window and below is demo with radwindow.

The burrry effect is very obvious. I has tried with CEF FAQ, but not work.

https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions#15-wpf-blurry-rendering

 

Thanks.

3 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 04 Feb 2021, 07:48 AM

Hi Echo,

Thank you for the provided image.

At first sight, I wasn't able to reproduce it. To avoid any misunderstanding, can you provide a sample project reproducing this. This way, I can have a better look at your set-up and debug it on my side.

I am looking forward to your reply so that I can assist you further.

Regards,
Dinko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products, quickly just got a fresh new look + new and improved content, including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
echo
Top achievements
Rank 1
answered on 07 Feb 2021, 04:36 AM

Hi Dinko

I had planned to make a demo to reproduce the problem. I found the reason.

With Fluent theme (Telerik.Windows.Controls.Navigation.xaml), The font is clear and the Crystal theme blurry. 

<telerik:RadWindow.Resources>
      <ResourceDictionary>
          <ResourceDictionary.MergedDictionaries>
              <!--<ResourceDictionary Source="/Telerik.Windows.Themes.Crystal;component/Themes/System.Windows.xaml" />
 
              <ResourceDictionary
                  Source="/Telerik.Windows.Themes.Crystal;component/Themes/Telerik.Windows.Controls.Navigation.xaml" />-->
              <ResourceDictionary Source="/Telerik.Windows.Themes.Fluent;component/Themes/System.Windows.xaml" />
              <ResourceDictionary
                  Source="/Telerik.Windows.Themes.Fluent;component/Themes/Telerik.Windows.Controls.Navigation.xaml" />
          </ResourceDictionary.MergedDictionaries>
      </ResourceDictionary>
  </telerik:RadWindow.Resources>

 

0
Dinko | Tech Support Engineer
Telerik team
answered on 09 Feb 2021, 12:35 PM

Hello echo,

Thank you for the provided details.

Upon checking the code snippet, I can see that only the Navigation XAML file is merged in the ResourceDictionary. RadWindow control requires the following DLLs.

  • Telerik.Windows.Controls
  • Telerik.Windows.Controls.Navigation
  • Telerik.Windows.Data ( Does not contain XAML, and it does not require to be merged in the resource dictionary)

Can you also merge the Telerik.Windows.Controls XAML file?

<telerik:RadWindow.Resources>
      <ResourceDictionary>
          <ResourceDictionary.MergedDictionaries>
              <ResourceDictionary Source="/Telerik.Windows.Themes.Crystal;component/Themes/System.Windows.xaml" />
              <ResourceDictionary Source="/Telerik.Windows.Themes.Crystal;component/Themes/Telerik.Windows.Controls.Navigation.xaml" />
              <ResourceDictionary Source="/Telerik.Windows.Themes.Crystal;component/Themes/Telerik.Windows.Controls.xaml" />
          </ResourceDictionary.MergedDictionaries>
      </ResourceDictionary>
  </telerik:RadWindow.Resources>

May I ask you to isolate this behavior in a standalone project. I understand that this could take some time, but as I am not aware of your set-up, I can only guess what setting in the Crystal theme will lead to this.

Regards,
Dinko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products, quickly just got a fresh new look + new and improved content, including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Window
Asked by
echo
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
echo
Top achievements
Rank 1
Share this question
or