Open
Description
Feature Description
See the various things I've tried below. To summarize a TLDR, I'd like to know if
- It's possible to create a maximized window that would also cover over the OS menubar without going into fullscreen mode.
- When in maximize true and no-frame -> I am not able to get the window size?
- setWindowPositon(0,0) and setWindowSize(windowLength, windowWidth) and no-frame(true) leaves a gap in the top where the titleBar of the window would normally be.
Product Impact
For context, I am using slint to try to build a screenshot application, so I need to create a transparent window over the entire screen of my computer. Here are some things I've tried.
- Use fully screen mode.
- this doesn't work for macOS as on fullscreen mode it creates a new desktop. So I can't see the things I actually want to screenshot over.
- Use
maximize(true)
andno-frame(true)
-
This gets me 95% of the way there. However, one bug I run into is that the menu bar of the operating system (macOS) is not part of it. So when I use other programs to try to do a screen capture, I need to do some math to determine how much of the title bar I need to exclude as the window isn't rendered on top.
-
[Bug] The problem here is that when maximized, I don't have the actual size of the window. When I get the window size, it returns (0,0).
- Use setWindowPositon(0,0) and setWindowSize(windowLength, windowWidth) and no-frame(true)
- Doesn't work. For some reason even with no-frame(true), the there's a gap at the top for where the title bar would normally be.