搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

gap on top of window in macOS

  • 3 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 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)