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.

Make transparent window configurable

See original GitHub issue

Electron and frame less/transparent windows seems the have several issues on Windows and Linux. Some issues that are currently related to this:

  • Windows Snap not working #1128
  • Hyper shows blank screen on Windows (7) when Aero is disabled #1223
  • Background turns transparent on Windows on full reload #1026 (Seems to be an Electron issue)
  • Several limitations as documented by Electron
  • @paulcbetts (Electron Master) has transparency explicitly disabled for Windows and Linux in this PR #1307

Since Hyper turns transparency always on regardless of the platform. I agree with Paul that transparency should be disabled for platforms where it causes issues like mentioned here above. However as an advanced user I would like to have control over this, as I like to have a transparent terminal and can live with the sacrifices (Windows Snap) that I have to make on Windows 10.

When enabling transparency is a configurable option in hyper.js, there should be a description with the trade offs that users have to make. Many users (including myself) have a habit of forgetting about trade offs like these and what causes the issues they experience, for example Windows Snap that isn’t working. The instant reaction of most users is to log an issue on the project, which leads to unnecessary work for the maintainers. I would propose that transparency is an option that could be enabled via a (core) plugin. This raises the bar for users, but this is reasonable regarding the trade offs that they have to face. The readme of the plugin can provide users with the necessary info.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:4
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
GerjanOnlinecommented, Jan 6, 2017

My 2 cents: just make it a core setting enableWindowTransparancy defaulted to false (in hyper.js) with a good comment above it (warning etc)

Personally, I would regret that I will loose the nice transparent effect of Hyper. It just works on my Windows machine ™ (Although with some issues, but those are fixable bugs imo. Not talking about the limitations, I can live with that)

0reactions
StrictlySkylercommented, Jan 13, 2017

AFAIK this will need to change in Electron in order to truly enable transparency on platforms not supporting it currently.

Is there any discussion about getting such a change landed in Electron upstream?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Create Translucent and Shaped Windows - Oracle
First, we will give an overview of the simple translucency effect. The simple translucency effect is used to make a window evenly translucent....
Read more >
Actual Transparent Window: Smart Tool, which Allows Setting ...
Actual Transparent Window lets you set individual transparency rate for each window. You can change transparency from 0% (solid) to 100% (fully transparent)...
Read more >
WindowTop | Always-on-Top, Picture-in-Picture, Opacity ...
Smart transparency mode enables you to take opacity to the next level! Unlike regular transparency, you can set different opacity levels for the...
Read more >
Creating a transparent window in C++ Win32 - Stack Overflow
For instance, I've tried setting the background to (HBRUSH) NULL_BRUSH and I've tried handling WM_ERASEBKGND. What can be done to get the window...
Read more >
How to Use and Configure Picom (Transparent Windows ...
Have you ever wanted to have transparent windows in your window manager? Finished installing Arch Linux but want to have blurred backgrounds ...
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