Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-02-10 19:39:58

es20490446e
Member
Registered: 2019-02-10
Posts: 7
Website

GTK 3.24.4 will break themming (again)

I'm not here for the bug, I'm here for the rant. My hate towards GTK.

Using Manjaro XFCE x32 18:0.0, if I selectively upgrade GTK from GTK 3.24.1 to 3.24.4, various applications show garbage and even freeze the system.

For example the welcome screen shows no content but glitches, and opening the package manager settings freezes the system. Menulibre switches become garbage after clicking on them while using a stock XFCE theme.

I won't report to GTK developers because they shuck. This happens over and over again, and when I report they always tell me the same bullshit: that everything is all right.

Bless you for having to deal with such crap, dam them to hell. On XFCE, outside the desktop environment tools, I will be using QT applications as far as I can.

Offline

#2 2019-02-10 19:49:53

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: GTK 3.24.4 will break themming (again)

Hello and welcome.

Can you offer some more specific examples of these issues? I'm running Arch and GTK 3.24.5 and I'm not noticing any breakage.

For example the welcome screen shows no content but glitches, and opening the package manager settings freezes the system.

What are the names of these packages?

Menulibre switches become garbage after clicking on them while using a stock XFCE theme.

Which theme is the "Stock" Xfce theme? This might be a distro-specfic thing since by default, Xfce will use Adwaita (See: https://git.xfce.org/xfce/xfce4-setting … ttings.xml - "empty" means it will use the GTK3 built-in, which is Adwaita).

To try out the default theme, simply clear out the "ThemeName" setting:

xfconf-query -c xsettings -p /Net/ThemeName -s ""

Are there any other apps that you are finding affected? Can you post screenshots with the name of the theme that you are using? I wonder if this is an issue of themes not be able to keep up with GTK3 changes. I'll have a look to see what recent GTK3 changes occurred.

Edit: Here is a listing of al GTK3 changes. Looks like some changes to the switch element:
- 3.24.3 -  switch: Use Unicode symbols for I/O instead of translations
- 3.24.4 -  switch: Add fallbacks for symbols
- 3.24.5 - GtkSwitch: Use icons instead of glyphs

Last edited by ToZ (2019-02-10 20:10:17)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-02-10 20:14:46

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: GTK 3.24.4 will break themming (again)

so what would you recommend in place of GTK+ that has bindings for programming in Python3?

Offline

#4 2019-02-10 20:32:11

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: GTK 3.24.4 will break themming (again)

@es20490446e, a quick way to get rid of the new GtkSwitch glyphs (which I agree look ugly) is to add the following to ~/.config/gtk-3.0/gtk.css:

switch image {
-gtk-icon-transform: scale(0.0);
}

...it will return the switch element to its previous look.

@Skaperen, Xfce is built on GTK, so it's not an easy question to answer.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2019-02-10 23:25:17

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: GTK 3.24.4 will break themming (again)

ToZ wrote:

@Skaperen, Xfce is built on GTK, so it's not an easy question to answer.

i didn't think it would be easy.  i'll let @es20490446e answer it, now.

Offline

#6 2019-02-10 23:36:49

es20490446e
Member
Registered: 2019-02-10
Posts: 7
Website

Re: GTK 3.24.4 will break themming (again)

Offline

#7 2019-02-10 23:57:50

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: GTK 3.24.4 will break themming (again)

It looks like you have a few different problems going here.

First is the switch issue. I can't replicate this on my manjaro install. I'm using both the Adwaita Appearance and Icon themes like you are and with both gtk3 and gtk3-classic (both at 3.24.4-1). Can you post back the results of :

pacman -Qi gtk3 | grep -E 'Name|Version'

...and the contents of ~/.config/gtk-3.0/gtk.css.

Secondly, there is some app that you are trying to start that doesn't start. I can't tell what its called. Can you try running the app manually in a terminal window to see what error messages are displayed?

Thirdly, in the package manager (pamac), you seem to be having an issue entering your password. You seem to try 3 times before the hang. Not sure if this an issue with your authentication agent or something else. In a terminal window, try running:

pamac-manager

...and see if any messages are displayed when you try to authenticate.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2019-02-11 04:40:19

es20490446e
Member
Registered: 2019-02-10
Posts: 7
Website

Re: GTK 3.24.4 will break themming (again)

GTK version is:

3.24.4-1.0

Pamac Manager echoes various times:

(pamac-manager:1093): Pango-CRITICAL **: 05:33:00.110: pango_layout_get_pixel_extents: assertion 'PANGO_IS_LAYOUT (layout)' failed
(pamac-manager:1093): Gdk-WARNING **: 05:33:00.146: Native Windows wider or taller than 32767 pixels are not supported

gtk.css doesn't exist.

Offline

#9 2019-02-11 18:17:17

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: GTK 3.24.4 will break themming (again)

I was hoping for both  the name and the version. Please post back the results of:

pacman -Qi gtk3 | grep -E 'Name|Version'

Can you create a second account on your computer and see if you can replicate the problem there as well?

.


(pamac-manager:1093): Pango-CRITICAL **: 05:33:00.110: pango_layout_get_pixel_extents: assertion 'PANGO_IS_LAYOUT (layout)' failed

I would research here for the source of the problem. Perhaps open a bug report against pamac-manager.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#10 2019-02-11 18:43:25

es20490446e
Member
Registered: 2019-02-10
Posts: 7
Website

Re: GTK 3.24.4 will break themming (again)

Name is: gtk3

Any second account suffers the same issues. In fact it also happens using other desktop environments outside XFCE, even non based on GTK. Simply most GTK apps are broken, including the XFCE tools and settings.

Offline

#11 2019-02-11 18:53:12

es20490446e
Member
Registered: 2019-02-10
Posts: 7
Website

Re: GTK 3.24.4 will break themming (again)

Also reported to Pamac.

Offline

#12 2019-02-11 21:53:50

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: GTK 3.24.4 will break themming (again)

es20490446e wrote:

Name is: gtk3

Any second account suffers the same issues. In fact it also happens using other desktop environments outside XFCE, even non based on GTK. Simply most GTK apps are broken, including the XFCE tools and settings.

I think you should create a bug report through Manjaro's bug tracking system - I don't think this is an Xfce-specific  issue, but rather one related to gtk.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#13 2019-02-12 00:50:24

es20490446e
Member
Registered: 2019-02-10
Posts: 7
Website

Re: GTK 3.24.4 will break themming (again)

The root cause of this issue is how GTK is versioned. There is no feature freeze, the API can change with each point release. It's simply unreliable software.

What happened here is that with the latest update the GTK API was different, so Pango didn't understand it.

Then Pango drew a layout of unlimited length. And GTK, instead of limiting the window size as it should, it just discarded the content all together but kept drawing some elements of unlimited length, creating a glitch and a hang.

If I post this in the GNOME bug tracker, without cursing, they will just came with some lame excuse. They just want to keep doing it their way, and as long as it fits their own desktop and distros they are happy with that. They have a vision, and that vision is blindness.

Anyway thanks for your help.

Last edited by es20490446e (2019-02-12 00:51:19)

Offline

#14 2019-02-12 01:42:54

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: GTK 3.24.4 will break themming (again)

so what you are saying is that incompatible changes are not bumping the major number in the version number?  so if i (a Python coder) want to avoid this mess, what SDK should i be using?

Offline

#15 2019-02-12 11:28:42

es20490446e
Member
Registered: 2019-02-10
Posts: 7
Website

Re: GTK 3.24.4 will break themming (again)

PyQt5.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.025 seconds, 8 queries executed - Memory usage: 599.31 KiB (Peak: 616.16 KiB) ]