Jump to content
PeterPanettone

Issues in Uses Clause Manager

Recommended Posts

This relates to revision [r2877]

 

Built it in Delphi 10.3.3

 

Issue #1: First I cleared the cache:

 

image.png.c906a4dfdcd12829bc53e82f2075aca7.png

 

Then, always when opening the Uses Clause Manager, it took over 3 minutes (!) of hourglass background work where UCM was not usable. Then always, each time when opening UCM, it was unusable for over 3 minutes (!).

 

This didn't happen before in previous versions.

 

Issue #2: It seems that all the font sizes of the controls in Uses Clause Manager have a value of 7 at DESIGNTIME. Then, at RUNTIME the font sizes are increased. (From the GExperts Configuration option "Use Custom UI font"?). EXCEPT for one control: The StatusBar sbUCM which keeps its font size of 7 even at RUNTIME:

 

image.thumb.png.8ae6b776dbf615679b201f790aed7afa.png

 

This makes the text on the status bar microscopically small, which is unusable. It should be increased in the same way as the other controls.

 

Issue #3: When setting the GExperts Configuration option "Use Custom UI font":

 

image.png.5e1dcbee5c38e10b183cdd3ad36eaffd.png

 

...and then later on (while still in the same IDE session) switch this option off again (uncheck the checkbox), then the configured bigger font size (e.g. 9) remains active!

Share this post


Link to post
On 11/24/2019 at 10:45 PM, PeterPanettone said:

It seems that all the font sizes of the controls in Uses Clause Manager have a value of 7 at DESIGNTIME. Then, at RUNTIME the font sizes are increased. (From the GExperts Configuration option "Use Custom UI font"?). EXCEPT for one control: The StatusBar sbUCM which keeps its font size of 7 even at RUNTIME:

The person (I wonder who that might have been 😉) who added the StatusBar to the form must have changed the font which set the ParentFont property to False. So changing the default font for all forms dosn't change the StatusBar's font.

 

I just fixed that.

Share this post


Link to post
On 11/24/2019 at 10:45 PM, PeterPanettone said:

When setting the GExperts Configuration option "Use Custom UI font":

 

image.png.5e1dcbee5c38e10b183cdd3ad36eaffd.png

 

...and then later on (while still in the same IDE session) switch this option off again (uncheck the checkbox), then the configured bigger font size (e.g. 9) remains active!

That happens only to forms that are active while changing this option (e.g. the Grep Result form when it is embedded somewhere in the desktop). Forms that are newly created will use the default font which is the virtual "MS Shell Dlg 2" font. The size for new forms is also set to 9 (on Vista and later) or 8 (on older Windows).

Edited by dummzeuch

Share this post


Link to post

I just implemented a work around for issue #1. But this has nothing to do with clearing the cache, it happens with or without that, but only if you compile GExperts in Debug mode. The reason where many SendDebug calls.

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
×