Giter Site home page Giter Site logo

Comments (5)

electron-issue-triage avatar electron-issue-triage commented on May 18, 2024

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 Needs a test case to reproduce the bug label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

from electron.

ayushete02 avatar ayushete02 commented on May 18, 2024
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.

ayushete02 avatar ayushete02 commented on May 18, 2024

https://gist.github.com/ayushete02/71e52e07c6090d6c7ddfb4e2ab237c49

from electron.

codebytere avatar codebytere commented on May 18, 2024

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.

ayushete02 avatar ayushete02 commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.