Millisecond Forums

Inquisit 4.0 Web cuts off text and pictures

https://forums.millisecond.com/Topic15092.aspx

By aghartley - 12/1/2014

Hello,

I have designed an experiment in Inquisit 4.0. When I run it in Inquisit 4.0 (non-web version), all text and pictures display properly. However, when I run the experiment in Inquisit Web 4.0, some text or pictures on the right side of the screen get cut off, and only on certain computers (e.g., works fine on my Mac, but not on my work PC). Is there some sort of window size or setting that I need to change in Inquisit Web? Thanks in advance for any help you can provide with this issue.

-Anna.
By Dave - 12/1/2014

You need to make sure your experiment works across various screen resolutions and aspect ratios. Using the <defaults> element's /canvassize and /canvasaspectratio can help with that. You'll usually also want to have /size, /position etc. specified as percentages.
By aghartley - 12/1/2014

Thanks for the response. However, all sizes are already using percentages, and I've set the defaults aspect ratio and canvas size. Also, this doesn't explain why even on the same computer, the pictures in the program displays fine in Inquisit 4.0, but not Inquisit 4.0 Web. Could there be any other explanations for this issue?

Thanks again--Appreciated.
By Dave - 12/2/2014

Could you (a) provide screenshots illustrating the problem (you can attach those to this thread via the +Insert menu) as well as (b) the link to the experiment's launch page?
By aghartley - 12/2/2014

No problem. The screenshots are attached. The first is run through inquisit web--as you can see, it cuts off the image of the keys on the right. The second is through inquisit (non web version). Here is the link to the experiment: http://research.millisecond.com/kingre/thresholdtask.web


 http://www.millisecond.com/forums/uploads/images/11ca174d-f925-4c69-87dc-1b43.pnghttp://www.millisecond.com/forums/uploads/images/7dcc3be4-7362-4cd0-86e6-f40c.png
By Dave - 12/2/2014

Thanks for the screenshots and the link! Unfortunately I am so far unable to reproduce this. The image in question displays fine in both Lab & Web on my Win7 test machine. I also did some math (calculating the windowsize and canvassize in actual pixels) based on your screenshots and produced some overlay images -- they match in terms of sizing and positioning, and the math checks out as well (i.e. the image is well within the defined 4:3 canvas region and thus should not be cut off). There must be some additional factor involved that I'm not catching (yet).

Question: Does this happen on your machine across different browsers and launch methods or only with a particular combination?

Thanks!
By aghartley - 12/2/2014

I tried running it in both Chrome in Mozilla using multiple launch methods on my computer, but I get the same issue every time. It does seem to display fine on my home computer and our lab computers--it's just an open question of whether it will work on everyone's computer (since it's a web experiment).

Thanks for taking a look. 
By Dave - 12/4/2014

Could you try explicitly setting

<defaults>
...
/ canvasposition = (50%,50%)
...
</defaults>

in your script and let me know if that makes any difference on the affected machine? Thanks!