New enabled-by-default kxmlgui expandable tooltip feature

Felix Ernst Fe.A.Ernst at googlemail.com
Mon Apr 19 23:27:01 BST 2021


Hello everyone!

The optional feature "Expandable ToolTips"
https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/45 is pending
code review. The plan is to have it enabled by default. The point in time
when this is going to happen is up to debate especially if any regressions
in any of the using applications were to be found. This mail is supposed to
inform all possibly affected parties of this change because I can't test
all of the applications. So far I didn't find any issues when testing even
if they were doing custom tooltip stuff that would seem troublesome like
Dolphin or KDevelop. Nate Graham didn't report any regressions either.

I believe the only problems that *could* be occurring would be related to
tooltips not showing up correctly and even that is unlikely since only
widgets should be affected that have whatsThis() text explicitly set. I
also think the only applications that could potentially be negatively
affected would have to do some custom tooltip handling which would rule out
any applications which are not on this list:
https://lxr.kde.org/search?%21v=kf5-qt5&_filestring=&_string=QEvent%3A%3AToolTip&_casesensitive=1

Also since the above MR makes keyboard shortcuts of QToolButtons visible,
if you already had that in some form, it is likely that they will appear
twice in the tooltip.

Opting out of all these changes is done by adding a single line to a
mainWindow's constructor.

I think that changing a framework's default behaviour without explicit
consent of the frameworks users would be troublesome. This is why I am
trying to be transparent about this through this mail. If you have issues
with my planned line of actions or if you want the expandable tooltips to
be enabled only at a later date so you can opt out pre-emptively or if you
think there is another mailing list/group of people I should inform, please
let me know.

Have a nice day!
Felix Ernst

P.S. Code review comments are welcome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20210420/5453d9a3/attachment.htm>


More information about the kde-devel mailing list