Menu

#570 TTooltip is explicitly disabled

8
open
GUI (63)
1
2024-05-30
2024-03-09
No

This is an issue that has remained since the original OWL 5 code:

TTooltip::TTooltip(TWindow* parent, bool alwaysTip, TModule* module)
         :TControl(parent, 0, "", 0, 0, 0, 0, module)
{
  Attr.Style = (WS_POPUP | WS_DISABLED);

  //...
}

See our earliest revision [r5].

While disabling the tooltip control window has no discernible effect in most applications, it disables the intended behaviour of tooltip controls with the TTS_CLOSE style and/or the TTF_PARSELINK flag, which require the tooltip window to be enabled for interactivity.

See [discussion:31a77bb54f].

Related

Discussion: 31a77bb54f
Discussion: Pesky balloon tip with greyed out close button
Feature Requests: #165

Discussion

  • Vidar Hasfjord

    Vidar Hasfjord - 2024-03-10

    This issue was fixed on the trunk in [r6877].

     

    Related

    Commit: [r6877]

  • Vidar Hasfjord

    Vidar Hasfjord - 2024-03-13

    Should we fix this in the LTS versions?

    I presume the need to disable the tooltips originally stems from Borland's 16-bit custom implementation of the common controls, and that it never has been needed with the 32-bit native Windows implementation. But I'm not sure about the reason. If you have insight, let us know.

    If there is no demand for a fix in older versions, I will set the milestone to 8.

     
  • Vidar Hasfjord

    Vidar Hasfjord - 2024-05-30
    • Group: unspecified --> 8
     

Log in to post a comment.