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

Ron Mitchell ronm at mitchellmedia.co.uk
Mon Nov 26 16:29:47 GMT 2012


Hi John
yes I definitely had cleared cache but just tried again and still no joy. So
then I had another look at your screenshot and noticed you had the console
running so I turned on developer tools and switched to the console too - now
bizarrely I'm seeing page 2!

So it seems fine now although as you say defaulting to IE8 compatibility. I
think Fay put that line in the top of play_html5.php because of issues with
compatibility mode in IE9.

Cheers
Ron

-----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.nott
ingham.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.nott
ingham.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.nott
ingham.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.nott
ingham.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.nott
ingham.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,e
n.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,e
n.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,e
n.html

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.





More information about the Xerte-dev mailing list