[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 211593] Disable plasma panel tooltips
From:       "Aaron J.Seigo" <aseigo () kde ! org>
Date:       2010-05-06 23:41:43
Message-ID: 20100506234143.0E0173FB32 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=211593





--- Comment #16 from Aaron J. Seigo <aseigo kde org>  2010-05-07 01:41:39 ---
if you could, please upload patches to reviewboard.kde.org as that allows
inline comments and what not..

in any case, in the patch this:

KConfig cfg( "tooltipmanagerrc" );
KConfigGroup cg(&cfg, "Delay");

should just be:

KConfigGroup cg(KGlobal::config(), "ToolTips");

(as noted in comment #11 :)

the next question will be: where does this get configured? it should probably
be added to: kdebase/workspace/kcontrol/workspaceoptions

(99% of the time, configuration without GUI means that the configuration is not
worth being there in the first place)

so.. i can take this patch and clean it up from here and commit it.. the above
is mostly a "view into our world" for any future patches you may contribute...

and thanks! :)

> I wish there were _any_ kind of documentation to help with that.

the code is in kdelibs/plasma/tooltipcontent.[cpp|h] .. add an enumeration to
the class of different types of tooltip (by function; e.g. Persistent,
Clickable, Normal .. whatever other permutations we may come up with) and add a
setType(ToolTipContent::Type type) and Type type() const method to the class.
then reference that value in ToolTipManager to figure out what to do :)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic