Comments (5)
Hello @ayushete02. Thanks for reporting this and helping to make Electron better!
Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.
Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
Now adding the
blocked/need-repro
from electron.
Screen.Recording.2024-04-16.at.8.52.29.PM.mov
Hello, Thank you for your guidance. I appreciate the suggestion to use Electron Fiddle for creating a minimal test case. Here is a more detailed context of the issue:
I am developing a video recorder application that includes a feature allowing users to select a specific region of the screen to record. While this feature functions correctly on Windows, I am facing a challenge on macOS. Despite setting the window to fullscreen mode, it does not overlay the dock and the top taskbar, which is crucial for the functionality of the region selection feature.
To provide a clearer picture i shared you a video, the application creates a fullscreen overlay on the desktop under which users can define the recording area. However, on macOS, the overlay window does not cover the entire screen, specifically leaving the dock and top taskbar areas exposed. This issue limits the selectable region and affects the user experience.
from electron.
https://gist.github.com/ayushete02/71e52e07c6090d6c7ddfb4e2ab237c49
from electron.
This is unfortunately the intended behavior for the BrowserWindow options you've chosen as well as the way macOS does within-desktop fullscreen. If you try to drag down the window of an existing native macOS system app (take Finder for example) you can't do that either.
from electron.
Hello,
Thank you for your insights @codebytere on the macOS behavior with BrowserWindow. I understand that the observed behavior aligns with macOS's default handling of within-desktop fullscreen applications.
However, I have noticed that some Electron apps seem to achieve a truly immersive fullscreen experience that covers the dock and top taskbar. Could you possibly provide any insights or documentation on how these applications might be circumventing the default macOS limitations?
Additionally, I am considering a potential solution where I could programmatically hide the dock to allow the fullscreen window to cover the entire screen. Is there a recommended approach within Electron to achieve this? Any guidance or references to similar implementations would be extremely helpful as I navigate this part of the project.
Thank you for your continued support and looking forward to your advice.
from electron.
Related Issues (20)
- 打包后的安装包在安装时会卡死 HOT 1
- [Bug]: electron应用在linux端刚启动的时候出现白屏问题 HOT 1
- [Bug]: File picker not always on top
- [Bug]: What do I need to do to package an application with a Chinese name? HOT 3
- [Bug]: openvino-node doesn't work...
- [Bug]: showSaveDialog returns an empty string instead of undefined when the dialog is canceled
- [Bug]: Electron cannot run inside a docker container HOT 1
- [Bug]: getCurrentWindow().close() causing an error HOT 3
- [Bug]: MAS build crashes right before mainWindow gets visible: GPU not usable HOT 3
- [Bug]: SIlent print resulting incorrect layout on Windows HOT 2
- [Bug]: addChildView会崩溃 HOT 4
- [Bug]: TypeError: win.setTitleBarOverlay is not a function HOT 1
- [Bug]: Inconclusive Parsing of Content-Disposition Header HOT 3
- [Bug]: Middle-mouse scroll (auto-scroll) boxes are of wrong size on non-1 zoom levels HOT 1
- [Bug]: Fullscreen permission handling doesn't work for WebContentsView
- [Bug]: Dump files cannot be generated on mac HOT 4
- [Feature Request]: Event: 'did-change-theme-color'支持全量的css color (主要支持透明度),不解析也行,直接callback meta content
- [Bug]: clipboard.read cannot get anything. HOT 1
- [Bug]: Calling .center() on BrowserWindow with parent now centers relative to parent instead of screen HOT 5
- [Bug]: Missing support for Persistent Permissions with the File System Access API as of Chrome 122
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron.