搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

gap on top of window in macOS

  • 3 回覆
  • 1 有這個問題
  • 4 次檢視
  • 最近回覆由 zliuva

more options

macOS Mojave and Firefox 70.0b10

There's a line on top of Firefox window that's simply not utilized and what ever is behind it is showing. In the screenshot I set a solid desktop background and you can clearly see the one-pixel sided gap on top.

This is the built-in MacBook display, no external display connected.

macOS Mojave and Firefox 70.0b10 There's a line on top of Firefox window that's simply not utilized and what ever is behind it is showing. In the screenshot I set a solid desktop background and you can clearly see the one-pixel sided gap on top. This is the built-in MacBook display, no external display connected.
附加的畫面擷圖

所有回覆 (3)

more options

Is this a recent change in the Beta version you use (70.0b10) or did this happened before ?

Do you have a Drag space feature and a Title bar feature on the Customize palette page that you can toggle to see if this has effect?

more options

hi @cor-el, thanks for the advice!

I tried toggle the title bar and while it didn't actually "solve" this issue, I realized it was not an issue with Firefox per se. Since I was focusing on that one-pixel gap I noticed standard Mac apps with the system title bar also did not fill the gap completely.

I think it's simply the pure black border of Firefox made me notice that gap. (And now I can't un-notice it, :S)

more options

OK I think I finally figured out *what* is bothering me:

Attached two screenshots of the "Light" and "Dark" built-in themes of Firefox. I'm using the ColorMeter to zoom in on the pixels.

In the "aperture" window, the top black part is the menu bar. Then there's a thin line of yellow which is my background. (Which I discovered that other Mac apps' title bars are also rendered this way, with a gap)

However, what makes Firefox stand out and caught my eye is that for the Dark theme, while the window itself is rendered black, the very top border of Firefox window is rendered in a much lighter grey color.

In the Light theme, the top border (of Firefox window) is also a different shade of grey than the rest, but it's a much subtle difference.

So the core of the problem is why Firefox render the top border in a very contrasting fashion. (I tried some custom themes and my observation is that Firefox tries to "fade-out" the main color but it seems that it does a much better job when the main theme color is lighter instead of darker)