You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When visiting some sites, An application built with CefSharp WPF does not visually indicate that a text input is focused (no text caret, no focused input border).-
This can be reproduced in the latest "CefSharp MinimalExample WPF", v102 and earlier versions such as v97.-
With "CefSharp MinimalExample WinForms" visual indicators are provided correctly, so this problem seems to exist only for the WPF version.
To Reproduce Please note that switching to another Windows application will prevent the bug from happening, see workaround.
[from amaitland in referenced issue]
Run cefclient.exe --multi-threaded-message-loop --no-sandbox --off-screen-rendering-enabled --enable-gpu
Click I'm Feeling Luck
Click in the Search Doodles input field top right
Should expand and show caret
Can still type as expected
Interesting it does if you navigate directly to https://www.google.com/doodles or if you hide then show the window.
Looks like the browser doesn't correctly think it's got focus when clicking via the mouse.
Works via tabbing around, so keyboard focus appears to behave differently
Result: the code text input does not show visual focus indication such as caret and text input border, however it is possible to write into the text box.
Expected result: the text input should show a text caret and a highlight border, like it does in regular Chrome and also in "CefSharp MinimalExample WinForms"
This also occurs on other non public sites.
It appears that workarounds is available:
Switch focus to another app and back again to make it work, or focus the address bar in CefSharp.MinimalExample and back again to make the focus indicating work again
Environment:
OS: Windows 10 x64
CefSharp version 102
.NET 4 and core
It occurs on prior version but is reproducible with CefSharp.MinimalExample v102 from github.
Information from debug log:
No relevant information found in debug log
Reproducible in CEF Sample Application:
No, only for CefSharp WPF
The text was updated successfully, but these errors were encountered:
magreenblatt
changed the title
WPF - fails to provide visual focus indicators (text caret, text input border) at some sites
windows: Focus indicators missing with multi-threaded-message-loop
May 23, 2023
[copied content from https://github.com/cefsharp/CefSharp/issues/4146]
Problem description:
When visiting some sites, An application built with CefSharp WPF does not visually indicate that a text input is focused (no text caret, no focused input border).-
This can be reproduced in the latest "CefSharp MinimalExample WPF", v102 and earlier versions such as v97.-
With "CefSharp MinimalExample WinForms" visual indicators are provided correctly, so this problem seems to exist only for the WPF version.
To Reproduce
Please note that switching to another Windows application will prevent the bug from happening, see workaround.
[from amaitland in referenced issue]
I'm Feeling Luck
Search Doodles
input field top rightInteresting it does if you navigate directly to https://www.google.com/doodles or if you hide then show the window.
Looks like the browser doesn't correctly think it's got focus when clicking via the mouse.
Works via tabbing around, so keyboard focus appears to behave differently
Result: the code text input does not show visual focus indication such as caret and text input border, however it is possible to write into the text box.
Expected result: the text input should show a text caret and a highlight border, like it does in regular Chrome and also in "CefSharp MinimalExample WinForms"
This also occurs on other non public sites.
It appears that workarounds is available:
Switch focus to another app and back again to make it work, or focus the address bar in CefSharp.MinimalExample and back again to make the focus indicating work again
Environment:
OS: Windows 10 x64
CefSharp version 102
.NET 4 and core
It occurs on prior version but is reproducible with CefSharp.MinimalExample v102 from github.
Information from debug log:
No relevant information found in debug log
Reproducible in CEF Sample Application:
No, only for CefSharp WPF
The text was updated successfully, but these errors were encountered: