AL icon indicating copy to clipboard operation
AL copied to clipboard

Tooltip on new 'this' keyword does not finish loading in RequestPage

Open christian-clausen opened this issue 1 year ago • 0 comments

1. Describe the bug In the latest preview version, the tooltip on the new this keyword writes "Loading" when hovering over the this keyword in a request page.

2. To Reproduce Steps to reproduce the behavior:

  1. Create a report like this
report 50100 MyReport
{
    requestpage
    {
        actions
        {
            area(Processing)
            {
                action(MyAction)
                {
                    ApplicationArea = All;
                    trigger OnAction()
                    var
                        lang: Integer;
                    begin
                        lang := this.CurrReport.Language
                    end;
                }
            }
        }
    }
}
  1. Hover cursor over the "this" keyword.
  2. Observe that the tooltip keeps showing "Loading".

3. Expected behavior The tooltip should show that "this" refers to the request page "object".

4. Actual behavior Keeps shows "Loading" as tooltip:

image

5. Versions:

  • AL Language: Latest preview release - 14.0.1070882
  • Visual Studio Code: 1.92.1
  • Business Central: 25
  • List of Visual Studio Code extensions that you have installed: ms-dynamics-smb.al

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

christian-clausen avatar Aug 16 '24 13:08 christian-clausen