Hyper: Make fullscreen look pretty (Title bar is transparent and overlaps content on fullscreen)

Created on 2 Jul 2016  路  18Comments  路  Source: vercel/hyper

Currently, the title bar looks like this:

screen shot 2016-07-02 at 11 17 53

good first issue help wanted Enhancement

Most helpful comment

Here's my proposal.

Fullscreen reacts normally with no traffic lights:

And if we can detect when the user hover at the top/the menu bar with the traffic lights drops down, we apply a gradient over the HyperTerm header section:

This way the user has what they want in full screen and when the traffic lights drop down, they are accessing what they want without an ugly interaction between multiple elements.

All 18 comments

@leo may that depend on something else on your config? I can see it right
screen shot 2016-07-02 at 10 58 43
However, if I go with my mouse to the top I can force that view that you got
screen shot 2016-07-02 at 10 58 38

I think there just needs to be a style applied to the title bar to cover what is beneath it.

@dariocravero Yep! The bug only appears when making the title bar visible using the cursor.

@bastilian Probably, yes! Haven't looked into implementing it yet.

@leo how can I reproduce this?

@rauchg Click on the green traffic light to make the app go fullscreen. After that, slowly move your cursor from the middle of the app to the menu bar at the top. At some point, the title bar (which contains the traffic lights) should show up and look like on my screenshot.

woah good catch @leo

In the latest Hyperterm release (0.7.1) it looks like this:

image

However, there's still some visual issues with tabs (traffic lights sliding over the tab borders), maybe make the tabs slide down with the menu?
image

Traffic lights not showing (like it should be) but the margin is still there, don't know what the best solution for solving this is:
image

127 is also related i believe.

Here's my proposal.

Fullscreen reacts normally with no traffic lights:

And if we can detect when the user hover at the top/the menu bar with the traffic lights drops down, we apply a gradient over the HyperTerm header section:

This way the user has what they want in full screen and when the traffic lights drop down, they are accessing what they want without an ugly interaction between multiple elements.

@CodeTheory how could I help to get this done?

This seems to be fixed in 1.2.1.

Not fixed @leo
image

@CodeTheory That's related to the theme, isn't it? Works fine for mine. Why is the issue open again now? Have you tested with the default one?

freshly installed hyper terminal without any plugins or themes on my mac shows the same issue (you have to actually fullscreen and it shows only when you move the mouse to the top edge of the display).

Yeah, the same issue applies to vanilla hyper @leo
image

Custom red background set in the config:
image

The title/tabs bar should ideally slide down with the bar that contains the traffic lights and has the shadow and then also the bar should have some sort of non-intrusive background like the gradient I showed before.

A ton of really erratic behavior in fullscreen really puts me off:

  1. The tab bar should not have a margin/empty space for the traffic lights. It might look okay for a single tab, certainly looks ugly for multiple tabs.

  2. The custom bar that slides down looks plain ugly, use the standard MacOS titlebar instead.

Actual (Hyper 1.4.8)

screen shot 2018-01-27 at 12 11 24 pm
screen shot 2018-01-27 at 12 11 35 pm

Expected (Firefox 58.0)

screen shot 2018-01-27 at 12 10 50 pm
screen shot 2018-01-27 at 12 11 01 pm

Final checklist of suggestions

  • Keep the traffic lights when not in fullscreen
  • Make the traffic lights disappear (without leaving any space) when switching to fullscreen
  • When the user brings down the menubar, a thin MacOS titlebar should slide in alongside the traffic lights.

P.S. Apps like VSCode and Atom do the same, so that rules out "it must not be possible/easy in electron"

screen shot 2018-01-27 at 12 19 23 pm
screen shot 2018-01-27 at 12 19 48 pm
screen shot 2018-01-27 at 12 19 59 pm

Hi,
I am computer Science student. I am new to GitHub and I would like to make my first contribution. Anyone here please help me or guide to make my first contribution.
Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eoinmurray picture eoinmurray  路  3Comments

dbkaplun picture dbkaplun  路  3Comments

laur1s picture laur1s  路  3Comments

sarneeh picture sarneeh  路  3Comments

rauchg picture rauchg  路  3Comments