Resurrect show tooltips option
ClosedPublic

Authored by zzag on Feb 19 2019, 11:12 AM.

Details

Summary

In KDE 4, there was a very handy option to disable decoration tooltips.
Decoration tooltips were lost in transition to KDE Plasma 5, and so
the option.

Given that decoration tooltips were brought back to KDE Plasma 5, "Show
decoration button tooltips" option can be still useful for people(like me)
who may wish to disable them because of personal preference.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zzag created this revision.Feb 19 2019, 11:12 AM
Restricted Application added a project: KWin. · View Herald TranscriptFeb 19 2019, 11:12 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Feb 19 2019, 11:12 AM
ngraham added a subscriber: ngraham.

+1, I find these really annoying and want to turn them off.

kcmkwin/kwindecoration/package/contents/ui/main.qml
126

Could this say, "Show titlebar button tooltips"?

zzag retitled this revision from [kcmkwin/decoration] Resurrect show tooltips option to Resurrect show tooltips option.Feb 19 2019, 11:18 AM
zzag updated this revision to Diff 52051.Feb 19 2019, 11:24 AM

Edit checkbox label.


I'm not sure whether DecorationBridge is the right place to store ShowToolTips
option. I would prefer to keep it in DecorationSettings, but on the other hand,
this option would be useless for decoration plugins.

mart accepted this revision.Feb 26 2019, 10:48 AM
This revision is now accepted and ready to land.Feb 26 2019, 10:48 AM
This revision was automatically updated to reflect the committed changes.

Hmm, I just built KWin from git master, and this doesn't seem to work for me:

zzag added a comment.Mar 5 2019, 3:29 PM

Can you post kwinrc?

zzag added a comment.Mar 5 2019, 3:46 PM

Just to be sure, did you restart kwin?

I did not. Upon restarting it, the tooltips are now gone, yay!

So I guess we just need to have that happen without requiring a restart now.

zzag added a comment.Mar 5 2019, 5:22 PM

Well, you don't have to restart the compositor each time you enable/disable tooltips, it should just work. On my machine it works as expected.

Ah, I get it now. Never mind, nothing to see here...