Firefox without titlebar has visual glitches when maximizing/unmaximizing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
New
|
Unknown
|
|||
firefox (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
There is a relatively new feature in Firefox that allows you to hide the title bar (I'm running Firefox 63.0), which is very helpful when you have a low resolution screen. However, when changing the maximization state, some visual gitches occur. I didn't notice this glitching when running Kubuntu or Ubuntu Budgie on two separate systems.
To try this, go to your Firefox Menu, click Customize, and uncheck "Title Bar" at the bottom left. Then unmaximize the window and then remaximize it.
What it's supposed to look like: https:/
Unmaximized (note the large transparent section): https:/
Remaximized (note the duplicate set of close buttons): https:/
Also another interesting bug I noticed...if you try to use Firefox in the no titlebar state with the global menu enabled (e.g. Contemporary, Cupertino, or Mutiny panel layouts), the window buttons are not placed correctly, being on the window border.
Systems tried on:
Laptop, Dell Latitude E5430 - Intel Core i3-3120M dual core with hyperthreading, 12 GB DDR3 Memory, Intel 4000 Graphics, Built-in LCD at 1366x768 (screenshots from this system)
Desktop, Lenovo ThinkCentre M79 - AMD A4-6300B 3.7 GHz dual core, 8 GB DDR3 Memory, AMD 8370D Graphics, HP 2009f Monitor at 1600x900
no longer affects: | ubuntu-mate |
Changed in firefox: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in firefox (Ubuntu): | |
importance: | Undecided → Low |
Changed in firefox: | |
importance: | Medium → Unknown |
Testing with Ubuntu MATE 18.04(.1) using the default wm/compositor Marco. I've tried Nightly (downloaded from Mozilla), Firefox 61 (the version in the Ubuntu repo), and back to 60 (downloaded from Mozilla) (I think the first version with CSD?).
- With Customize → Title Bar unchecked to enable CSD, make sure Firefox is maximized, then close it.
- Reopen Firefox, and then unmaximize the window. An extra titlebar and border now appears with a transparent border around Firefox window, as show in the first screenshot.
- When you maximize the window, the border goes away, but the extra titlebar remains, as shown in the second screenshot.
- If you close Firefox when it is *not* maximized and reopen it, then it will behave correctly even when maximizing and maximizing — until you close it again maximized and reopen it.
It does not happen every time, i.e. sometimes you can close Firefox maximized and it will behave correctly, but it occurs more often than not. I've tried it on several computers, trying to find a pattern, but I can't find one... It does seem that it happens more often on a computer with HiDPI, but I've only tried one computer like that.
The strangest part is that it doesn't occur at all on my personal computer's main user account, even if I create a new Firefox profile. I mostly use Nightly, so when I first saw it on other computers, I thought it was something that had been fixed between the release version and the Nightly version I was using ;-) But it was reported on the Ubuntu MATE forum, and now I've tried it more and found that it does occur when I create a new user account on my computer, and I've seen it on every other Ubuntu MATE installation I've tried, even with Nightly. (I'm have no idea what setting/tweak I have in my user account that could be affecting it!)
I'm happy to help testing if you let me know how. I can also report it to MATE/Marco if you think that's where the issue is. Thanks for all the work on Firefox CSD!