Page 1 of 1

Revlet size different for some users

Posted: Thu Oct 28, 2010 2:46 pm
by cborn
I have developed a plug-in revlet that is embedded in to our course management system. For MOST people MOST of the time, the revlet behaves as designed.

Full Revlet Display
full_revlet.png
full_revlet.png (9.2 KiB) Viewed 7301 times
However, I've witnessed on a few machines that the revlet does not fully display for some. The revlet is 340 x 115 (px) and that size is set in the Object embed code for the browser. (see attached file). But on some a machines, it's cut off so that only the very top of the submit button is shown and a good 50-80 pixels is cut off on the right side.

Cropped Revlet Display
cut_revlet.png
cut_revlet.png (7.47 KiB) Viewed 7301 times
The weirdest thing is I can't figure out what is different about the client machines that exhibit this behavior. The revlet is most stable on Macs in Firefox. But I've seen this behavior on Macs in Firefox! OS and browser versions can be identical to other machines that do not exhibit the behavior.

Is Rev sensitive to the resolution or aspect in any way? The Mac I was looking at yesterday was a new MacBook using 1280 x 800, and changing the resolution didn't make a difference. Does anyone have any ideas why this would happen? :?

Re: Revlet size different for some users

Posted: Mon Nov 01, 2010 10:22 am
by Mark
cborn,

Do you have a link?

Best,

Mark

Re: Revlet size different for some users

Posted: Thu Jan 20, 2011 11:27 pm
by cborn
Sorry, just getting back to this problem again. The actual stack lives inside a password-protected course management system.

I've just recently saw it on another computer, too, although it wasn't cropped as badly. I checked the screen res/aspect ratio, OS and browser versions, they all matched those on my own computer! I'm starting to wonder if there is a particular plugin that might conflict with the size display of the revlet somehow.

Re: Revlet size different for some users

Posted: Fri Feb 04, 2011 1:53 am
by Jules
I have just got the same problem. My application was working yesterday and now the screen is cropped in firefox at the bottom. My application has also stopped working in the browser but works fine in windows. Don't really know where to look for the problem since it works fine in windows. Is there a way to debug in the revlet?

Re: Revlet size different for some users

Posted: Fri Feb 04, 2011 2:16 am
by jiml
This problem bit me too.
It can be caused (on the mac at least) by the user 'pinching' the zoom level of the browser page.
Try it yourself!
1 - load a page with a revlet.
2 - Now zoom in by piching your trackpad.
3 - viola! the revlet is cropped.

I believe this is actually expected behavior.

Jim Lambert

Re: Revlet size different for some users

Posted: Tue Mar 01, 2011 9:43 pm
by cborn
So I have three reports of this on Macs, and now I've just seen it on a Windows desktop computer, too.

How do we make it stop? In at least one case that I've seen, the user is plugged into a desktop monitor, keyboard, mouse and is not using the trackpad at all. So there must be some other cause. Window ratio? Is there something we can change in the revlet to not allow it to 'resize'? My stack properties inspector has resizing unchecked, but is there something else?

Re: Revlet size different for some users

Posted: Tue Mar 01, 2011 11:38 pm
by jiml
Try to add a style="max-width: 100%;min-width: 100%;" to the object tag, like so:

<object classid="CLSID:B2EC94AF-4716-4300-824A-3314BF23664A" width=1031 height=450 style="max-width: 100%;min-width: 100%;">