Skip to content

Different transparent window behaviour with hardware acceleration enabled or disabled. #10994

Closed

Description

@redhotbeani

Electron version 1.7.9
Windows 7 & Windows 10

Actual behavior

We’re developing an Electron app with a partly transparent window. By default we had hardware acceleration enabled and couldn’t click through the transparent parts. But when we added app.disableHardwareAcceleration() we discovered you can interact with elements behind transparent Electron parts.

How to reproduce

I’ve made this demo application to demonstrate the behaviour:

https://github.com/gynzy/electron-transparent-demo/

$ git clone [email protected]:gynzy/electron-transparent-demo.git
$ yarn install
$ yarn start

Also see this screen recording for a demonstration:


Expected behavior

What is expected behavior?
We prefer to interact with applications behind a transparent Electron window. We want to utilise this click through behaviour in an application, but only if this is expected Electron behaviour.

I already tried Electron beta versions 1.8.1 & 1.8.2, but window transparency isn’t working in these beta versions (as reported in #10678).

Activity

  1. sofianguy commented on Jan 8, 2019

    @sofianguy
    Contributor

    Thank you for taking the time to report this issue and helping to make Electron better.

    The version of Electron you reported this on has been superseded by newer releases.

    If you're still experiencing this issue in Electron v2.0.x or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know.

    I'm setting the blocked/need-info label for the above reasons.

    Thanks in advance! Your help is appreciated.

  2. added
    blocked/need-info ❌
    on Jan 8, 2019
  3. sofianguy commented on Jan 15, 2019

    @sofianguy
    Contributor

    Thank you for your issue!

    We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked/need-info ❌bug 🪲platform/windowsversion/1.7.x

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions