Blog?

It's kind of a blog if you don't think about it too hard

feed Atom Feed


Contents

Home


Valid HTML 4.01 Strict [Valid Atom 1.0]

This blog might as well be called "Clicking top-right corner of screen does not close window"

November 12, 2020

Two years ago, I wrote about how to make Compiz more Fitts's law-friendly.

22 days ago, I wrote about how to make GNOME applications more Fitts's law-friendly.

Now it's Firefox's turn (running on Pop!_OS 20.04) To fix its close button, I had to add the following to userChrome.css. Choose only the snippet you need:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* ONLY ONE OF THESE SNIPPETS SHOULD BE USED AT A TIME */

/* Firefox 88 and below */
.titlebar-buttonbox-container {
	margin-top: -5px;
	margin-right: -4px;
}

/* Firefox 89 and above - Normal density */
.titlebar-buttonbox {
	margin-top: -17px;
	margin-right: -4px;
}

/* Firefox 89 and above - Compact density */
.titlebar-buttonbox {
	margin-top: -9px;
	margin-right: -4px;
}

2021-07-13: Updated to be compatible with Firefox 89.

Comments

Add comment

Name:
Email (optional):
Comment:
Human?What is the sixth word of the above blog post?
 
Linux User 

Linux User

August 14, 2021 5:38PM

Are the developers behind GTK and Mozilla just demented at this point?

This is a make-or-break issue with any maximized desktop application. Are they intentionally giving users more of a reason to ditch Firefox and switch to Chromium/Chrome?

Look at Firefox's marketshare: it's TANKING into irrelevancy, and this kind of backwards design is only accelerating its downfall.

I have to keep modifying the .css file with each update to undo Mozilla's anti-Fitts' Law garbage UI?

Sick of this browser. Migrating my bookmarks to Chromium and never touching Firefox again. I'm done.

Round of applause to the fine developers at GNOME, GTK, and Mozilla...