Font Size ComboBox becomes empty after manual Font Name entry

General TRichView support forum. Please post your questions here
Post Reply
tomr
Posts: 45
Joined: Wed Dec 09, 2020 9:36 am

Font Size ComboBox becomes empty after manual Font Name entry

Post by tomr »

Hello TRichView Support,
I am reaching out to report an issue where the Font Size ComboBox becomes empty and unresponsive under specific conditions. I can consistently reproduce this behavior in your RichViewActions test demo.
Empty Fontsize Box.png
Empty Fontsize Box.png (15.66 KiB) Viewed 67 times
Steps to Reproduce:
  • Open the RichViewAction test demo.
  • Paste the following text into the editor: "Von: Tom Richter"
  • Select the first name (Tom).
  • Navigate to the Font Name ComboBox.
  • Manually type "Ver" into the box to switch the font from Aptos to Verdana (this happens regardless of whether autofill is enabled).
Empty Fontsize Box 2.png
Empty Fontsize Box 2.png (25.54 KiB) Viewed 67 times
  • Once the font is changed, attempt to open the Font Size ComboBox dropdown.
  • The Font Size ComboBox is completely empty and no longer displays any values.
Is there a workaround or a specific property I should adjust to resolve this issue?
Kind regards,

Tom
Sergey Tkachenko
Site Admin
Posts: 18036
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Font Size ComboBox becomes empty after manual Font Name entry

Post by Sergey Tkachenko »

It's by design.
This combobox is empty when the selected font does not exist or unavailable.

The font 'Aptos' is usually not available for non-Microsoft applications (you can check, can you see it in the font combobox?), so the font size combobox does not show suggestions for it. But the combobox still works, you can type the size manually.

As for 'Ver', it must not be applied. The font name's AutoComplete = True, so 'Ver' does not switch to 'Verdana'.
Unless you have font named 'Ver', the font name combobox will not apply it, because it does not apply names of non-existing/unavailable fonts.
Post Reply