Bug 450269

Summary: "Show titlebar button tooltips" option should be removed and controlled instead by global option in General Behavior KCM
Product: [Applications] systemsettings Reporter: guimarcalsilva
Component: kcm_kwindecorationAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: 4wy78uwh, nate, plasma-bugs-null, postix
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description guimarcalsilva 2022-02-15 00:57:53 UTC
This bug is part of an ongoing effort to rethink the options available in System Settings. The end goal is to consolidate some obscure options to make Plasma feel simpler to use and improve the user experience. I was advised to make individual bug reports with my suggestions. More details with all the suggestions and talking points can be seen in this shared document: https://collaborate.kde.org/s/oEkdeYerKqaZNyC

------------------

There's no use case for disabling tooltips only in the title bar, and that also creates the opportunity for the user to unintentionally make his experience inconsistent. A user that doesn't want tooltips will most likely want to disable them everywhere. I propose removing the "Show titlebar button tooltips" option in Appearance > Window Decorations > Titlebar Buttons (tab) and instead only allowing to disable them in the global option in Workspace Behavior > General Behavior > Display informational tooltips on mouse hover.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-28-generic (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Radeon RX 570 Series
Comment 1 Nate Graham 2022-02-15 04:29:34 UTC
Yeah that's a good point. Having multiple settings in different places that control the same thing at different levels is always a bit of a UX smell.

Would you be interested in submitting a merge request? This probably isn't that hard to change.
Comment 2 guimarcalsilva 2022-02-17 19:44:18 UTC
(In reply to Nate Graham from comment #1)
> Yeah that's a good point. Having multiple settings in different places that
> control the same thing at different levels is always a bit of a UX smell.
> 
> Would you be interested in submitting a merge request? This probably isn't
> that hard to change.

I found two places where I think deleting some code would get rid of the option. One is between lines 40 to 44: https://invent.kde.org/plasma/kwin/-/blob/master/src/kcmkwin/kwindecoration/kwindecorationsettings.kcfg

and another is between lines 165 to 175 (hopefully I'm including the right brackets): https://invent.kde.org/plasma/kwin/-/blob/master/src/kcmkwin/kwindecoration/package/contents/ui/main.qml

but I feel that's not all.

Shouldn't showToolTips also be somewhere in a .cpp file somewhere? Otherwise, how would the code know what the option should do?

I can't find it anywhere.
Comment 3 Nate Graham 2022-02-21 21:32:18 UTC
Check out src/decorations/decoratedclient.cpp. Found that by grepping for `showToolTips` in the entire KWin repo.
Comment 4 Bug Janitor Service 2022-02-24 23:14:28 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2071
Comment 5 Bug Janitor Service 2022-02-24 23:33:07 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2072
Comment 6 Nate Graham 2023-05-08 16:32:54 UTC
There is some confusion here, from myself as well. I recently learned that the option in question is not in fact a global option, and only affects Plasma panel tooltips. It's definitely not clear.

The current plan is to delete the option entirely, but we might end up being convinced to instead simply move it into the Panel settings window to make it clear that it's a Panel-specific setting.

There is no chance we'll actually make it a global setting that applies to all tooltips including this one, as such a thing would be practically impossible end end up being a "broken promise" setting; see https://community.kde.org/Get_Involved/Design/Lessons_Learned#%22Broken_promise%22_global_options.