Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug “input helper“ Cannot list ExtractFileName #178

Open
luapfr opened this issue Sep 24, 2023 · 11 comments
Open

Bug “input helper“ Cannot list ExtractFileName #178

luapfr opened this issue Sep 24, 2023 · 11 comments

Comments

@luapfr
Copy link

luapfr commented Sep 24, 2023

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

@cnpack
Copy link
Owner

cnpack commented Sep 24, 2023

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

@luapfr
Copy link
Author

luapfr commented Sep 24, 2023

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

CnWizards 1.2.7.1138
Delphi 11.3
Aplication VCL

@cnpack
Copy link
Owner

cnpack commented Sep 24, 2023

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.)

@luapfr
Copy link
Author

luapfr commented Sep 24, 2023

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
Copy link
Author

luapfr commented Sep 24, 2023

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

@cnpack
Copy link
Owner

cnpack commented Sep 24, 2023

OK thanks. I'll try to reproduce it.

@luapfr
Copy link
Author

luapfr commented Sep 24, 2023

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
Copy link
Author

luapfr commented Sep 25, 2023

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
Copy link
Author

luapfr commented Sep 25, 2023

Ide Styles VCL

@cnpack
Copy link
Owner

cnpack commented Sep 25, 2023

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.

@luapfr
Copy link
Author

luapfr commented Sep 25, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants