Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing popup focus behavior and DPI transform bug. #337

Merged
merged 1 commit into from
Apr 29, 2014

Conversation

brock8503
Copy link
Contributor

Fixing the popup behavior and dpi bug

Popups did not behave the same as chrome popup because of how the mouse was captured. I needed to add custom events to mousein and mouseout on the popup to set focus and capture mouse on the popup hwnd instead of the parent.
#213 - Simply refactoring a little and adding the transform to the popup on creation fixed the scaling issues when the window DPI was changed.

(PS. separating pull request in #313)

@brock8503 brock8503 changed the title Fixing popup focus behavior and issue #213 Fixing popup focus behavior and DPI transform bug. Apr 21, 2014
@brock8503
Copy link
Contributor Author

@perlun Let me know how I can help move this along. This is actually a blocker for me and my team.

@perlun
Copy link
Member

perlun commented Apr 25, 2014

Sorry, haven't had time to look at it yet.

@perlun
Copy link
Member

perlun commented Apr 29, 2014

@jornh, could you do me a favor and check if this works correctly for you (given my current lack of time etc)? You can then merge at will. TIA.

@jornh jornh added this to the 31.0.0 milestone Apr 29, 2014
jornh added a commit that referenced this pull request Apr 29, 2014
Fixing #213 popup focus behavior and DPI transform bug.
@jornh jornh merged commit 8317ff3 into cefsharp:master Apr 29, 2014
@jornh
Copy link
Contributor

jornh commented Apr 29, 2014

Tested on http://www.tutorialspoint.com/html/html_select_tag.htm at 125% DPI setting. Works as intended. Merging now, thanks @brock8503!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants