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
views: mac: Fix frameless window behavior #3189
Comments
|
1 similar comment
|
Related PR: https://bitbucket.org/chromiumembedded/cef/pull-requests/560 Includes screenshots of old/new behavior. |
views: mac: Fix frameless window behavior (fixes issue #3189) Frameless windows now display as expected. Default traffic light buttons can → <<cset 276423dcfb2d (bb)>> |
|
Remaining issues will be filed separately. |
views: mac: Show standard window buttons with frame by default (see issue #3189) This restores the previous default behavior for framed windows. → <<cset 06af9c85da21 (bb)>> |
views: mac: Show standard window buttons with frame by default (see issue #3189) This restores the previous default behavior for framed windows. → <<cset 798bc0e9cc02 (bb)>> |
views: mac: Fix frameless window behavior (fixes issue #3189) Frameless windows now display as expected. Default traffic light buttons can → <<cset f6de0344cb7f (bb)>> |
views: mac: Show standard window buttons with frame by default (see issue #3189) This restores the previous default behavior for framed windows. → <<cset 870da3087fcf (bb)>> |
This is intended for usage with frameless windows that show the standard window buttons, where resizing the title bar height changes the button offset. Returning a different value from CefWindowDelegate::GetTitlebarHeight and forcing a resize of the NSWindow's theme frame (see ViewsWindow::NudgeWindow) will update the title bar height. To test: 1. Run `cefclient --use-views --hide-frame --show-window-buttons --url=http://tests/window` 2. Enter a new value for title bar height and click the "Set Titlebar Height" button
This is intended for usage with frameless windows that show the standard window buttons, where resizing the title bar height changes the button offset. Returning a different value from CefWindowDelegate::GetTitlebarHeight and forcing a resize of the NSWindow's theme frame (see ViewsWindow::NudgeWindow) will update the title bar height. To test: 1. Run `cefclient --use-views --hide-frame --show-window-buttons --url=http://tests/window` 2. Enter a new value for title bar height and click the "Set Titlebar Height" button
This is intended for usage with frameless windows that show the standard window buttons, where resizing the title bar height changes the button offset. Returning a different value from CefWindowDelegate::GetTitlebarHeight and forcing a resize of the NSWindow's theme frame (see ViewsWindow::NudgeWindow) will update the title bar height. To test: 1. Run `cefclient --use-views --hide-frame --show-window-buttons --url=http://tests/window` 2. Enter a new value for title bar height and click the "Set Titlebar Height" button
…ed#3189) Frameless windows now display as expected. Default traffic light buttons can optionally be shown at configurable vertical position. Layout respects text direction.
…ssue chromiumembedded#3189) This restores the previous default behavior for framed windows.
…ed#3189) Frameless windows now display as expected. Default traffic light buttons can optionally be shown at configurable vertical position. Layout respects text direction.
…ssue chromiumembedded#3189) This restores the previous default behavior for framed windows.
…ssue chromiumembedded#3189) This restores the previous default behavior for framed windows.
Original report by me.
What steps will reproduce the problem?
Run
cefclient.app/Contents/MacOS/cefclient --use-views --hide-frame --hide-controls
What is the expected output? What do you see instead?
The menu button and window controls should work the same as on Win/Linux. Instead:
Not implemented reached in virtual void views::NativeWidgetMac::Maximize
, see issue views: mac: Add missing window functionality and fix tests #3188).What version of the product are you using? On what operating system?
Current CEF master (M95) on macOS Big Sur 11.3.1.
The text was updated successfully, but these errors were encountered: