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

Tooltip not working in 2.0 final

Tags: None
(comma "," separated)
paulicat
Registered Member
Posts
3
Karma
0

Tooltip not working in 2.0 final

Fri Aug 18, 2006 6:29 pm
HI there,

I just wanted to see whether anyone else had this problem or if its something specific to my install:
When hovering over the KTorrent systray icon, the tooltip only pops up occasionally, and when it does pop up, its only for a fraction of a second.
Not long enough to make it useful, and certainly not normal behaviour.

Thanks, and keep up the great work on KTorrent!!
stoeptegel
Registered Member
Posts
1075
Karma
0

Fri Aug 18, 2006 7:36 pm
I don't have the problem, but the time out sure is short.

Personally i like the time out of RSIBreak 0.7.1. It has a ten seconds time out when you keep the mouse on the icon, and quits the popup when you leave the icon before time out.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Fri Aug 18, 2006 7:44 pm
I'm experiencing this kind of behavior from time to time. I'm not sure if it's a KTorrent bug of KDE. Searching through code gave me nothing suspicious so I guess this could be somehow related to KDE...
Knut
Registered Member
Posts
79
Karma
0

Fri Aug 18, 2006 11:39 pm
I see this more or less all the time. I don't really remember when I first noticed. Heres my thoughts on the issue based on observations.

It does not only happen with the systray icon, but with all tooltips popups like icons in the application and the toltip on chunkbar. And sometimes they stop popping up alltogeter. Another ting it only happens when you have active downloads(uploads).

I think it's some update/refresh that eat/kills the tooltip. Something that's updated regularly with short intervals when you have active transfers. At first I suspected the infowidget/chunkbar, but the behavior is the same when I disable it(It may still be a culprit, but not the only one). The most likely candidates are then the file up/download lists, and perhaps the statusbar. The question remains though, if this is a KDE/Qt problem or something in KTorrent:-)
George
Moderator
Posts
5421
Karma
1

Sat Aug 19, 2006 9:57 am
I think tooltips are handled by Qt, we just have to set the text of the tool tip and then Qt shows it whenever it is needed.

However, we continuously update the GUI, that might interfere with this. You can set the GUI update interval to 5 seconds in the preferences. If it is the update, and the GUI interval is set to 5 seconds, this behavior should happen much less.
paulicat
Registered Member
Posts
3
Karma
0

Mon Aug 21, 2006 1:02 pm
Setting the gui update to 5 seconds does indeed make the tooltip visible for longer periods of time.

I'm not a KDE developer at all, but I'm wondering if its possible to send the tooltip out to its own thread or something similar so that the gui can still refresh often and tooltips stay visible?
George
Moderator
Posts
5421
Karma
1

Mon Aug 21, 2006 4:14 pm
paulicat wrote:Setting the gui update to 5 seconds does indeed make the tooltip visible for longer periods of time.

I'm not a KDE developer at all, but I'm wondering if its possible to send the tooltip out to its own thread or something similar so that the gui can still refresh often and tooltips stay visible?


I have no idea how Qt handles tool tips internally, I don't think it is threaded (but it doesn't need to be, it's perfectly possible to do this single threaded)

I will take a look when I have some more time.
paulicat
Registered Member
Posts
3
Karma
0

Wed Aug 23, 2006 3:19 pm
Thanks George, I'll check back once in a while to see if you get anywhere with this.
Cheers and keep up the great work!!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]