![]() Registered Member ![]()
|
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!! |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
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:-) |
![]() Moderator ![]()
|
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. |
![]() Registered Member ![]()
|
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? |
![]() Moderator ![]()
|
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. |
![]() Registered Member ![]()
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]