By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 724 - kgtk-wrapper doesn't work with firefox and gimp
Summary: kgtk-wrapper doesn't work with firefox and gimp
Status: RESOLVED WONTFIX
Alias: None
Product: TDE
Classification: Unclassified
Component: non-core programs (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: amd64 Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-12-06 09:05 CST by bda
Modified: 2013-04-05 01:55 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Fix 'lib64' directory for distrubution using it (905 bytes, patch)
2012-08-08 15:39 CDT, Francois Andriot
Details | Diff
Log file using 'kgtk-wrapper firefox' on Centos 5.8 (18.75 KB, text/plain)
2012-08-08 16:35 CDT, Francois Andriot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bda 2011-12-06 09:05:49 CST
Trinity 3.5.13 on Centos 5.7

kgtk-wrapper firefox

produces errors:

ERROR: ld.so: object '/opt/trinity/lib/kgtk/libkgtk2.so' from LD_PRELOAD cannot be preloaded: ignored.

This is due to a typo in /opt/trinity/bin/kgtk2-wrapper:

/opt/trinity/lib/kgtk/libkgtk2.so should be /opt/trinity/lib64/kgtk/libkgtk2.so

Even with a corrected /opt/trinity/bin/kgtk2-wrapper,

kgtk-wrapper firefox

fails. There is no message but firefox uses GTK file picker instead of Trinity/KDE one.

This works on Ubuntu 11.10

kgtk-wrapper gimp 

fails also with message:

which: no kdialogd4 in (...
Comment 1 Francois Andriot 2012-08-08 15:39:28 CDT
Created attachment 779 [details]
Fix 'lib64' directory for distrubution using it
Comment 2 Francois Andriot 2012-08-08 16:00:38 CDT
Hello, the "kdialogd4 not found" message is harmless. It is written by the script "kdialogd-wrapper", when using command "which".

After fixing the "lib" => "lib64" issue, it is working here on Mageia 2 with firefox.

Maybe the kdialogd3 does not work at all in Centos 5.
Comment 3 Francois Andriot 2012-08-08 16:35:44 CDT
Created attachment 780 [details]
Log file using 'kgtk-wrapper firefox' on Centos 5.8

Tested inside a Centos 5.8 virtual machine (x86_64):

$ kgtk_wrapper firefox
(then, use file=>open file menu).

It crashes immediatly with a GTK "undefined symbol".
I think that the GTK version in Centos 5 (gtk 2.10) is simply too old.

It is strange that kgtk-qt even builds, since the gtk-qt-engine FTBFS with the same undefined symbol.
Comment 4 Francois Andriot 2012-08-08 16:37:00 CDT
For information, trying to build gtk-qt-engine on Centos 5:

Building CXX object kcm_gtk/CMakeFiles/kcm_kcmgtk-module.dir/searchpaths.cpp.o
cd /home/albator/rpmbuild/BUILD/BUILD.el5.x86_64/applications/gtk-qt-engine/build/kcm_gtk && /usr/lib64/ccache/c++   -Dkcm_kcmgtk_module_EXPORTS -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/opt/trinity/include -I/usr/lib64/qt-3.3/include -I/opt/trinity/include/tqt -I/home/albator/rpmbuild/BUILD/BUILD.el5.x86_64/applications/gtk-qt-engine/build/kcm_gtk -I/home/albator/rpmbuild/BUILD/BUILD.el5.x86_64/applications/gtk-qt-engine/kcm_gtk -I/home/albator/rpmbuild/BUILD/BUILD.el5.x86_64/applications/gtk-qt-engine/build   -D HAVE_BONOBO -o CMakeFiles/kcm_kcmgtk-module.dir/searchpaths.cpp.o -c /home/albator/rpmbuild/BUILD/BUILD.el5.x86_64/applications/gtk-qt-engine/build/kcm_gtk/searchpaths.cpp
CMakeFiles/qtengine.dir/qt_theme_draw.c.o: In function `draw_box':
/home/albator/rpmbuild/BUILD/BUILD.el5.x86_64/applications/gtk-qt-engine/src/qt_theme_draw.c:807: undefined reference to `gtk_widget_has_focus'
CMakeFiles/qtengine.dir/qt_theme_draw.c.o: In function `draw_arrow':
/home/albator/rpmbuild/BUILD/BUILD.el5.x86_64/applications/gtk-qt-engine/src/qt_theme_draw.c:533: undefined reference to `gtk_widget_get_state'
collect2: ld returned 1 exit status
make[2]: *** [src/libqtengine.so] Error 1
make[2]: Leaving directory `/home/albator/rpmbuild/BUILD/BUILD.el5.x86_64/applications/gtk-qt-engine/build'
make[1]: *** [src/CMakeFiles/qtengine.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 5 Timothy Pearson 2013-04-05 01:55:23 CDT
kgtk-wrapper is terribly buggy and does not work on gtk3 systems, so it has been deprecated and is now unmaintained.  Please open a separate bug report for any issues noted with gtk-qt-engine, which is still active and maintained.

Thanks!