PeterPanettone 158 Posted April 6 (edited) In the Code Editor, when typing 'if' followed by a space character, a Hint hides the caret position: ...so I cannot see the caret anymore and cannot see what I am typing. I am forced to press the ESC key to hide the hint, which is a completely pointless waste of time. Can anyone confirm this? This has been bothering me for a while now. Isn't there a way to suppress this hint (or show it at a different position) when writing an 'if' statement? Edited April 6 by PeterPanettone Share this post Link to post
Uwe Raabe 2064 Posted April 6 Probably some setting in your system. This is what happens here: 06-04-2024_23-37-15.mp4 Share this post Link to post
PeterPanettone 158 Posted April 7 (edited) I found the solution: Options -> Language -> Delphi - > Code Insight: Generally, Hints are helpful. But if they hide the caret, they become an annoyance. The ideal position for Hints would be ABOVE THE CARET. Edited April 7 by PeterPanettone Share this post Link to post
Uwe Raabe 2064 Posted April 7 13 minutes ago, PeterPanettone said: The ideal position for Hints would be ABOVE THE CARET. You might file a feature request in the new Quality Portal. Share this post Link to post
PeterPanettone 158 Posted April 7 (edited) 1 hour ago, Uwe Raabe said: You might file a feature request in the new Quality Portal. That's what I am going to do. Before doing that, I always ask other people whether they can confirm the issue. So much wasted time because the Embarcadero developers obviously didn't care. Edited April 7 by PeterPanettone 2 Share this post Link to post
Mark- 29 Posted April 7 Delphi 10.2 Version 25.0.31059.3231 If I turn on hints, this is how the hint is displayed: Share this post Link to post
Uwe Raabe 2064 Posted April 7 So, perhaps a dpi issue? Some system information may be helpful here. Share this post Link to post
Brian Evans 109 Posted April 7 (edited) Reproduced in Delphi 12.1 here - turned on hints and see the same thing. The hint window has broken positioning - the bottom of the hint window is where the top should be. Usually run with scale 125%, switched to 100% and the improper positioning is still there and looks the same. In addition the hint window should be moved further away or the drop shadow removed as it will obscure text. Edited April 7 by Brian Evans 3 Share this post Link to post
PeterPanettone 158 Posted April 7 2 hours ago, Uwe Raabe said: So, perhaps a dpi issue? Some system information may be helpful here. Share this post Link to post
Mark- 29 Posted April 7 23 hours ago, PeterPanettone said: In the Code Editor, when typing 'if' followed by a space character, a Hint hides the caret position: Does it change if you use the dark theme? Share this post Link to post
PeterPanettone 158 Posted April 7 13 minutes ago, Mark- said: Does it change if you use the dark theme? No, it does not change. Share this post Link to post
PeterPanettone 158 Posted April 7 57 minutes ago, Brian Evans said: The hint window has broken positioning - the bottom of the hint window is where the top should be. Aren't hint windows positioned automatically following some system setting? Share this post Link to post
gkobler 38 Posted April 7 Sometimes scale settings more than 100% makes problems. Try it with 100% Share this post Link to post
Brian Evans 109 Posted April 7 (edited) Tested with Delphi 11.3 and it looks fine there. Don't have Delphi 12 installed to test with, just Delphi 12.1 and is broken in that release. Edited April 7 by Brian Evans Share this post Link to post
PeterPanettone 158 Posted April 7 9 minutes ago, Brian Evans said: Tested with Delphi 11.3 and it looks fine there. Don't have Delphi 12 installed to test with, just Delphi 12.1 and is broken in that release. Hi Brian, thanks for testing. Can you please be more specific? 1. In Delphi 11.3, how does it "look fine"? Do you mean the caret is also hidden by the Hint in Delphi 11.3? Or do you mean the caret is not hidden by the Hint in Delphi 11.3? 2. In Delphi 12.1, what do you mean by "is broken"? Share this post Link to post
Brian Evans 109 Posted April 7 Looks fine: the top of the hint window is below line of text it is providing a hint for. Broken: The bottom of hint the window is where it's top used to be. This causes it to appear on top of the line of text it is providing a hint for. Share this post Link to post
PeterPanettone 158 Posted April 9 On 4/8/2024 at 1:11 AM, Brian Evans said: Looks fine: the top of the hint window is below line of text it is providing a hint for. Broken: The bottom of hint the window is where it's top used to be. This causes it to appear on top of the line of text it is providing a hint for. You could use a free screenshot tool - there are many available. Share this post Link to post
Sherlock 663 Posted April 9 D12.1, 100%, Dark Theme. Broken behavior: And there is enough space above and below for the hint to move. Share this post Link to post
PeterPanettone 158 Posted April 9 Some museums exhibit works of art made from Windows error messages. When Delphi has a milestone birthday next year, such a museum could be opened. Share this post Link to post
Mark- 29 Posted April 9 1 hour ago, PeterPanettone said: You could use a free screenshot tool - there are many available. SHIFT + Windows key + S, allows to capture a part of the screen via click and drag the mouse. 1 Share this post Link to post
PeterPanettone 158 Posted April 9 7 minutes ago, Mark- said: SHIFT + Windows key + S, allows to capture a part of the screen via click and drag the mouse. This does not work on my secondary monitor, only on the primary monitor. Share this post Link to post
Mark- 29 Posted April 9 1 hour ago, PeterPanettone said: This does not work on my secondary monitor, only on the primary monitor. Interesting, works on both monitors, on both computers here. Both computer's monitors, are arranged like this: Share this post Link to post
Uwe Raabe 2064 Posted April 9 Works here even when monitors are side-by-side. Although the frame and toolbar appear on the main monitor, just clicking into the second one shots the second one. Share this post Link to post