Opened 9 years ago

Closed 2 years ago

#51296 closed defect (fixed)

gtk3 @3.20.3_0+quartz: css formating doesn't work anymore, missing icons

Reported by: olmanolman Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: help@…
Port: gtk3

Description

I installed the following

osx el capitan
xcode
sudo xcodebuild -license 

download and install the MacPorts-2.3.4-10.11-ElCapitan.pkg

sudo port install cairo +quartz+no_x11
sudo port install pango +quartz+no_x11
sudo port install gtk3 +quartz+no_x11
sudo port install gnome-themes-standard +quartz+no_x11

after run the added program there are the following problems :

the css formatting of the window doesn't work anymore : line 106 - 111
in the gtk_file_chooser_dialog_new the icons of the type of the document are missing.

I added in a zip document :
pangotestopt.c ---> the testprogram
css_and_icon.txt ---> the versions of libgtk-3.0.dylib working and not working

folder ok ---> how it is ok
folder not ok ---> how it is not ok

Attachments (1)

Archiv.zip (202.6 KB) - added by olmanolman 9 years ago.

Download all attachments as: .zip

Change History (16)

Changed 9 years ago by olmanolman

Attachment: Archiv.zip added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to devans@…

comment:2 Changed 9 years ago by dbevans (David B. Evans)

Status: newassigned
Summary: css formating doesn't work anymore, missing iconsgtk3 @3.20.3_0+quartz: css formating doesn't work anymore, missing icons
Version: 2.3.4

Thanks for the complete report. Will get back to you after verifying your results and, hopefully, identifying the cause.

comment:3 Changed 9 years ago by dbevans (David B. Evans)

Note that the variant +no_x11 no longer has any effect for gtk3 and its dependencies. Use -x11 instead if you want to build without X11 support. By default pango and cairo build with both +quartz and +x11 backends enabled.

comment:4 Changed 9 years ago by su-v

Upstream report tracking missing icons in GTK3 file chooser on OS X:
https://bugzilla.gnome.org/show_bug.cgi?id=765649

comment:5 Changed 9 years ago by dbevans (David B. Evans)

I can reproduce this problem on X11 as well so it doesn't seem to be a Quartz specific issue. Problem persists in unstable 3.21.1. The iconhelper patch that Hergert mentions in the referenced bug report was committed to master shortly after 3.21.1 was cut but backed out again without further comment a few hours later.

https://git.gnome.org/browse/gtk+/commit/?id=8fc11ef2a513b3029c208b2d37d3716998a9389c

comment:6 Changed 9 years ago by olmanolman

I installed glib2 2.48.0_0 < 2.48.1_0 gtk3 3.20.3_0 < 3.20.4_0

still the same problems

comment:7 Changed 9 years ago by dbevans (David B. Evans)

Yes, no upstream resolution as yet. See the upstream ticket concerning problems introduced by the first attempt (now reverted). I'm not sure if the css issue and the icon issue are related but seems likely. If anyone here has a suggestion or fix please pass it along to upstream.

comment:8 Changed 9 years ago by dbevans (David B. Evans)

gtk3 updated to 3.20.6 today and problem remains. Only good news is that the upstream bug has been elevated in severity from normal to major. I suspect that a fix won't appear in a stable release until 3.22.0.

comment:9 Changed 8 years ago by help@…

Cc: help@… added

Cc Me!

comment:10 Changed 8 years ago by manus@…

I'm having the problem too. They mention another patch that could be used patch #326905. Is this something we can try on the meantime?

comment:11 Changed 8 years ago by dbevans (David B. Evans)

Well, I misread the ticket. I thought the patch mentioned was the same one that was committed to master and reverted due to breakage elsewhere. But it appears that it is not. Will do some testing with it, but I'm suspicious because no final fix has been committed upstream yet. Have pinged the ticket for a status update.

comment:12 Changed 8 years ago by dbevans (David B. Evans)

gtk3 updated to version 3.22.0 in r153232 including an upstream post-release patch that fixes the issue reported here with missing document type icons in the file chooser dialog. The css formating issue is separate from this and remains unresolved. Tested with test app supplied by reporter as well as the picker demo in gtk3-demo provided by gtk3. Be sure to install adwaita-icon-theme before attempting to test.

Last edited 8 years ago by dbevans (David B. Evans) (previous) (diff)

comment:13 Changed 8 years ago by olmanolman

today I checked both :

icons are ok css is still the same !

whats the timeline for fixing this !

comment:14 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from dbevans to mascguy

Take over Dave's tickets for GTK and friends, now that he's formally dropped maintainership. Boo! ;-)

comment:15 Changed 2 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

Reviewing the upstream bugs/history, I believe this was resolved long ago.

If it's still an issue, please reopen.

Note: See TracTickets for help on using tickets.