Respect global MSW tooltip disabling (PR #27029)

24 views
Skip to first unread message

Richard Thomson

unread,
Sep 20, 2026, 12:58:04 AM (3 days ago) Sep 20
to wx-...@googlegroups.com, Subscribed

Track the global MSW tooltip state and apply it to native toolbar tooltip windows and list-control label tips. Suppress toolbar short-help text while tooltips are globally disabled, and keep list label-tip styles in sync for existing and newly created controls.

Fixes #10072


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/27029

Commit Summary

  • 40ac843 Respect global MSW tooltip disabling

File Changes

(5 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27029@github.com>

VZ

unread,
Sep 20, 2026, 12:12:10 PM (2 days ago) Sep 20
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#27029)

I'm not sure if we really want to have all this extra code to disable the tooltips in these controls — who really needs it?

And wxToolTip::Enable() is not implemented at all in wxOSX (and wxQt) and while it is implemented in wxGTK, it doesn't do anything with GTK 3.10 or later.

Maybe we should just update the docs to say that this function doesn't do anything on most platforms and only disables tooltips set with wxWindow::SetToolTip() under MSW (or maybe deprecate it entirely)?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27029/c5750976824@github.com>

Richard Thomson

unread,
Sep 20, 2026, 12:16:37 PM (2 days ago) Sep 20
to wx-...@googlegroups.com, Subscribed
LegalizeAdulthood left a comment (wxWidgets/wxWidgets#27029)

I'm not sure if we really want to have all this extra code to disable the tooltips in these controls — who really needs it?

Presumably the person who filed the bug? :)

The bug is from 2008, almost 20 years ago. Should we just close the bug as "will not fix" and do the doc update as you suggest?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27029/c5751006003@github.com>

VZ

unread,
Sep 20, 2026, 12:40:03 PM (2 days ago) Sep 20
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#27029)

Yes, I think it would be better. Tooltips are typically disabled on the touch screens, but this should be done automatically, without any special action from the application.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27029/c5751145171@github.com>

Richard Thomson

unread,
Sep 21, 2026, 10:25:21 AM (yesterday) Sep 21
to wx-...@googlegroups.com, Push

@LegalizeAdulthood pushed 1 commit.

  • 751d82d Document wxToolTip::Enable() platform limits


View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27029/before/40ac8430ecaf5135f1257ade57d0ef7595cca224/after/751d82de2b281cec58fbfc1d5a117c8f20d8ca1b@github.com>

Richard Thomson

unread,
Sep 21, 2026, 10:25:41 AM (yesterday) Sep 21
to wx-...@googlegroups.com, Subscribed
LegalizeAdulthood left a comment (wxWidgets/wxWidgets#27029)

How's this?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27029/c5762082825@github.com>

VZ

unread,
Sep 21, 2026, 12:05:58 PM (yesterday) Sep 21
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#27029)

Good, thank you. Will merge soon.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27029/c5763573192@github.com>

VZ

unread,
Sep 21, 2026, 12:08:32 PM (yesterday) Sep 21
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#27029)

BTW, as you seem to be going through all the old issues and fixing them, it would probably make sense to at least start with the ones labeled as "high priority" and/or "regression" as these are the most important ones and it would be good to address any of them that are still relevant before 3.4.0. Of course, classification is not perfect and there may be important issues not using these labels, but it seems a pity to spend time on issues such as #10072 when there are clearly many more important ones outstanding. TIA!


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27029/c5763614909@github.com>

Richard Thomson

unread,
Sep 21, 2026, 12:18:48 PM (yesterday) Sep 21
to wx-...@googlegroups.com, Subscribed
LegalizeAdulthood left a comment (wxWidgets/wxWidgets#27029)

Fair, I was just working from oldest ones I could test locally :). I'll go through my existing issue branches and submit PRs in priority order.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27029/c5763769517@github.com>

VZ

unread,
Sep 21, 2026, 8:47:06 PM (yesterday) Sep 21
to wx-...@googlegroups.com, Subscribed

Closed #27029 via cecc7ee.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27029/issue_event/31568222952@github.com>

Reply all
Reply to author
Forward
0 new messages