Silverlight rendering issue in Firefox 4 and 5 on MacBooks - silverlight

We have encountered something that looks like a Silverlight 4 rendering problem when running our Silverlight 4 app in FireFox 4 and 5 on MacBook’s. There is no problem in Safari or OOB (that’s
Safari I guess).
The problem is that large parts of the UI goes white and gradually reappears by moving the mouse over the white areas, or if the UI canvas is repainted.
We use Telerik controls in our app, but the problem can occur just by scrolling a list inside a scrollviewer, so I dont think its Telerik related.
We have only seen this problem on MacBooks, not on iMacs.
Have anyone else experienced problems like this? Is this a problem in the Sl plugin?
See screenshots below.
I can provide a video if necessary.
Link to an example from our Silverlight client in FireFox 5 on a MacBook: sl client on mac
Link to an example of our client with the rendering issue: sl client on mac with rendering issue
This question is also posted on Silverlight.net.

This looks like a problem with either Firefox for mac, or the SL client. Try making sure you're running the most up-to-date versions of both (since it has been almost half a year since you've posted this, there are new versions).
Have you tried to reproduce your problem on a different browser? Does it happen on chrome or safari? If so, then it's probably a plugin issue.
I don't think you can write SL code that will cause the problem you are experiencing, so the fault is not likely with you.

Related

Silverlight - The program loading circle/percentage not appearing

I have a hobby website:
http://www.chartmygolf.com/Programs/Program.aspx
and for the first time (in six years) someone has said the circle/percentage thing that appears when the program is loading is not appearing, and consequently the program does not load. What could be causing this?
He has installed Silverlight 5.
He is in the USA so I have a bit of time to prepare some ideas. The things I have thought of so far are:
A 32/64 bit mismatch between Internet Explorer and Silverlight versions. If it is this how do I check what 32bbit or 64bit versions they have of each?
Whether they have Silverlight not Enabled in Internet Explorer. (I think this might be low odds because he tried to load it on firefox and chrome with the exactly the same problem).
Does anyone know another Silverlight website page which requires program loading, so I can check if the problem he is having is specific to my page or to Silverlight programs in general?
Jon
EDIT:
Some more info.
He is operating on Windows 7.
He went to the sample Silverlight page (Silverlight SDK Sample Browser) and it loaded most of the way. What doesn't load is the top section and the sidebar which both have spinning circles around them with 100% in the middle.
He is using IE11.
In the add-on section the Silverlight is enabled for both 32-bit and 64-bit versions.
I hope this can be resolved.

Silverlight on Windows 8

