Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: TIWComboBox dies not render correctly


This question is answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 9 - Last Post: Jul 23, 2017 11:37 PM Last Post By: Wolfgang Zehntner
Wolfgang Zehntner

Posts: 51
Registered: 9/12/16
TIWComboBox dies not render correctly  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 20, 2017 5:01 AM
With Firefox (Version 54.0.1) the items of a TIWCombobox do not render correctly when I assign a different font.
Only the selected item does render correctly, all other items are in normal font, not in Courier as they should be.
With Chrome and IE-browser all items render correctly.
Is this specific to Firefox ?
Is there a work-around ?

Here is my Combobox:
  object IWComboBox1: TIWComboBox
    Left = 328
    Top = 27
    Width = 217
    Height = 21
    Font.Color = clNone
    Font.FontName = 'Courier New'
    Font.Size = 10
    Font.Style = []
    TabOrder = 5
    ItemIndex = -1
    Items.Strings = (
      'iii iii'
      'WWW WWW'
      '. . . .')
    FriendlyName = 'IWComboBox1'
    NoSelectionText = '-- No Selection --'
Eitan Arbel

Posts: 447
Registered: 2/24/13
Re: TIWComboBox dies not render correctly  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 20, 2017 10:13 AM   in response to: Wolfgang Zehntner in response to: Wolfgang Zehntner
have you checked that with another version of Firefox?
it sounds like a Firefox problem if it happens only with it (or maybe with this specific version)
Wolfgang Zehntner

Posts: 51
Registered: 9/12/16
Re: TIWComboBox does not render correctly  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 21, 2017 12:14 AM   in response to: Eitan Arbel in response to: Eitan Arbel
Eitan Arbel wrote:
have you checked that with another version of Firefox?
it sounds like a Firefox problem if it happens only with it (or maybe with this specific version)

I tried with Firefox 47.0.2 and it works, all Combobox-Items render correctly in Courier New.
So, unfortunately the latest official release of Firefox 54.0.1 behaves differently.
The question is: does Firefox need to fix it or is it Atozed ...
If it is Firefox then I think it would be better for Atozed to report this issue.
Eitan Arbel

Posts: 447
Registered: 2/24/13
Re: TIWComboBox does not render correctly  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 21, 2017 6:16 AM   in response to: Wolfgang Zehntner in response to: Wolfgang Zehntner
good to know it's not an intraweb problem.


The question is: does Firefox need to fix it or is it Atozed ...
If it is Firefox then I think it would be better for Atozed to report this issue.

Yaniv Haliwa is an intraweb user\programmer and is a member of this forum.
he is also a member of the Firefox testing team.
i'm sure he will tell Mozilla\Firefox and they will fix it soon :)
Yaniv Haliwa

Posts: 8
Registered: 9/16/16
Re: TIWComboBox dies not render correctly  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 21, 2017 7:26 AM   in response to: Wolfgang Zehntner in response to: Wolfgang Zehntner
Wolfgang Zehntner wrote:
With Firefox (Version 54.0.1) the items of a TIWCombobox do not render correctly when I assign a different font.
Only the selected item does render correctly, all other items are in normal font, not in Courier as they should be.
With Chrome and IE-browser all items render correctly.
Is this specific to Firefox ?
Is there a work-around ?

Here is my Combobox:
  object IWComboBox1: TIWComboBox
    Left = 328
    Top = 27
    Width = 217
    Height = 21
    Font.Color = clNone
    Font.FontName = 'Courier New'
    Font.Size = 10
    Font.Style = []
    TabOrder = 5
    ItemIndex = -1
    Items.Strings = (
      'iii iii'
      'WWW WWW'
      '. . . .')
    FriendlyName = 'IWComboBox1'
    NoSelectionText = '-- No Selection --'

are you using linux? cuz i heard this problem happen lot to linux users. mostly because firefox not sure where the correct location of the fonts.

