Jump to content
Sign in to follow this  
Rick Hollerich

Grep problem in 10.4.1

Recommended Posts

image.thumb.png.65d5f6d18f26534eb9a5e407aea7d20b.png

The above image is what my Grep results window looked like after compiling version 1.3.17 and using it for a while in Delphi 10.4.1. After reading and trying suggestions in the discussion about the Grep window being blank and nothing working, I went into the GExpert's registry entries and discovered the value "ContextHeightPercent" was set to 125. Reducing the value under 100 fixed the problem. My guess is after checking the check box "Save context display (fixed) height", something caused the Context section to get set above 100% and from then on nothing would allow me to set it lower. I did not look at the code, but I would think it needs some logic to keep the context section from going over some value less than 100% to keep it from covering over all the other components.

  • Like 1

Share this post


Link to post

I looked at the fix and setting the percent to 100% will not fix the problem. Messing with the percentage in Regedit, it appears the magic value is 93%. At 95%, I get the same window as shown in my original report, plus the toolbar across the top, but nothing else. At 93%, the toolbar shows, as well as the splitter appearing at the top of the window. At that point, I can use the splitter to resize the sections and see everything again.

  • Thanks 1

Share this post


Link to post

Very helpful solution  - ran into this with Delphi 10.4.2 & self-compiled 1.3.18. Issue emerged after switching from a remote 4K RDP session to the local 2x1080P physical machine itself the next day. Changed the ContextHeighPercent to 95% and restarted the IDE to resolve.

On 11/5/2020 at 10:07 PM, Rick Hollerich said:

[...] After reading and trying suggestions in the discussion about the Grep window being blank and nothing working, I went into the GExpert's registry entries and discovered the value "ContextHeightPercent" was set to 125. Reducing the value under 100 fixed the problem. [...]

 

Share this post


Link to post

Hm, I thought I had fixed that particular issue by restricting the allowed values for that setting. Need to look at this code again.

Share this post


Link to post

This particular issue should now be fixed. Unfortunately that doesn't mean that the effect is gone. I have still seen the grep window being empty when docked. switching to a different tab brought it back. Still no idea what the actual problem is.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×