D15307: Remove Context Help button by default

Kai Uwe Broulik <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
broulik added a comment.


  I always remove it from my window decoration also. However, I don't think we should just remove it.
  
  The button is only shown when a window sets `Qt::WindowContextHelpButtonHint`.
  As far as I can tell it is set by ksysguard (which has quite elaborate quick help btw!) , ksysguard, systemsettings, and others.
  It is also automatically added by Qt for any dialog windows, with a comment in the code
  
    // ### fixme: Qt 6: Never set Qt::WindowContextHelpButtonHint flag automatically
  
  There is an attribute `AA_DisableWindowContextHelpButton` that you can set on the `QApplication` to disable this.
  I think we should set this attribute in plasma-integration and then look at all the apps that explicitly set this flag and decide whether it should be removed or the quick help texts fixed/extended.
  
  I don't know if QML supports it, though, but I doubt it (it's old desktop stuff, and who wants desktops anyway lol), maybe Kirigami could even implement this, if deemed useful.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D15307

To: ngraham, #kwin, #vdg
Cc: broulik, abetts, cfeck, kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.