lets try this: go to the website: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro
and add the line :
<pre style="font-family: Courier New">Courier New test</pre> 

then press "run".
well if you see the font apear correctly on the right side. it's not firefox problem.

Edited by: Yaniv Haliwa on Jul 21, 2017 7:27 AM

Edited by: Yaniv Haliwa on Jul 21, 2017 7:28 AM
Wolfgang Zehntner

Posts: 51
Registered: 9/12/16
Re: TIWComboBox dies not render correctly  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 21, 2017 10:39 AM   in response to: Yaniv Haliwa in response to: Yaniv Haliwa
Yaniv Haliwa wrote:
Wolfgang Zehntner wrote:
With Firefox (Version 54.0.1) the items of a TIWCombobox do not render correctly when I assign a different font.
Only the selected item does render correctly, all other items are in normal font, not in Courier as they should be.
With Chrome and IE-browser all items render correctly.
Is this specific to Firefox ?
Is there a work-around ?

Here is my Combobox:
  object IWComboBox1: TIWComboBox
    Left = 328
    Top = 27
    Width = 217
    Height = 21
    Font.Color = clNone
    Font.FontName = 'Courier New'
    Font.Size = 10
    Font.Style = []
    TabOrder = 5
    ItemIndex = -1
    Items.Strings = (
      'iii iii'
      'WWW WWW'
      '. . . .')
    FriendlyName = 'IWComboBox1'
    NoSelectionText = '-- No Selection --'

are you using linux? cuz i heard this problem happen lot to linux users. mostly because firefox not sure where the correct location of the fonts.

lets try this: go to the website: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro
and add the line :
<pre style="font-family: Courier New">Courier New test</pre> 

then press "run".
well if you see the font apear correctly on the right side. it's not firefox problem.

Edited by: Yaniv Haliwa on Jul 21, 2017 7:27 AM

Edited by: Yaniv Haliwa on Jul 21, 2017 7:28 AM

Well ..., in the Combobox the selected Item does always render correctly as "Courier New" both in Firefox 47 and in Version 54
The drop-down items do not render correctly with version 54, they render correctly with Ver 47
So, something has changed in Firefox 54 because Intraweb produces the same HTML

By the way, I am not running on linux, I use Windows 10
Yaniv Haliwa

Posts: 8
Registered: 9/16/16
Re: TIWComboBox dies not render correctly  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 22, 2017 1:50 AM   in response to: Wolfgang Zehntner in response to: Wolfgang Zehntner
Anyway i filled bug in Bugzilla forum. Its probably update issue. I'll keep u posted. .
Yaniv Haliwa

Posts: 8
Registered: 9/16/16
Re: TIWComboBox dies not render correctly
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 22, 2017 3:21 AM   in response to: Yaniv Haliwa in response to: Yaniv Haliwa
i tested now on the new version 55 [still beta ,that should come up soon]

and it seems to me fine.check it out the image i attach if all the items the same font as you wish.

http://imgur.com/a/WSU6r

Edited by: Yaniv Haliwa on Jul 22, 2017 3:25 AM
Eitan Arbel

Posts: 447
Registered: 2/24/13
Re: TIWComboBox dies not render correctly  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 22, 2017 8:37 AM   in response to: Yaniv Haliwa in response to: Yaniv Haliwa
Yaniv, Thanks for the update :)
Wolfgang Zehntner

Posts: 51
Registered: 9/12/16
Re: TIWComboBox dies not render correctly  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 23, 2017 11:37 PM   in response to: Yaniv Haliwa in response to: Yaniv Haliwa
Yaniv Haliwa wrote:
i tested now on the new version 55 [still beta ,that should come up soon]

and it seems to me fine.check it out the image i attach if all the items the same font as you wish.

http://imgur.com/a/WSU6r

Edited by: Yaniv Haliwa on Jul 22, 2017 3:25 AM

Yes, looks good.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02