This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Systray icon info does not show up when move mouse over

Tags: None
(comma "," separated)
DarkVision
Registered Member
Posts
5
Karma
0
Hi...
Slackware 11.0, KDE 3.5.5, Ktorrent 2.0.3/2.1rc1:

Torrents loaded, Window closed. When i move the mouse over the Systray-Icon the infowindow appears only for a few ms. I cannot read the current stats.

Is there a setting to increase the display time?

DV
George
Moderator
Posts
5421
Karma
1

Sat Jan 06, 2007 1:09 pm
This is handled by Qt's tooltips, I don't know how to change these settings. And I haven't found anything in the documentation how to do this.
DarkVision
Registered Member
Posts
5
Karma
0

Sat Jan 06, 2007 1:43 pm
Well... other tooltips stay much longer... about 5seconds. But the tooltip for the ktorrent-icon either not shows up or dissapears that fast that i cannot read anything.

DV
imported4-Ivan
Registered Member
Posts
819
Karma
0

Sat Jan 06, 2007 2:12 pm
Yes, I know. I have seen this problem too.
Problem is that a few KDE apps use almost the same mechanism for tooltips and they behave properly but ours doesn't. It could be some kind of a bug in Qt triggered by something in our code but I couldn't find it.

I have planned to rewrite tooltip code to show more usable info and update some values real time, like amarok does, but I still haven't found the time for it.
DarkVision
Registered Member
Posts
5
Karma
0

Sat Jan 06, 2007 2:13 pm
OK, thx for the info.

DV
J
Registered Member
Posts
86
Karma
0

Sat Jan 06, 2007 2:14 pm
I had the same problem for some time, but currently I am unable to reproduce it using a svn snapshot from yesterday.


Thank you KTorrent developers! :)
_________________
"Thou shalt not steal." - STOP PIRACY NOW!
George
Moderator
Posts
5421
Karma
1

Sat Jan 06, 2007 2:37 pm
Maybe some versions of Qt don't like the fact that the tooltip is updated frequently ?
DarkVision
Registered Member
Posts
5
Karma
0

Sat Jan 06, 2007 2:44 pm
QT 3.3.7 installed here...

DV
Knut
Registered Member
Posts
79
Karma
0

Sat Jan 06, 2007 4:51 pm
This is nothing new, it has always been a problem in KTorrent. All tooltips in KTorrent have a problem.

It's quite easy to "lock" them so no tooltips is shown anywhere, or very hard to trigger. Just try to trigger the chunkbar tooltip a few times, and keep it as long as possible. After that it's impossible to get any tooltips in the toolbar etc, for some time.

And it's clearly a update related problem, if you stop all torrents(aka notting updates). The tooltips works ok everywhere.
jdong
Registered Member
Posts
358
Karma
0

Sat Jan 06, 2007 5:47 pm
I can't think of any other KDE apps that update their tooltips once every second... so we might be triggering a Qt bug or abusing the Qt tooltip mechanism...
imported4-Ivan
Registered Member
Posts
819
Karma
0

Sat Jan 06, 2007 8:56 pm
I'd say.

I have to take a look at amarok code once again and see if we can somehow do the same as they do.
Knut
Registered Member
Posts
79
Karma
0

Sat Jan 06, 2007 11:18 pm
jdong wrote:I can't think of any other KDE apps that update their tooltips once every second...


But this should only affect the tooltip for the systray icon. No other tooltip in KTorrent should be affected by that, as they contain nothing that updates every second.

I think it's better to hunt for the reason every regular tooltip does not function properly, rather than consentrate on the special case of the system tray. If you disable the systemtray icon the other tooltips still behave the broken way. So either do KTorrent continue to send updates to the systray icon's tooltip when it's disabled, or the problem is most likely elsewhere.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft