[Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

Ron Mitchell ronm at mitchellmedia.co.uk
Mon Nov 26 16:43:37 GMT 2012


Don't have any knowledge or experience of it but something that cropped up on one of the Moodle lists recently was the use of the chrome frame. Here's an extract...

We get round this by pushing out google chrome frame onto every machine 
http://www.chromium.org/developers/how-tos/chrome-frame-getting-started/chrome-frame-administrator-s-guide

That way users can still access their legacy systems, while we put 
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
in our theme header and the users don't notice they are actually using chrome frame.

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 26 November 2012 16:34
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

Quite. IE8 is bad enough, but if you run XP you can't run IE9...

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 26 November 2012 16:26
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

Well yes we have the same situation but everything can't be held back just so the NHS can access stuff...

At least now they can use iPads in placement...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, November 26, 2012 4:13 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

At least you get IE9. IN the hospital it's [crackle of thunder and lightning] IE6.

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 26 November 2012 16:11
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

Yes, I'm happy with IE8 for now but it's definitely something that we should look at upping to IE9, perhaps for the next release. IE is a terrible browser though and even IE8 messes up the Xenith interface slightly at the bottom which I've had a bit of a look at and not been able to remedy yet. But like you and many other institutions for some unknown loyalty to Microsoft, IE8 is was our standard browser, and now it's IE9...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Monday, November 26, 2012 4:02 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

IE8 is the recommended and supported browser here, that might be it, though more likely it was to try and get as much of the functionality working in IE as possible.

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 26 November 2012 15:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

Hi Ron,

Are you sure you cleared the cache? I can see page 2 in IE but it does a poor job in this instance since it falls back to the available HTML4. I have to ask Fay if there is a reason that we are forcing IE8 compatibility in Xenith because we'll never be able to make use of <canvas> in IE9.

Have attached a screenshot of how page 2 appears for me...

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA

________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk]
Sent: 26 November 2012 15:13
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

Hi John
your updated file is in place now - seems to have fixed the Chrome issue but still not seeing page 2 in IE even after clearing cache etc.
Same links apply
View the flash version http://vle.jisctechdis.ac.uk/xot/play.php?template_id=150
View the html5 version http://vle.jisctechdis.ac.uk/xot/play_html5.php?template_id=150 page 2 is empty HTH Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 26 November 2012 14:53
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

Hi Ron,

Thanks for that, you managed to choose the worst text string possible!! Usually you need to be very careful about using parseInt or Math.round to convert strings to numbers when you do calculations in JavaScript. This time though I was using .split(' ') on the passed in text string but JS was very unhelpfully just casting the text to a number and then it obviously couldn't find the .split method...

I've fixed it in SVN now and it seems to be working please try that if you get a moment and see if it's fixed...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: Monday, November 26, 2012 10:45 AM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

Yes I do mean that window and as I said anecdotally I don't remember this ever happening prior to 1.8 and it's not consistent now, but on occasions the browse window has appeared below other windows.

BTW John - I hadn't updated the Techdis install with the html 5 model until now and there seems to be some odd stuff going on...
e.g. In IE9 via the html5 version I see page 1 & 3 but not page 2 View the flash version http://vle.jisctechdis.ac.uk/xot/play.php?template_id=150
View the html5 version http://vle.jisctechdis.ac.uk/xot/play_html5.php?template_id=150 page 2 is empty

In Chrome it's the reverse I see page 2 but not 1 & 3 Same in Firefox and Safari

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 26 November 2012 10:21
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

You mean the native windows browse file dialog? It's not to the front? I've never even thought you could control it, I thought it was always to the fore (and modal?)

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 26 November 2012 10:22
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

Hi John
I just tested this and shared the file with your account on the Techdis install.
I can't make it lose any lines etc and importing an image works fine too.
e.g.
http://vle.jisctechdis.ac.uk/xot/play.php?template_id=150
page 1 I created as a test file for you previously, page 2 I just created.
All seems to work fine.

Having said that except for a more general point not unique to this page type that I've noticed recently and this is anecdotal rather than 100% certain..

I'm fairly sure that previously (pre 1.8) when using a page type that allowed for browsing and uploading media the browse window always appeared on top of all other windows. Now the browse window often appears below the editor window and so can easily be missed. I'm not sure if this is a client issue e.g. when using IE I'm now using IE9 rather than IE8. I don't have time to test this theory with other browsers at the moment but is it possible that when you've been testing adding an image the browse window has been behind others?

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 26 November 2012 09:56
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

AFAIK, the code in the DRAW class hasn't changed, nor has the code in the drawing editor? At least, I've not changed it...

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 25 November 2012 19:57
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Problem with textDrawing (Flash) page in XOT

the drawing app uses some shared object jiggery pokery right?

On Sun, Nov 25, 2012 at 7:55 PM, Smith, John <J.J.Smith at gcu.ac.uk<mailto:J.J.Smith at gcu.ac.uk>> wrote:
Hi,

Further to my last message about the image button not working, now there is a more serious problem with things disappearing. If you draw some lines and then go to 'Save Drawing' on the menu the last 1 (or few) of the lines that were drawn just disappear! Can anyone else replicate this? It's only been doing this recently so i'm assuming its due to one of the recent updates that one of you did and that someone will know where the problems lie?

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev





Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html






Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




More information about the Xerte-dev mailing list