Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73868 - libglade-2.4.1 is buggy and incompatible with the older toolbar API
Summary: libglade-2.4.1 is buggy and incompatible with the older toolbar API
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 23:26 UTC by Brian Dolbec
Modified: 2004-12-10 22:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Dolbec (RETIRED) gentoo-dev 2004-12-08 23:26:14 UTC
There have been a couple bug reports to portholes site reporting the toolbar icons have dissapeared.   The problem is that libglade-2.4.1 implements the new toolbar API which is incompatible with the old toolbar widgets.  Attempting to upgrade portholes toolbar to the new API widgets does not work completely due to bugs in libglade.  There is apparently a fix in libglades cvs.

I recommend masking libglade-2.4.1 if you are not able to patch it.

I will be able to release an updated glade file when there is a working libglade available.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2004-12-09 22:55:22 UTC
Could you possible explain the problem again (call me stupid if you like)

For example, I've merged meld (just because it uses libglade) with libglade-2.4.1 and I have no problems with any icons.
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2004-12-10 09:06:21 UTC
Meld doesn't work for me when I upgraded to libglade-2.4.1.

here are 2 screenshots that show the problem.
http://www3.telus.net/dol-sen/porthole/Screenshot-meld1.png
http://www3.telus.net/dol-sen/porthole/Screenshot-porthole-meld.png

I first merged meld with libglade-2.4.0 and all worked well.
I upgraded libglade and meld no longer worked properly.  The screenshot shows porthole running loaded with libglade-2.4.0 before I upgraded, porthole-terminal showing the libglade upgrade and meld loaded with the new libglade.

I re-emerged meld in case the ebuild/install process checked the libglade version to install correctly, but it did not fix the problem.

I checked melds code, and it does not check the libglade version on startup, the gladefile also uses the old  "button" class rather than the nes "GtkToolButton" class.

I have porthole's code now checking the libglade version and loading the appropriate glade file. It needs a little more degugging yet and hope to release a new version for Christmas.
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2004-12-10 19:17:05 UTC
You are correct, sorry for the confusion. I've verified this and masked it.
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2004-12-10 22:45:31 UTC
I think the best solution would be to slot it.  Then any package that requires the new toolbar API will need to specify the >=x11-libs/libglade-2.4.1.  all older packages would need to specify (>=x11-libs/libglade-2.0.1 and <x11-libs/libglade-2.4.1).  Although it may be a royal pain to implement.

As for porthole, the only problem I've found so far is the sync tooltip does not function.  It is dynamicly set to show the last sync time.   As I stated, my googling about the problem I've found mail that stated the problem was fixed in cvs.