cnwizards icon indicating copy to clipboard operation
cnwizards copied to clipboard

Bug “input helper“ Cannot list ExtractFileName

Open luapfr opened this issue 2 years ago • 11 comments

I believe I found a bug because Delphi's native input helper can show it.

Attached is the unit with the problem

https://mega.nz/file/p2RhmJ4R#kHH6ec0eSkL9_j-aYPTrNs9jHnfGgqUu63nh5JVxYkI

https://mega.nz/file/Mz4XEDoD#mdmwkVoY5rocTv8i9mV1RgZvlH93ilwd50GKYL56Px0

luapfr avatar Sep 24 '23 00:09 luapfr

Thanks for your report. Which version of Delphi and CnWizards do you use?

cnpack avatar Sep 24 '23 00:09 cnpack

Thanks for your report. Which version of Delphi and CnWizards do you use?

CnWizards 1.2.7.1138 Delphi 11.3 Aplication VCL

luapfr avatar Sep 24 '23 00:09 luapfr

Where does InputHelper can not show ExtractFileName in the list? This Funcoes unit or outside? If in this Funcoes unit, where does the cursor stay when input helper popup?

(And I can't compile this unit, for there're too many referenced units, I can just manually analyze it.)

cnpack avatar Sep 24 '23 00:09 cnpack

Sorry for the lack of detailed explanations

The problem occurs within "funcoes.pas" even in one of the Functions or procedures. I configured it to press Ctrl + space to open the input helper

luapfr avatar Sep 24 '23 00:09 luapfr

I forgot to mention If I type System.SysUtils. shows ExtractFileName

luapfr avatar Sep 24 '23 00:09 luapfr

OK thanks. I'll try to reproduce it.

cnpack avatar Sep 24 '23 02:09 cnpack

OK thanks. I'll try to reproduce it.

If your colleague is unable to replicate the problem, you can access my machine via teamviewer We can chat via WhatsApp my number Brazil 44 98819 7607

luapfr avatar Sep 24 '23 22:09 luapfr

The worst part is that this problem seems to be random, because I deleted all the DCUs in my project and did a BuildAll and now it is showing normally

However, as I have skins activated in my Delphi, it is giving this error

Input Helper

Input Helper 2

luapfr avatar Sep 25 '23 11:09 luapfr

Ide Styles VCL

luapfr avatar Sep 25 '23 11:09 luapfr

Oh. I believe we meet the same problem about LSP.exe in Delphi 11.3, and a Painting Problem we know before.

In D11.3's LSP.exe, which provides symbols for CnWizards Input Helper and Code Insight for Delphi itself, is sometimes "Disappeared"( or crashed? maybe), so we can't get the symbol names from it. But if you restart Delphi, it randomly get OK.

The skin painting problem is also reported by other friends, but no clue found yet.

cnpack avatar Sep 25 '23 16:09 cnpack

With the skins disabled, the painting problem also continues to occur, but less frequently.

It is also randomly the problem of not finding ExtractFileName happens

luapfr avatar Sep 25 '23 16:09 luapfr