upterm icon indicating copy to clipboard operation
upterm copied to clipboard

Native window controls (close, minimize, maximize) not showing on macOS

Open brandonweiss opened this issue 6 years ago • 12 comments

Before I upgraded to the latest version the controls looked something like this, which is what I would expect:

screen shot 2018-06-10 at 11 46 37 am

After I upgraded they looked like this:

screen shot 2018-06-10 at 8 16 24 am

Is this a bug or is this intentional? I see some commits related to custom/title bar but I can’t find any commit messages explaining the changes so I don’t know if this was supposed to happen or not, and why?

brandonweiss avatar Jun 10 '18 15:06 brandonweiss

Should be fixed by https://github.com/railsware/upterm/pull/1306

le0pard avatar Jun 15 '18 10:06 le0pard

Unfortunately didn't fix it for me

itssimon avatar Jun 29 '18 15:06 itssimon

@itssimon did you check master branch? This fix was not published with some version.

le0pard avatar Jun 29 '18 15:06 le0pard

Yes, I tried on the master branch. The fullscreen mode works though. Let me know if I can help track it down.

itssimon avatar Jul 01 '18 04:07 itssimon

I was expected, that this PR fix this problem https://github.com/railsware/upterm/pull/1306

le0pard avatar Jul 01 '18 05:07 le0pard

I think we might be talking about different things? It seems like the commit you’re talking about changes the behavior of the controls, but what I’m talking about is how the controls look.

On macOS they should be red, yellow, and green dots. But on the latest version they’re shown as a white “X“, “-”, and “+”.

brandonweiss avatar Jul 01 '18 17:07 brandonweiss

What the problem with different looking controls?

le0pard avatar Jul 01 '18 18:07 le0pard

The problem is it breaks the conventions and patterns used in macOS applications. macOS applications all use the same native window controls, and in the case of non-native applications, like an Electron app, they replicate the native controls. They do this both because it’s aesthetically pleasing but also because users follow the conventions and patterns in order to understand how the application they’re using works.

Or to make the argument a different way, what’s the value of changing the controls to look different from every other macOS application?

brandonweiss avatar Jul 01 '18 18:07 brandonweiss

Ok, now I understand a problem. Thanks. Will check, how will look native toolbar not only on Mac OS.

le0pard avatar Jul 02 '18 09:07 le0pard

Reverted by https://github.com/railsware/upterm/commit/dbcb73cdfa014c84f3ad2718faed6bff423ab95e

le0pard avatar Jul 25 '18 16:07 le0pard

@le0pard Thank you! 🙌 ❤️

brandonweiss avatar Jul 25 '18 16:07 brandonweiss

in 0.4.4 problem still exists.

unbreak avatar Feb 25 '19 13:02 unbreak