"Search for" field is blocked on the searching tab

Bug #441734 reported by vitalio on 2009-10-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QtCurve (GTK)

Bug Description

I am connecting to my local network hub.
Search tab becomes disables when I open search tab (look at attached picture).
It is very annoying to me to search necessary files manually :)
OS Kubuntu Karmic Beta release; KDE 4.3.1
LinuxDC++ version: 1.0.3 Core version: 0.698

vitalio (vitalio83) wrote :
vitalio (vitalio83) wrote :

I'm sorry.. I meant that the field "Search for" is not available - not search tab

Steven Sheehy (steven-sheehy) wrote :

The search box is disabled all the time for you or only after you do something? If you run linuxdcpp from command line do you get any errors or warnings? What version of GTK+?

vitalio (vitalio83) wrote :
Download full text (4.2 KiB)

Yes blocking is present all the time when I open search tab.
Unfortunately there are no any command line option to enable detailed debug mode. After reproducing I have no any strangeness in output.
[sirius@reactor]:~$ linuxdcpp
Loading: Hash database
Loading: Shared Files
Loading: Download Queue
About versions:
[sirius@reactor]:~$ ldd /usr/bin/linuxdcpp
        linux-vdso.so.1 => (0x00007fff6c2d1000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fcbb48f2000)
        libz.so.1 => /lib/libz.so.1 (0x00007fcbb46db000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007fcbb44ca000)
        libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007fcbb4143000)
        libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007fcbb3ef5000)
        libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0x00007fcbb3cdc000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007fcbb36d1000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007fcbb3425000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007fcbb3209000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007fcbb2fc0000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fcbb2d7a000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fcbb2b75000)
        libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00007fcbb28ae000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fcbb259e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fcbb2383000)
        libc.so.6 => /lib/libc.so.6 (0x00007fcbb2014000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fcbb4b0e000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fcbb1e10000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007fcbb1ac3000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007fcbb18a3000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007fcbb167a000)
        libm.so.6 => /lib/libm.so.6 (0x00007fcbb13f6000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007fcbb11ea000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007fcbb0f41000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007fcbb0cbe000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fcbb0a39000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fcbb0807000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007fcbb0603000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fcbb02cd000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007fcbb00ca000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007fcbafec8000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007fcbafcc2000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fcbafab0000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fcbaf8a6000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007fcbaf6a4000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00007fcbaf499000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007fcbaf290000)
        libXcursor.so.1 => /usr/lib/libXcu...


vitalio (vitalio83) wrote :

[sirius@reactor]:~$ apt-cache show libgtk2.0-common
Package: libgtk2.0-common
Priority: optional
Section: misc
Installed-Size: 20668
Maintainer: Ubuntu Desktop Team <email address hidden>
Original-Maintainer: Sebastien Bacher <email address hidden>
Architecture: all
Source: gtk+2.0
Version: 2.18.0-1ubuntu2
Recommends: libgtk2.0-0

Steven Sheehy (steven-sheehy) wrote :

Oops, marked the wrong one as duplicate.

Can someone please compile in debug mode either 1.0.3 or the latest trunk from source and reproduce this issue? I want to see if there is any debug output on the command line.

LinuxDC++ does not explicitly set the search field as disabled anywhere in the code. We mark it as visible inside the glade, so it should be enabled on start-up.

vitalio (vitalio83) wrote :

I have compiled 1.0.3 from source with debug=true
Now I have following output
[sirius@reactor]:~/Sources/linuxdcpp-1.0.3$ /usr/local/bin/linuxdcpp
Thrown: FileException: Could not open file
Thrown: FileException: Could not open file
Loading: Hash database
Loading: Shared Files
UnBZFilter end, 6200/3097 = 2,0019
Loading: Download Queue
BufferedSocket::connect() 0x136dca0
BufferedSocket::run() start 0x136dca0
MyInfo Rocket...
NmdcHub::onLine Unknown command $HubTopic HomeNet P2P Network Hub
MyInfo Rocket...
MyInfo Rocket...

Can this file exception to be the root of problem?

By the way, after opening search tab search field is initiated as enabled. But during short time it becomes disabled(approximately of the one hundredth parts of a second). I forgot to mention it during the problem description

Razzloss (razzloss) wrote :

FileExceptions are "normal" and shouldn't cause problems. You did open the search tab during that output?

Changing the GTK theme might help. The QT <-> GTK theme has had some problems in the past, so try to change the GTK theme and see if the problem goes away.


vitalio (vitalio83) wrote :

Yes, problem is solved by changing the theme. Blocking of the field has the place when I choose QtCurve theme only. Thanks for a help! :)

Toni Helenius (toni-helenius) wrote :

Can we then change the package this bug belongs to? But this should be fixed ASAP still in the theme, or change the default GTK theme in Kubuntu. Normal users can't figure this one out...

Steven Sheehy (steven-sheehy) wrote :

I've added the gtk2-engines-qtcurve project to this bug. I'm not sure if that is the right place, so the original bug submitters may want to make sure this bug gets reported to the proper upstream site. Marking as invalid since it's not a linuxdcpp issue.

Changed in linuxdcpp:
status: New → Invalid
Toni Helenius (toni-helenius) wrote :

I've notified the upstream. We had a healthy conversation on http://kde-look.org/content/show.php/QtCurve+%28KDE4%2C+KDE3%2C+%26+Gtk2+Theme%29?action=content&content=40492.

 - He has found the bug
 - Promised to fix it ASAP and deliver 0.69 release in just 2 days

This probably affects other GTK applications in Kubuntu as well. So I urge Kubuntu developers to then upload this new version (or a patch) so that this wont be issue in the upcoming 9.10.

Ionut Ticus (ticus-ionut) wrote :

I can confirm this bug affects my system as well. I'm using Kubuntu Karmic and the Search field is disabled in LinuxDCPP.
An easy fix to this problem is to change the GTK+ Appearance Settings: Settings -> System Settings -> Appearance -> GTK+ Appearance and select Raleigh instead of QtCurve.

Best wishes!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers