Hacker News new | ask | show | jobs
by jraph 3148 days ago
I wondered the same thing a while ago and I would think this is to ease dragging the window with the mouse, which you may want to do easily when the window is not maximized.

I'd really like Firefox on Linux to hide the window title bar (at least when maximized) and put the close / maximize / reduce buttons in the tab bar (or make it an option). The tab bar does already allow one to move the window, at least on KDE. Then, Firefox could adopt the same kind of behavior as Chrome for this.

4 comments

I still think Safari has the best implementation of any browser. Coincidentally this (maximizing) is also why bottom tabs is a much saner choice.

Normal window: https://i.imgur.com/WMfJMPC.png

Fullscreen: https://i.imgur.com/4iVPNzQ.png

Fullscreen with mouse at top of screen: https://i.imgur.com/hjC7Qgk.png

There is a Firefox legacy extension that does just this. Hide Caption Bar Plus. It might not work with this new Firefox as he APIs to control the UI are not exposed as they once were. I use it all the time on my laptops
Last mont Fedora had a release in which you could use CSD to merge the title and the tab bars. You only had to set a variable(maybe widget.allow-client-side-decoration?) in about:config to true. They took that option away because some bugs but it may arrive for the next firefox release.

Here is how it looks like https://twitter.com/Sesivany/status/908628645299748865

This is great. I didn't expect this to happen so soon.

When we will have this and pixel-perfect scrolling enabled by default, the Firefox UI will be close to ideal for me.

To get pixel scrolling now, the solution is easy:

  #!/usr/bin/env sh
  MOZ_USE_XINPUT2=1 exec /usr/bin/firefox "$@"
On debian with gnome, installing "maximus" package should hide title bar when maximized, works well here !
Thanks for the tip. I didn't know maximus. Actually, kwin does allow writing rules that do exactly that. However, this removes window management buttons, which I don't use often but do like to have. Extensions did that but are not compatible anymore ans never really had an integrated look. I recognize this is mostly feelings though