Bug 266559 - Show contact tooltips even when main window has not focus
Summary: Show contact tooltips even when main window has not focus
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: Main Application (show other bugs)
Version: 1.0.80
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 20:21 UTC by Adria
Modified: 2011-03-08 03:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.6.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adria 2011-02-17 20:21:32 UTC
Version:           1.0.80 (using Devel) 
OS:                Linux

It would be nice that when you hoover on a contact from the contact list, their tooltip was shown even if that window has not focus.

I've managed to achieve this behaviour by adding:

   window()->setAttribute( Qt::WA_AlwaysShowToolTips );

to line 268 in kopetewindow.cpp

Is it the right approach? If so, would you mind including this?

Thank you very much.

I've been using this hack for some days now and it hasn't caused any problems

Reproducible: Always

Steps to Reproduce:
Hoover on a contact with the contact list unfocused



OS: Linux (x86_64) release 2.6.37-ARCH
Compiler: gcc
Comment 1 Lamarque V. Souza 2011-02-18 18:14:04 UTC
SVN commit 1221521 by lvsouza:

Show contact tooltips even when main window has not focus.
This problem happens when using "click to focus" window policy.
It does not happen when using "focus follow mouse" policy.
Thanks Adria for the patch.

BUG: 266559


 M  +1 -0      kopetewindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1221521
Comment 2 Lamarque V. Souza 2011-02-18 18:16:58 UTC
SVN commit 1221522 by lvsouza:

Backport r1221521 by lvsouza from trunk to the 4.6 branch:

Show contact tooltips even when main window has not focus.
This problem happens when using "click to focus" window policy.
It does not happen when using "focus follow mouse" policy.
Thanks Adria for the patch.

CCBUG: 266559


 M  +1 -0      kopetewindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1221522