AL icon indicating copy to clipboard operation
AL copied to clipboard

Tooltips on Table not displayed in client

Open Tsmprintvis opened this issue 1 year ago • 2 comments

1. Describe the bug If you place a tooltip on a Table and use the locked = true, it does not show in the client when hovering over the field. This bug is similar to issues reported on using Tooltips with TableExtension #7932 and #7778.

2. To Reproduce Steps to reproduce the behavior:

  1. Create a new table.
  2. Add a new field.
  3. Add a caption and tooltip to the new field.
  4. Create a new page for showing the new field, but do not place a tooltip on the page.
  5. Publish your app, and navigate to the new page.
  6. Hover your cursor over the field you added.
  7. Spend 0.3 seconds in anticipation of the tooltip popping up.
  8. Note that the caption is displayed in the tooltip balloon, but not the tooltip.

table 50120 "PTE TEST CAPTION" { fields { field(1; "Tooltip on Table not visible"; Boolean) { ToolTip = 'This is a test on Table, where locked = true', Locked = true; } } }

page 50120 "PTE Test Caption" { PageType = List; ApplicationArea = All; UsageCategory = Administration; SourceTable = "PTE TEST CAPTION";

layout
{
    area(Content)
    {
        repeater(GroupName)
        {
            field("Tooltip on Table not visible"; Rec."Tooltip on Table not visible") { }
        }
    }
}

}

3. Expected behavior I would expect the tooltip to show. i would expect it to show the locked tooltip even when having switched language..

4. Actual behavior The tooltip is not showing.

5. Versions:

  • AL Language: 15.0.1433841
  • Visual Studio Code: 1.99.3
  • Business Central: 26.0.30643.32481
  • List of Visual Studio Code extensions that you have installed:
    • AL Language (edited)
  • Operating System:
    • [x] Windows
    • [ ] Linux
    • [ ] MacOS

Final Checklist

Please remember to do the following:

  • [x] Search the issue repository to ensure you are reporting a new issue

  • [x] Reproduce the issue after disabling all extensions except the AL Language extension

  • [x] Simplify your code around the issue to better isolate the problem

Tsmprintvis avatar Apr 24 '25 11:04 Tsmprintvis

See https://github.com/microsoft/AL/issues/7752#issuecomment-2121742423

NKarolak avatar Apr 24 '25 15:04 NKarolak

Thanks, will review + report it through Partner Source instead. Closing the issue

Tsmprintvis avatar Apr 25 '25 05:04 Tsmprintvis