Firefox is interfering with KWin after an update in openSUSE Tumbleweed roughly a few hours ago. All other applications (including Thunderbird) work fine, but when I startup Firefox its window has no borders whereas the titlebar appears gray. The window can also not be resized, it can only be minimized / restored by dragging it from and to the screen edges.
I’m attaching a screenshot of the broken FF window. The gray titlebar is NOT the theme I’m currently using (Aurorae), and I have no idea what skin the buttons to its upper-right are from either. KWin should not be allowing applications to have custom window managers, this might be an issue with some fundamental library.
Just great. Apparently this isn’t a bug but some sort of new feature: It’s called Client Side Decorations (CSD) and it basically means that Firefox now embeds and may use its own window manager, because why not break the OS with unnecessary functionality?
First off I created a KWin window rule to force the normal titlebar to show up again. This causes two titlebars to appear, as visible in the screenshot I’m attaching here.
I next had a chat on the Firefox IRC channel about this. Folks kept saying that it should be possible to disable with browser.tabs.drawInTitlebar in about:config, but that setting doesn’t work for me and isn’t intended until Firefox 60 from what I hear. The only thing that makes it go away is running FF with the following environment variable set:
I’m leaving this open in case the openSUSE crew can fix it in 59 so we don’t have to wait until 60 for a solution. This clearly breaks the Firefox window for KDE users, and also looks ugly as it breaks the theme so many of us don’t want it… additionally I understand the GTK client decoration shouldn’t even be supported in version 59, so this shouldn’t even be happening at all.
Interesting. I have FF 59.0.2 64 bit from yesterday’s update, and nothing has changed. I can resize by dragging edges or corners, I have the firefox logo and thumbtack in the top left corner, the title of the tab in the center of the top bar.
dos@DOS1:~> kf5-config --version
KDE Frameworks: 5.45.0
I have the same issue, which is especially annoying in that I use the title bar “shade” feature so I can see every app on the desktop and typically have several firefox windows open, which breaks my daily workflow habbit…
I just installed Firefox 59.99 / 60.0b16 from http://download.opensuse.org/repositories/mozilla:/beta/openSUSE_Tumbleweed I can confirm the issue goes away in this version and the functionality is exactly as expected: By default KWin continues acting as the window manager, and the new builtin decoration is only used if you go into about:config and set browser.tabs.drawInTitlebar to true. As long as that option remains set to false by default (especially for KDE users) there should be no more issues in the future.
[QUOTE=MirceaKitsune;2864361]… new feature: It’s called Client Side Decorations (CSD) … Firefox now embeds and may use its own window manager …
This feature, not merely within Firefox itself, seems to be playing havoc with Fluxbox (my preferred window manager) and IceWM. The Fluxbox popup menu is now a blank fat squat frame only: no visible menu items. If I press on the first (now invisible) item, a command box pops up, just as before. With the second one, Firefox beta is launched. Pressing Alt-T gets me a terminal emulator (as I have configured it). The popup menu is knocked out.
With IceWM, pressing on the left-hand corner pops up a menu, except that only icons are shown. That’s not the way this window manager is set up. Openbox seems immune to the Firefox’s unwarranted and unwanted meddling as far as its menu system is concerned.
I have KDE installed and updated but I normally do not use it (no GNOME for me), as colour registration is sometimes off and very hard on my eyes. I just got into KDE (Plasma). Whatever the theme is, the appearance is flat and ugly.
Whether in Plasma or a window manager, Firefox itself is now blessed with a monospace typeface with strange behaviour. There seem to be 3 spaces between words for pages for Preferences or Add-ons; bookmarks suffer from the same symptom. Arabic numerals are invisible. Preferences for Fonts do not show size, for instance. Help > About Firefox [About Firefox]: no Arabic numerals, strange spacing. No visible version information whether in stable or beta versions. I have had no problems with boxes or decorations at the top of Firefox. Otherwise, it is functional for normal browsing. I am surprised that nobody else suffers from this sudden weird malady.
And “export MOZ_GTK_TITLEBAR_DECORATION=none” does not work for me.
Trying to add a bookmark in Firefox gets me a stretched-out box. Dolphin is affected, too, appearance-wise, not functionally. It’s the extra spacing or stretching out in the toolbar, among other things. Actually I cannot access the items pushed to the right off the screen. What a nuisance. Well, isn’t it a cardinal sin to whack other applications? Nobody else seems affected as I am, anyway.
Messing around within Firefox is one thing. Firefox developers should mind manners not to meddle with other applications. My system is old (the board is Rock something) but I have never experienced anything like this.
Hear! Hear! Firefox seems well on the way to becoming bloated with “features”, maybe it’s time to migrate to Vivaldi.
There’s an intermittent problem with Leap 42.3 and Firefox 60.1.0esr too where the buttons on the titlebar contain black squares (but still work) and the text is obscured by an irregular whiteout in the shape of each character. The problem goes away if Firefox is restarted and “Restore Previous Session” run.
Something very similar happens if the Open Document Foundation version of LibreOffice is installed with the “KDE4 interface for LibreOffice” package (libreoffice-kde4). Not installing this package gives a less attractive window, but at least it’s usable. (Why download the ODF version? Because it works around a bug reported here https://bugzilla.novell.com/show_bug.cgi?id=1096360 and fixed in the repository version libreoffice-6.1.)