News for hackers. Stuff that matters.
Re:Firefox nightlies for Linux are now using Gtk+3 by xpinguin on Friday July 24, 2015 @06:09AM (#9941008)
Disasterous :( For me, it has begun from evince and deadbeef, now firefox is on its way to follow.

The problem is that I am unable to find any compact gtk-3 theme that looks like xfce-b5 theme for gtk-2. Xfce theming engine seems to be broken under gtk>=3.8. The only possibility is to recreate theme from scratch and pray that nothing would be broken when minor bumps again. Hell, I am unable to find any theme compact enough!

Could somebody please help me to rule out: do most people really like that ugly-looking space-wasting bullshit like Adwaita (and other such nonsensical things mistakenly called "themes"), or is there some mysterious underground group guarding the treasure chest with human-friendly themes allowing only deserved ones in (how to become that one, btw?)?

Its like being forced to leave my simple but consistent country house (gtk2) in favour of tall block building (gtk3), using the lift (smooth scrolling) as an argument. I don't need lift.

tldr; Firefox won't be able to compactify its UI to the degree desired. Some users could clearly identify such situation as "regression". I am pretty much disappointed and annoyed of the trend.

Re:Firefox nightlies for Linux are now using Gtk+3 by weland on Friday July 24, 2015 @07:14AM (#9941160)
I was prepared to whine about exactly that.

There is literally no gtk3 theme that, simultaneously:

- Is not flat and generally grey or dark blue. It's as if everyone Apple fanboy who was rejected by Apple's UX department is now making GTK themes.

- Is not frickin' ginormous. I know multitasking is frowned upon now that we have tablets, but I have a bloody 27" screen, I want more than one window on it at the same time!

- Doesn't break in the next release.

At first (as in, 2011 or so) I just blamed it on gtk3 being new and all that. But we're four years from that. This disaster seems to be intentional.

Re:Firefox nightlies for Linux are now using Gtk+3 by xpinguin on Friday July 24, 2015 @07:57AM (#9941316)
That gtk3 maintainers position on backward-compatibility really puzzles me. May be I am wrong, but theming engine is a vital part of an UI toolkit - you need to represent all the fancy widgets somehow in a way appropriate to the user. Yet they keep on breaking things almost each minor, leading a lot of theme creators to quit. Might be the real underlying cause of our whines...

Nevertheless, I don't see any other way than point out to the problem again and again, when each important piece of software is going to switch to gtk3. World does not stop on gtk3, there is Qt, which can handle gtk2 theme engines pretty much seamlessly (at least, from my experience), without breaking things at each release.

Re:Firefox nightlies for Linux are now using Gtk+3 by weland on Friday July 24, 2015 @08:10AM (#9941366)
Yeah. I still manage to live in a gtk2-only world for now, but mostly because I don't really need too many GUI programs (I can't remember the last time I opened something other than Thunderbird, Firefox, Emacs, and whatever pdf reader and image viewer I have lying around) but that's obviously not sustainable.

Unfortunately, GTK3 (and, for that matter, much of the modern Linux user-side development ecosystem) is increasingly hostile. Frequent, often unwarranted changes (implemented through code of dubious quality), crap documentation (when it exists). It feels increasingly like developing for (and using) OS X or Windows, just without the good parts that we all secretly covet, like Visual Studio and Interface Builder and the MSDN.

Re:Firefox nightlies for Linux are now using Gtk+3 by EmanueleAina on Friday July 24, 2015 @01:55PM (#9943872)
> May be I am wrong, but theming engine is a vital part of an UI toolkit

Arguably, for a big chunk of GTK+ users (me included) it's not. I care about the work on the default theme as I can't really be bothered to install custom themes. For me, the same is true for Qt or whatever other toolkit: either they give me appropriate defaults or I will probably tend to ignore them.

That said, it seems that GTK+ developers agree with you more than you seem to expect: in the past few cycles they worked a lot on the theming engine, simplifying it to the point that the whole theme is defined only by CSS.

Instead of writing clunky, complex loadable modules in C, they can just mash together some CSS and customize every part of the UI. This is a massive improvement over GTK+2.

Of course, since the CSS can poke at the deep internals of the toolkit, complete stability cannot be provided: think of it as a user-level CSS that cannot cleanly cope when the target website changes.

Re:Firefox nightlies for Linux are now using Gtk+3 by xpinguin on Friday July 24, 2015 @04:54PM (#9945119)
Well, I feel exactly the opposite. Although, I had no chance to write gtk theming engines due to lack of neccessity, I would argue that most of the time clear good ol' imperative chunk of simple and straightforward C is far better than arcane declarative CSS based on whatever underlying rules I am not fully aware of.

P.S. I has experience with both - besides writing my decent share of C code over the course of past 10-or-so years, I had an opportunity to write stylesheets in pre-HTML5 times (for money). Later was far more sane and flexible (yet a bit arcane due to multi-browser compatibility) than writing on pseudo-CSS in order to compactife modern Eclipse (4.x). No way I would believe that pseudo-CSS for constantly unstable underlying engine could be somehow better than "clunky, complex loadable modules in C".

Re:Firefox nightlies for Linux are now using Gtk+3 by EmanueleAina on Saturday August 01, 2015 @09:37AM (#9986978)
> imperative chunk of simple and straightforward C is far better than arcane declarative CSS based

Nope, consider yourself lucky if you have never heard the horror stories about the old theming code (and even more lucky from the fact that you never had to poke at it). :)

P.S. Me too, I worked at a small studio developing web apps for a few year, then moved to optimizing HTML/JS/CSS3 apps running on a custom WebKit enviroment with animations, transitions and whatnot on a embedded (and horribly low-powered) platform and now I have the pleasure of trying to make WebKit work well on the Raspberry Pi.

As far as I can tell, CSS is several orders of magnitude better than poking at C code for those purposes.

Re:Firefox nightlies for Linux are now using Gtk+3 by cynic_ on Friday July 24, 2015 @09:48AM (#9941940)
"It's as if everyone Apple fanboy who was rejected by Apple's UX department is now making GTK themes."

Or most of them probably just gave up making GTK themes.

https://github.com/QtCurve/qtcurve-gtk3 https://igurublog.wordpress.com/2012/11/05/gnome-et-al-rotti...

Re:Firefox nightlies for Linux are now using Gtk+3 by xpinguin on Friday July 24, 2015 @11:56AM (#9942843)
Thanks for the latter link, would never knew things got that bad otherwise.

For instance, they've deprecated GtkStatusIcon in favour of AppIndicator: https://bugzilla.gnome.org/show_bug.cgi?id=734826 What's wrong with freedesktop systray?

Gtk3 is really becoming isolated and gnomish-only. Frenzy. Mozilla's transition to gtk3 now looks completely catastrophic in a long-term perspective.

Re:Firefox nightlies for Linux are now using Gtk+3 by weland on Friday July 24, 2015 @12:53PM (#9943346)
> Or most of them probably just gave up making GTK themes.

Yeah, things are pretty terrible for theme developers. It's like GTK 3 development was steered by Steve Ballmer.

Re:Firefox nightlies for Linux are now using Gtk+3 by EmanueleAina on Friday July 24, 2015 @01:46PM (#9943803)
Things have improved a lot with the CSS engine maturing. With GTK+2 themes where loadable compiled modules and where far from simple.

With GTK+3 you do everything with CSS alone.

Of course full stability cannot be provided due to the fact that the CSS can poke at the internal composition of composite widgets, not unlike how greasemonkey scripts can hardly cope with the target website changing, but things got much more stable in the last few cycles.

Re:Firefox nightlies for Linux are now using Gtk+3 by weland on Friday July 24, 2015 @02:10PM (#9943983)
Bullshit. Every time a new GTK3 release comes up, the bug trackers of popular themes flare up (many of them obscure, e.g. https://github.com/shimmerproject/Numix/issues/206), various undocumented tidbits and bugs in the theming engine pop up and "innovations" like the client-side decorations are introduced.

Meantime, clunky, terrible C modules written back when GTK 2.10 was a thing work just fine on 2.99.

That is not simplification. Simplification is when things get easier, not when they get harder.

Re:Firefox nightlies for Linux are now using Gtk+3 by EmanueleAina on Saturday August 01, 2015 @09:56AM (#9987033)
The vast majority of third parties GTK+2 themes were using the pixmap engine (or murrine in some cases), which was basically what the current CSS engine is, just more arcane and infinitely less flexible.

I reiterate: full stability for theme developers CANNOT be provided, unless you're willing to give away much of the power of the current theming system, basically going back to the annoyingly limited pixmap engine. This (understandably) is not a tradeoff the GTK+ developers are willing to make, and I guess neither third party developers.

> Meantime, clunky, terrible C modules written back when GTK 2.10 was a thing work just fine on 2.99.

I don't know, I remember Murrine being often broken after new GTK+ releases, despite it being under active development.

> https://github.com/shimmerproject/Numix/issues/206

That issue has been opened on 10th April, I guess your issue is more than your theme needs more help for its maintenance rather than GTK+'s fault. Again: there's no provision of stability for themes. Either you accept to keep up with upstream or you'd better stick to the default theme. Just like using a greasemonkey script when a website changes.

The changes in GTK+ have become progressively less dramatic: this means that fixes for themes are now smaller/simpler, not that they don't need active upstream tracking.

Re:Firefox nightlies for Linux are now using Gtk+3 by nly on Friday July 24, 2015 @08:11AM (#9941375)
I'm currently using Greybird[0] under XFCE, but I'll keep my mouth shut since it's both blue and grey with black desktop panels ;) The widgets sizing and layout is decent though

Honestly I haven't seen anything GTK+ based that looks as good as KDE (4.x).

[0] http://shimmerproject.org/our-projects/greybird/

Re:Firefox nightlies for Linux are now using Gtk+3 by weland on Friday July 24, 2015 @08:54AM (#9941591)
> Honestly I haven't seen anything GTK+ based that looks as good as KDE (4.x).

Here's a phrase I never thought I'd heard :-).

I don't really like Greybird, but Bluebird is nice. Now if only there were a (non-hacky) way to consistently disable the frickin' client-side decorations, I could almost use Gnome 3.

Re:Firefox nightlies for Linux are now using Gtk+3 by nine_k on Friday July 24, 2015 @09:37AM (#9941871)
I've spent considerable time looking for GTK3 themes that meet your requirements.

My current choice is openSuse-Pistachio which is green, reasonably compact, and did not break for two consecutive Ubuntu releases. zonColor icons work beautifully, too, with adjustable colors.

There are a few more reasonable choices (though not oodles) on gnome-look.org

Re:Firefox nightlies for Linux are now using Gtk+3 by weland on Friday July 24, 2015 @01:00PM (#9943403)
Thanks! I'll keep that in mind for when I run out of choices and have to upgrade :).
Re:Firefox nightlies for Linux are now using Gtk+3 by adrianlmm on Friday July 24, 2015 @10:53AM (#9942373)
Then create one your self, this is open source, you are getting stuff for free and you got the source.
Re:Firefox nightlies for Linux are now using Gtk+3 by weland on Friday July 24, 2015 @12:57PM (#9943387)
I also get GTK2 for free. That's not the problem. I'd happily make my own GTK3 theme if GTK3 weren't so incredibly hostile to theme development. It's literally less reliable than Windows Blinds, which is a frickin' hack on top of a closed OS.

It's not a problem of asshole theme creators, it's a software quality problem, and everyone in the Gnome Project's bubble is dancing around it and pretending it's good for the users.

Re:Firefox nightlies for Linux are now using Gtk+3 by privong on Friday July 24, 2015 @12:14PM (#9942993)
Often that is acceptable advice, but in this case, their issue that:

> - Doesn't break in the next release.

is something that can't be worked around simply by creating your own theme. That seems to be caused by poor compatibility checking (or reckless disregard, as others are claiming), which could bite you even if you create your own theme.

Obviously, you could extend your suggestion to "fork gtk3", but that's likely a significant undertaking and not reasonable for everyone. I think it is reasonable to expect developers to maintain compatibility between minor version releases, assuming they're using semantic versioning, otherwise it's poor communication on the part of the developers.

Re:Firefox nightlies for Linux are now using Gtk+3 by adrianlmm on Friday July 24, 2015 @01:27PM (#9943628)
That's an old myth, the theme engine is now stable and even if it breaks it is only a matter of minutes to fix it.
Re:Firefox nightlies for Linux are now using Gtk+3 by weland on Friday July 24, 2015 @02:10PM (#9943989)
Do a google search for GTK 3.16 theme bug. You'll find a bunch of people for whom it didn't take minutes.
Re:Firefox nightlies for Linux are now using Gtk+3 by adrianlmm on Friday July 24, 2015 @03:12PM (#9944441)
Then submits bugs and contribute to fix those bugs, it is the way open source works, if you don't like it, go use something else, nobody is forcing you to use it.
Re:Firefox nightlies for Linux are now using Gtk+3 by weland on Saturday July 25, 2015 @04:03AM (#9946950)
What does being open source have to do with having crap policies?

There are plenty of open source projects that don't have those problems, and it's not like the core team is interested in making theming anything else but a clunky hack so that everyone uses Adwaita...

Re:Firefox nightlies for Linux are now using Gtk+3 by nicalsilva on Friday July 24, 2015 @07:59AM (#9941323)
I find that gtk3 themes are easy to tweak (and more so than gtk2 ones), have you tried to look at the (pseudo-)css and modify it to suit your taste?
Re:Firefox nightlies for Linux are now using Gtk+3 by weland on Friday July 24, 2015 @08:12AM (#9941378)
Yeah, but the backend seems to be buggy, the documentation is not up-to-date and basically half the things that work in 3.x break mysteriously in 3.(x + 1).

Meanwhile I can use a gtk2 theme from 2006 without any problems (and it doesn't make my desktop look like a kid's HD drawing). As long as I can do that, I have very little motivation to put up with gtk3's crap.

Re:Firefox nightlies for Linux are now using Gtk+3 by anon4 on Friday July 24, 2015 @06:43AM (#9941084)
People seem to like it. Personally I don't, but... yeah. Gtk3 devs have outright said that gtk3 is not officially supported in any environment but GNOME3, which also worries me. On the other hand, this may be enough stimulus to make QtFirefox happen.
Re:Firefox nightlies for Linux are now using Gtk+3 by voidz on Friday July 24, 2015 @10:54AM (#9942382)
Amen to that. I use xmonad, have no desire for gnome, so Qt would have my preference, too.
Re:Firefox nightlies for Linux are now using Gtk+3 by felipeerias on Friday July 24, 2015 @06:49AM (#9941105)
I would like to see a screenshot of that xfce-b5 theme and what you want to achieve. For reference, this is how Firefox/Iceweasel looks in my system, running GNOME Shell: https://i.imgur.com/VedZNiC.png

I didn't crop it: that is all that is visible when maximised. I'm using tree-style-tabs for Firefox, and the Hide Top Bar and Maximus Two extensions for the Shell.

Re:Firefox nightlies for Linux are now using Gtk+3 by xpinguin on Friday July 24, 2015 @07:12AM (#9941155)
https://i.imgur.com/wYVyJG5.png

Most gtk2-based (or dependent, in case of eclipse) apps I use at daily basis (incl. floating deadbeef settings window with older gtk2 plugin) side-by-side. I haven't included evince (gtk3) as I am using partially broken gtk3-Mist theme (not compact as xfce-b5, but still better than Adwaita). Nothing scaled, cropped or such. Btw, I use Classic Theme Restorer plugin, which also helps with firefox UI compactification.

Re:Firefox nightlies for Linux are now using Gtk+3 by lake99 on Friday July 24, 2015 @08:21AM (#9941408)
https://addons.mozilla.org/en-US/firefox/addon/littlefox-for...

This firefox theme makes the app's decorations really small. The icons look as if they were designed in 1995, but if there is a choice between slick and compact, I pick compact.

On second thought, Classic Theme Restorer works just as well with the latest firefox dev build.

Re:Firefox nightlies for Linux are now using Gtk+3 by Scarbutt on Friday July 24, 2015 @11:22AM (#9942579)
Is that ICQ? ;)
Re:Firefox nightlies for Linux are now using Gtk+3 by xpinguin on Friday July 24, 2015 @11:57AM (#9942853)
yep, licq
Re:Firefox nightlies for Linux are now using Gtk+3 by igravious on Friday July 24, 2015 @07:10AM (#9941147)
What tab management thingy on the left are you using?
Re:Firefox nightlies for Linux are now using Gtk+3 by reitanqild on Friday July 24, 2015 @07:31AM (#9941217)
TreeStyleTabs, like felipeerias already mentioned seems to be THE reason why a whole lot of people use Firefox. (Others like me have a bunch of additional reasons.)
Re:Firefox nightlies for Linux are now using Gtk+3 by felipeerias on Friday July 24, 2015 @07:12AM (#9941151)
Re:Firefox nightlies for Linux are now using Gtk+3 by wander_homer on Friday July 24, 2015 @07:25AM (#9941193)
What's the problem with deadbeef? It supports both GTK+2 and GTK+3 interfaces - GTK+2 is even the default and considered more stable since most of deadbeefs developers prefer that one.

Edit: Regarding Evince, there's Atril. It's the GTK+2 evince fork from the mate developers.

Re:Firefox nightlies for Linux are now using Gtk+3 by xpinguin on Friday July 24, 2015 @07:40AM (#9941260)
You've made my day, thank you so much! Atril is really what I've been looking for.

Regarding deadbeef, yeah, it was mentioned mostly on emotional basis. I had some troubles building gtk2 plugin on my home machine, good chances that it was problem with inconsistent building environment, yet no problems with building simple gtk2 apps or deadbeef gtk3 plugin. I haven't dug deeply though. At work, I just use slightly older deadbeef version with gtk2 plugin :)

Re:Firefox nightlies for Linux are now using Gtk+3 by wander_homer on Friday July 24, 2015 @03:06PM (#9944405)
I'm glad I could help :)

If you need help with building deadbeef, just visit us in IRC (#deadbeefplayer in freenode) and we'll help you. There are also portable builds available, those should work on any distro.

Re:Firefox nightlies for Linux are now using Gtk+3 by anon4 on Friday July 24, 2015 @06:48AM (#9941102)
P.S. and let's not forget that Gtk3 really really wants to draw its own titlebars and do its own window management.
Re:Firefox nightlies for Linux are now using Gtk+3 by xpinguin on Friday July 24, 2015 @09:40AM (#9941897)
Re:Firefox nightlies for Linux are now using Gtk+3 by bitwize on Friday July 24, 2015 @12:37PM (#9943184)
We're switching to Wayland, where client-side window decorations are required. So this is prepping you for the future.
Re:Firefox nightlies for Linux are now using Gtk+3 by silon7 on Friday July 24, 2015 @09:16AM (#9941727)
That must optional, surely. Otherwise it's a dead end.
Re:Firefox nightlies for Linux are now using Gtk+3 by nandhp on Friday July 24, 2015 @11:36AM (#9942693)
I believe it's optional on the part of the application developers, but it's not optional on the part of the users. (Although it only happens if you have a compositing window manager, so that's one way to disable it.)
Re:Firefox nightlies for Linux are now using Gtk+3 by reitanqild on Friday July 24, 2015 @07:27AM (#9941198)
I for one like the current gnome themes but I can very much relate to (Gnome and Ubuntu) devs going off in other directions that I find weird and counterproductive ("breaking" (IMO) alt-tab, copying "shiny things" (dock) from Mac etc), copying other problematic (IMO) designs (single menu, hidden menus) from Mac.
Re:Firefox nightlies for Linux are now using Gtk+3 by flowless on Friday July 24, 2015 @08:10AM (#9941368)
Try Clearlooks-Phénix https://github.com/jpfleury/clearlooks-phenix

It's quite mature and available in number of distros. I'm pretty happy with it since I've discovered it.

Re:Firefox nightlies for Linux are now using Gtk+3 by xpinguin on Friday July 24, 2015 @09:22AM (#9941766)
I've encountered that while being on a quest to find perfect gtk3 theme :) Scrollbars are tremendous, which is crucial on tiling wm (see my screenshot above, for example).
Re:Firefox nightlies for Linux are now using Gtk+3 by nycticorax on Friday July 24, 2015 @02:02PM (#9943925)
I second this. Clearlooks-Phenix is great.