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

Fullscreen App on Mac not fullscreen #242

Open
peardox opened this issue Jan 12, 2021 · 2 comments
Open

Fullscreen App on Mac not fullscreen #242

peardox opened this issue Jan 12, 2021 · 2 comments

Comments

@peardox
Copy link
Collaborator

peardox commented Jan 12, 2021

I've got Window.Fullscreen := True immediately following my Window := TCastleWindowBase.Create(Application) but I get this (note the border)

Screenshot 2021-01-12 at 19 35 04

A few days ago I ran up a Mac version of view3dscene which is even odder...

Screenshot 2021-01-10 at 07 22 59

@michaliskambi
Copy link
Member

Hm, black borders suggest we didn't update OpenGL context size properly after window size change.

This (you app) is TCastleWindowBase with LCL backend, right?

Did you test view3dscene build from https://castle-engine.io/view3dscene.php , or some other version?

@peardox
Copy link
Collaborator Author

peardox commented Jan 13, 2021

Yep, both apps are LCL backend-based

In the case of view3dscene I used the repo version then compiled with Lazarus (the mac build script didn't work) after changing the castle_window requirement to LCL version. The grab is after selecting Fullscreen from the menu - view3dscene works properly with latest CGE pull this way (apart from full screen).

It's worth noting that I purchased SwitchResX from https://www.madrau.com/ which allows full use of display but in the case of the grabs it's switched off - hmm wonder if I can talk this guy into doing Vulkan support...

Ooh - I just ran view3dscene Mac (latest everything) and switched to full screen using the Mac System Menu rather than F11 (i.e. I used the green blob top right in Mac menu in above image). That one went fullscreen correctly (no menu unless you mouse to top of screen to make it pop-up)

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