Hyper: Support Windows Semi-Maximized States

Created on 12 Dec 2016  路  11Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 8.1
  • Hyper.app version: 1.0
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Neither dragging the application to the "hot edges" nor the Windows Key Arrow Shortcuts (Win+Right Arrow, Win+Left Arrow) will move the application window into Windows' useful "semi-maximized" states. (Half-screen layouts in Windows < 10, also quadrants in Windows 10)

help wanted Enhancement Windows

Most helpful comment

Could this have anything to do with redirecting the resize events to the pty? Electron has native support for these events, so I can't help but think Hyper's resize logic might be interfering somehow

All 11 comments

Similarly, Win+Up Arrow should maximize the window, but currently has no effect. Finally, Win+Down Arrow when in fullscreen should resize the window to its last non-fullscreen size, but completely minize the application instead.

Could this have anything to do with redirecting the resize events to the pty? Electron has native support for these events, so I can't help but think Hyper's resize logic might be interfering somehow

Yeah this behaviour comes for free in a default electron app, so maybe there's a preventDefault somewhere?

This is fixed in #1307

Specifically https://github.com/zeit/hyper/pull/1307/files#diff-2018087f584c4398b5c3a23fc0e5f9dbR142 in #1307 - setting transparent: true in windows will block aero snap features.

1307 馃憣

I seem to be seeing this issue, where dragging to the left or right won't snap, and windows left and right won't work either.

Windows up and down work for me, though.

@srchulo If you have "hyper-tabs-enhanced" installed, remove that and then try again. It gave me the same problem..

@rickbrunstedt thanks! That did the trick. Sad that I can't use hyper-tabs-enhanced.

Just ran into the same thing, equally as sad that it doesn't work with hyper-tabs-enhanced.
@henrikdahl do you know about this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

weabot picture weabot  路  3Comments

ghost picture ghost  路  3Comments

rauchg picture rauchg  路  3Comments

ConstantinChirila picture ConstantinChirila  路  3Comments

laur1s picture laur1s  路  3Comments