Bug 276901 - Tooltips should be disabled in default configuration
Summary: Tooltips should be disabled in default configuration
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Active
Classification: Plasma
Component: Plasma mobile shell (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: unscheduled
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 16:23 UTC by Robby Engelmann
Modified: 2020-06-29 08:49 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Engelmann 2011-07-01 16:23:40 UTC
Version:           unspecified (using Devel) 
OS:                Linux

I start an application by touching a symbol in the middle of the desktop. If starting completed and remembered mouse position is over an element providing a tooltip, the tooltip shows up and possibly covers important areas of respective app. Thus, one have to touch anywhere else. In my opinion tooltips do not make any sense for a touch UI, do they?

Reproducible: Always



Expected Results:  
no tooltips pop up
Comment 1 Aaron J. Seigo 2011-07-06 09:04:58 UTC
this can be achieved by calling Plasma::ToolTipManager::self()->setState(Plasma::ToolTipManager::Inhibited) somewhere in the shell (e.g. during app setup in main())

it could also be set to ToolTipManager::Deactivated, but then even calls to show(), used by plasmoids to show informational tips on demand, would not work and that may not be desired. 

if there are zero use cases for tooltips, the Deactivated is the better choice for performance and resource usage. from a quick grepping of the sources, this seems to be the case.
Comment 2 Sebastian Kügler 2011-07-06 09:12:22 UTC
I sense this is not purely about Plasma::Tooltip.

Robby, with which apps / tooltips did you see this behaviour specifically?
Comment 3 Robby Engelmann 2011-07-06 09:23:38 UTC
I see tooltips regularly after I started KDE's systemsettings from Search and Launch Containments Quicklaunch panel. I remember some other points, but not sure where exactly.
Comment 4 Sebastian Kügler 2011-07-06 09:53:22 UTC
Ok, so Plasma::Tooltip doesn't have to do anything with it, as system settings is a QWidget-based UI. Also, systemsetting's tooltips are XXL, making it even more annoying.
Comment 5 Sebastian Kügler 2011-07-06 10:00:42 UTC
I've disabled the extended tooltip in system settings. I'm afraid we can't do much more, other than structurally moving to touch-friendly (non-tooltip) apps...
Comment 6 Sebastian Kügler 2011-07-06 10:02:27 UTC
Ow, probably makes sense to be a bit more specific here:

A new version of the plasma-tablet-config package is uploaded, which does the above.

Robby: can you try if that helps in your case (you can also change it manually in systemsetting's configuration dialog, uncheck "Show detailed tooltips").
Comment 7 Marco Martin 2011-07-06 10:04:08 UTC
for plasma ones i do agree they should be disabled shell level
Comment 8 Robby Engelmann 2011-07-06 10:45:38 UTC
I'll give it a try this evening after my regular work day :-)
Comment 9 Robby Engelmann 2011-07-06 20:11:00 UTC
I upgraded active packages and at least for systemsettings the tooltips seem to be gone.
Newertheless, if it is generally desired that tooltips are deactivated, I think this bug is not finally fixed?
Comment 10 Aaron J. Seigo 2011-07-07 09:56:43 UTC
we could build Qt with QT_NO_TOOLTIP and thereby kill all Qt tooltips. it looks like the easiest way to achieve this is to patch src/corelib/global/qfeatures.h to uncomment the #define QT_NO_TOOLTIP line.

alternatively, qconfig could be used to generate a custom features file to pass to configure ala:

http://doc.qt.nokia.com/main-snapshot/fine-tuning-features.html
Comment 11 Sebastian Kügler 2011-07-07 10:14:43 UTC
Ah, interesting link. Let's reopen to remind us of this...
Comment 12 Ben Cooksley 2011-07-16 01:57:34 UTC
Just a note - System Settings and other similar applications (such as Dolphin, KInfoCenter - who all use the same tooltip classes) don't use the QTooltip classes, but their own implementation based on tracking the mouse on a QAbstractItemView.
Comment 13 Sebastian Kügler 2011-09-19 13:18:24 UTC
Needs a fix in the oxygen style, as tooltips are controlled there.
Comment 14 groot 2020-06-29 08:49:27 UTC
Plasma Active is no longer under development.