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

Menus have white corners when background is dark and scheme is gtk+ or plastic on macOS #435

Closed
ggarra13 opened this issue Apr 23, 2022 · 4 comments
Assignees

Comments

@ggarra13
Copy link
Contributor

ggarra13 commented Apr 23, 2022

The menus under macOS only show white corners even when the background color is dark under gtk+ or plastic schemes. Find attached a simple demo program to compile with fltk-config --compile.

white_corners.zip

@ggarra13
Copy link
Contributor Author

ggarra13 commented Apr 24, 2022

I am attaching a patch for gtk+ that fixes the problem on macOS (which has white backgrounds by default, while Linux and WIN32 have black backgrounds). I still have to see plastic and gleam.
gtk_white_corners.txt

@ggarra13
Copy link
Contributor Author

ggarra13 commented Apr 24, 2022

Here's the fix for plastic, too.
plastic_white_corners.txt

@ggarra13
Copy link
Contributor Author

And here's the fix for gleam (we fill a rectangle, instead of drawing lines).
gleam_white_corners.txt

@ManoloFLTK ManoloFLTK self-assigned this Sep 27, 2022
@ManoloFLTK
Copy link
Contributor

@ggarra13 : This should now be fixed using the code you proposed at PR #507 with commit 3ba0904. Please, close this issue if you confirm it's fixed. Thanks for your input.

N.B. A typo in the description of commit 3ba0904 makes it refer erroneously to an unrelated issue instead of this issue.

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

No branches or pull requests

2 participants