Edit: fixed, patch in this post.

(gedit:2956): Gtk-WARNING **: Theme parsing error: <data>:8:15: Not using units is deprecated. Assuming 'px'.


Lippy wrote: Until then, I'd use a theme that works for now.

Lippy wrote:If you are tracking Testing/Sid, then it would have been the GTK+ 3.4 update that caused it. It did for me anyway. If that's the case, then the themes just need updating. Until then, I'd use a theme that works for now.
doktornotor wrote:Well, that is about none that I could find

dclement wrote:I'm rather new to Linux Mint: what does "tracking Testing or Sid" mean?
dclement wrote:Also, what package contains GTK+ 3.4?
dpkg -l libgtk-3-0



Lippy wrote:Tracking Testing/Sid means pointing the sources directly to either the Debian Testing or Sid (aka Unstable) repositories. Some people do this in order to have more current packages, but it comes at a cost of stability.
Lippy wrote:This should tell you what version of GTK+ 3 you have.
Code: Select all
dpkg -l libgtk-3-0


dclement wrote:With LibreOffice you'd want to install libreoffice-gnome (if you're not to get an ugly Windows-looking LibreOffice).
Now this libreoffice-gnome depends on libgtk-3-0, which breaks many Mint themes when upgraded. Kind of checkmate.

Monsta wrote:The current libreoffice-gnome (3.4.5) here in UP4 merely depends on libreoffice-gtk which in turn depends on libgtk2.0-0 >= 2.24.0... so it's still Gtk+2, not 3.


Monsta wrote:libreoffice-gtk still depends on libgtk2.0-0 (>= 2.24.0) in Sid. Have you by any chance installed libreoffice-gtk3 instead?
libreoffice-gnome depends only on libreoffice-gtk (without 3) in both Wheezy and Sid.

--- /usr/share/themes/Mint-X/gtk-3.0/gtk-widgets.css 2012-06-24 12:20:42.606634258 +0200
+++ /usr/share/themes/Mint-X/gtk-3.0/gtk-widgets.css 2012-06-24 12:24:10.087168651 +0200
@@ -66,6 +66,16 @@
-unico-inner-stroke-width: 0;
}
+GtkWindow {
+ color: @fg_color;
+}
+
+* {
+ /* inherit the color from parent by default */
+ color: inherit;
+ background-color: @bg_color;
+}
+
/**********
* states *
**********/
--- /usr/share/themes/Mint-X-Metal/gtk-3.0/gtk-widgets.css 2012-06-24 12:32:34.677725260 +0200
+++ /usr/share/themes/Mint-X-Metal/gtk-3.0/gtk-widgets.css 2012-06-24 12:33:26.531077542 +0200
@@ -66,6 +66,16 @@
-unico-inner-stroke-width: 0;
}
+GtkWindow {
+ color: @fg_color;
+}
+
+* {
+ /* inherit the color from parent by default */
+ color: inherit;
+ background-color: @bg_color;
+}
+
/**********
* states *
**********/


Monsta wrote:I guess Clem will apply these changes while preparing the Update Pack 5 - IIRC it will bring Gnome 3.4 to LMDE.

Clem wrote:I’ll apologize in advance for the sarcasm here.. I need to take another cheap shot at the GTKGnome developers here. GTK3 isn’t a reliable API. Maybe it should be called libgnome instead. GTK3.4 came with Gnome3.4, and wasn’t compatible with previous GTK3 themes. This means all GTK3 applications looked really ugly not only with all the GTK2 themes which don’t support GTK3 (almost all of them), but also the few which did. With this in mind we had three options:We went for option 3 “this time”. I hope this little example was enough to convince 3rd party developers not to use GTK3. I couldn’t find any release notes or documentation explaining the regression or how to solve the issue.. I genuinely get the feeling that GTK 3.4 is developed for Gnome 3.4, that it doesn’t really matter if it breaks things and that we’re not supposed to use it outside of Gnome.
- Give you a desktop with poor integration and applications which look different based on the API they use (which is completely unacceptable)
- Ditch all GTK3 applications from Mint and replace them with earlier GTK2 versions, or GTK2 or QT applications (this includes Gnome apps, but also Gdebi, Transmission and a few others)
- Rant like mad, remove all themes, and waste countless hours in giving Mint-X and Mint-Z proper GTK “3.4″ support even though it’s likely to break again in 3.6…

Monsta wrote:Gnome 3.4 goes together with GTK+ 3.4so the update affects even XFCE or LXDE - if you run any GTK+3 apps in it
Monsta wrote:I can't help but post a quote from this blog post:Clem wrote:I’ll apologize in advance for the sarcasm here.. I need to take another cheap shot at the GTKGnome developers here. GTK3 isn’t a reliable API. Maybe it should be called libgnome instead. GTK3.4 came with Gnome3.4, and wasn’t compatible with previous GTK3 themes. This means all GTK3 applications looked really ugly not only with all the GTK2 themes which don’t support GTK3 (almost all of them), but also the few which did.
...
I hope this little example was enough to convince 3rd party developers not to use GTK3. I couldn’t find any release notes or documentation explaining the regression or how to solve the issue.. I genuinely get the feeling that GTK 3.4 is developed for Gnome 3.4, that it doesn’t really matter if it breaks things and that we’re not supposed to use it outside of Gnome.


Users browsing this forum: Riko and 3 guests