question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fullscreen not working on macOS or Linux

See original GitHub issue

I have a very simple app that I want to run full screen. I can’t seem to get it to work on either my mac dev machine or the linux (raspberry pi) machine that I am running it on.

WindowState="Maximized"

and setting

this.HasSystemDecorations = false;
this.WindowState = WindowState.Maximized;
this.Topmost = true;
this.WindowStartupLocation = WindowStartupLocation.CenterScreen;

On the MainWindow.xaml(.cs) doesn’t seem to work at all. It does hide system decorations and jump to the screen, but it’s not fullscreen.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dougmillcommented, Oct 12, 2020

The Fullscreen option doesn’t show up in the possible choices for me and even if I set it, it doesn’t compile.

It’s only in pre-release at this point.

1reaction
kekekekscommented, Jul 21, 2019

For now you can copy-paste SendNetWMMessage and required classes and use it like this. XID is available via this.PlatformImpl.Handle.Handle.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Full screen mode not working correctly on Linux Mint
Full screen mode not working correctly on Linux Mint · 1] Open new Writer document. · 2] Ctrl+Shift+J to enter "Full Screen" mode....
Read more >
Ubuntu 20.04 won't go full screen on Virtualbox with ...
I was able to resolve this issue inside the Ubuntu VM itself by changing the display resolution setting to 2560x1600 and scaling up...
Read more >
Full screen in virtualbox - macbook pro
I have a Macbok Pro 13" and I'm using virtualbox to run ubuntu 12.04. My problem is I can't resize ubuntu for occupy...
Read more >
Make VirtualBox Full Screen for Windows, macOS, Linux
Working in a guest OS using low resolution is not comfortable. Read this blog post to learn how to make VirtualBox full screen...
Read more >
Pop!_OS make windows fullscreen (not F11)
Open Settings; Click "Keyboard" on the left sidebar; Under Keyboard Shortcuts, click "Customize Shortcuts"; Search for "Toggle fullscreen mode"; ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found