Button outline always appears after click

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Button outline always appears after click

Postby Devyre » Thu Jun 01, 2023 1:28 am

Hi,

I'm on an older branch (4183) with OSR shared texture support.
After clicking on a button (or other controls), the button is activated and stays that way, with an outline.
In the most recent cefclient this isn't the case. If I call "SendFocusEvent(false)", there is no focus and therefore no outline, though this is not the right approach since I'd want focus for text inputs and similar stuff.

I've seen that there is usage of CefFocusHandler in the cefclient sample, though not much that makes any sense to me with this context.
Expected behavior would be that clicking on controls with the mouse does not show an outline, yet focus should exist for things like text inputs.

Is there maybe a command line switch I need to enable/disable?
Devyre
Techie
 
Posts: 27
Joined: Fri Nov 20, 2020 8:31 pm

Re: Button outline always appears after click

Postby Devyre » Fri Jun 02, 2023 2:48 pm

Seems to be an issue specifically with branches 4183 and below. Updated things to 5060 now.
Devyre
Techie
 
Posts: 27
Joined: Fri Nov 20, 2020 8:31 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 29 guests