cefsharp/CefSharp

Two of my independent applications are now experiencing Task bar Pinning issues through their use of CefSharp

Closed this issue · 0 comments

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

127.3.50

Operating System

Windows 10

Architecture

x86

.Net Version

.Net 4.8

Implementation

WinForms

Reproduction Steps

Upgrading from v125.0.210 to v127.3.50 caused many of our users to start reporting issues. We have an outlook addin running cefsharp and a winforms application running cefsharp too, and suddenly these two pinned taskbar applications are combining into one and people can't find Microsoft Outlook because it's hidden under our other applications icon. It's not even supposed to be possible to change an outlook icon from a plugin, but clearly CefSharp is managing it.

I even tried putting in settings.CefCommandLineArgs.Add("app-user-model-id", "Microsoft.Office.OUTLOOK.EXE"); before intialising the browser for the outlook app only but it made no difference. I tried calling shell32 SetCurrentProcessExplicitAppUserModelID from both outlook and my other app, nothing I try works around the issue. Somehow something in chromium or cefsharp has triggered this between these versions, and I'm not sure what else I can do

Expected behavior

Cefsharp is not supposed to change an applications icon or its pin

Actual behavior

Outlook is being unpinned and shown under a completely different application simply because an outlook COM addin I develop runs cefsharp and my application does too.

Regression?

Worked fine in v125.0.210 (and before), still broken in v129.0.11

Known Workarounds

Cannot figure out a workaround other than rolling back

Does this problem also occur in the CEF Sample Application

Not Tested

Other information

The log all works normally, there is no crash as such