Welcome Guest Search | Active Topics | Sign In | Register

Blank Context Menu in EO.WebBrower Options
Scott Lee
Posted: Wednesday, February 3, 2016 4:14:09 PM
Rank: Newbie
Groups: Member

Joined: 2/3/2016
Posts: 9
The right click context menu in the browser control is displaying blank text. It looks like the menu items are there and clickable, but the text is not visible. This started happening somewhere after v15.3.1 and all the way up to the current version of v15.3.94.. v15.3.1 was the last version that worked OK. The problem happens whether the BeforeContextMenu event is being processed or not. Is this a bug or does some other event need to be processed in order to set the text color?
eo_support
Posted: Thursday, February 4, 2016 3:21:26 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Most likely this has to do with your UI language. Can you check the value of System.Threading.Thread.CurrentThread.CurrentUICulture.Name and let us know what you get?

Thanks!
Scott Lee
Posted: Thursday, February 4, 2016 4:28:35 PM
Rank: Newbie
Groups: Member

Joined: 2/3/2016
Posts: 9
The CurrentUICulture is en-US.
eo_support
Posted: Thursday, February 4, 2016 4:35:49 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Then it may not an issue with culture. Can you try to isolate the problem into a test project and send the test project to us? Please see here for more information about test project:

http://www.essentialobjects.com/forum/test_project.aspx

Thanks!
Scott Lee
Posted: Thursday, February 4, 2016 5:37:27 PM
Rank: Newbie
Groups: Member

Joined: 2/3/2016
Posts: 9
The problem was this line:
EO.WebBrowser.Runtime.UILanguage = System.Globalization.CultureInfo.CurrentUICulture.TwoLetterISOLanguageName;

which is setting it to "en". That does not work. According to the documentation under localization that should work. Setting it to:

EO.WebBrowser.Runtime.UILanguage = System.Globalization.CultureInfo.CurrentUICulture.Name;

which sets it to "en-US" does work. I downloaded the latest version of 15.4.0.0 and the problem is still there. This broke somewhere after the 15.3.1 release. I can leave it using the full culture name so it's not a problem.
eo_support
Posted: Thursday, February 4, 2016 5:40:51 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Thanks for the additional information. Yes. This is a known issue. This will be fixed in our next build.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.