I'm running my SL5 application (that has been working well so far) on Windows 8, and it is not going well. I have a background picture which usually does not render correctly, almost everytime I navigate my background (including the controls over it) just goes white till I resize IE, then it re-paints (what makes it stranger is that the parts that goes white is outside of the navigation frame, why is it getting repainted). (Chrome renders fine)
When I run my application out-of-browser my login screen pops up and works correctly but after the login screen closes it looks like the gray background of the login screen remains behind and I cannot click on anything, resizing makes no difference, it looks like every control has been disabled.
I have updated my NVidia Drivers to the latest, don't think its a display driver issue though.
Anyone else had these issues? Anyone else running SL5 fine on windows 8?
(Looks like I'll be downgrading back to windows 7 soon)
Silverlight should run great on any desktop browser in Windows 8, just like it does on Windows 7, Vista, and Mac. The underlying runtime is 100% the same. That does not mean you may not find a glitch with a graphics driver, but it means you shouldn't - and likely won't.
I did want to make a clarifying point, however, that Silverlight is not part of the Modern Internet Explorer (the Metro Internet Explorer). Only a subset of Flash is supported and that is only supported on white-listed sites.
This means Silverlight solutions that you might have expected to run on the Surface RT (running Windows RT - or Windows on Arm) will not run (as there is no SL runtime). And, I think we can all have a collective moan and ask, together, "Why not?" To which there is no acceptable answer.
The theoretical goal, of course, is to write native Windows 8 apps. If you want to write something web based you should write it in HTML5. That's the official word. I think we all know that HTML5 has a ways to go in order to catch Silverlight, but it is what it is. Can't change some things.
I have had no issues with any of my Silverlight 5 apps running on Windows 8 - I focus mainly on line of business apps but have some graphical and otherwise apps that run fine as well.
I'm only marking this as the answer to close the case, what the actual answer was to the problem we will never know. The solution: automatic updates. After much hassles with getting automatic updates to actually go through, my machine is now working well.

Silverlight 5 plugin with Safari 5.1

I have a Silverlight 3 application that contains 1 code line (it's a part of real project):
var doc = HtmlPage.Document;
In Safari 5.1 (Windows 7 SP1, Silverlight plugin 5.0.61118.0) I get the Exception in this line:
Unable to cast object of type System.Windows.Browser.HtmlElement to type System.Windows.Browser.HtmlDocument
So, I don't have any access to browser DOM model.
In other browsers everything is ok.
Can somebody help me with this if it's possible ?
I have the same problem, it seems to only occur on Safari for Windows with the Silverlight plugin 5.0.61118.0. The problem seems to have been introduce with Silverlight 5.0.
Also, you cannot access: HtmlPage.Window
According to Microsoft officially Safari for Windows is not a support platform, see:
http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx (click System Requirements)
In my testing I found that the issue does NOT occur in Silverlight 4 but DOES occur in Silverlight 5.
This is slightly confused because if you try to install Silverlight 4 on Safari for Windows from this link:
http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0
Then you end up with a Silverlight 5 installation.
I found that you use IE to visit this link then Save the download EXE, then install the EXE on Safari for Windows you will get a Silverlight 4 install and from my testing this works. Thus, I am advising my customers who face this issue to install Silverlight 4 as described.
Try this and see if this works (my application uses the navigation framework):
As the error has something to do with the NavigationJournal and in SL we have some control over it I just changed the Journal ownership to:
sdk:Frame JournalOwnership="OwnsJournal"
On the MainPage.xml where the navigation takes place in my app. In this way we lose the browsers back button/navigation but we can implement our own inside the SL app.

Silverlight installed in Firefox 3, but not detected/activated

As the title says really. We are working on a Silverlight banner on a redesign of our site and the Silverlight content works fine in all browsers except Firefox 3 (PC v3.0.7,8 or Mac v3.0.8). The Add-in is marked as having been installed, however.
The problem page is at:
http://clearvision.programx.co.uk/Schools/Students.aspx
(Note: we know of the crap HTML mark-up, that is a bug in SiteFinity, the CMS we're having to use. We have tried with and without this erroneous content with no effect.)
I've seen a number of reports (this one being particularly good: http://tempvariable.blogspot.com/2008/04/silverlight-and-firefox-3.html) about Firefox 3 having problems.
The SL control is Silverlight 1.0.
Any help much appreciated, I really do nto want to have to write alternative content for Firefox users!
I checked your Silverlight.js file and it was version 1.0 of the .js file. I think that upgrading to the 2.0 version of Silverlight.js file (which was updated for FF3) may solve your issue.

Does silverlight work on chrome?

Does anyone know if silverlight plugs into chrome, or when they plan to support it?
This guy have had partial success with silverlight in chrome, but it does not seem to be supported:
http://wildermuth.com/2008/09/02/Silverlight_2_and_Google_Chrome
From The Microsoft Silverlight Team in the silverlight forum:
Hello, currently we don't have plans
to support Chrome. We will support it
in the future if it gains enough
market share. Please understand, each
browser implements the plug-in model
differently, so it'll be a lot of
effort to officially support a browser
100%... By the way, IE 8 also runs
each tab in its own process. If a tab
crashes, other tabs will still work
fine.
UPDATE:
Jon Galloway has just posted instructions on how to get silverlight successfully running on Chrome here:
http://weblogs.asp.net/jgalloway/archive/2008/09/17/silverlight-on-chrome.aspx
The official word on what is supported looks like this:
alt text http://www.jesseliberty.com/sl/browsers.jpg
The reality is that we do run on a lot of browsers, but things change might quickly in these here parts.
For what it is worth, the Dev Branch of Google Chrome was recently updated to support Silverlight 2. I tried it and it works for me. Of course, you have to use the Dev release of Google Chrome. You can get more information about switching to Chrome Dev here.
Silverlight already works with web-kit, and since Google's Chrome is based on web-kit, it shouldn't be too much effort to get it working.
Indeed, this gentleman seems to have had some success.
Based on this, I would suspect that Silverlight will be fully supported by Chrome by the time it goes gold.

Resources