Issue Details (XML | Word | Printable)

Key: MDL-19954
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Dan Marsden
Reporter: Sid Verber
Votes: 1
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Stage height and width, and TOC size cannot be set

Created: 29/Jul/09 03:49 PM   Updated: 02/Feb/10 01:04 AM
Component/s: SCORM
Affects Version/s: 1.9.5
Fix Version/s: None

File Attachments: 1. Text File player.php.patch (0.7 kB)
2. Text File rd.js.patch (2 kB)

Image Attachments:

1. 1100 stage_height_bottom.jpg
(102 kB)

2. 1100 stage_height_top.jpg
(214 kB)

3. 1100px_stage_height_standard_theme_bottom.jpg
(100 kB)

4. 1100px_stage_height_standard_theme_top.jpg
(213 kB)

5. 800px stage height.jpg
(208 kB)
Environment: Windows clients (not tried in Linux). This appears to be common across browsers -affects IE6+ and Firefox 2+.
Issue Links:
Cloners
 

Participants: Dan Marsden, David Puente Bautista, Jesús Rincón, Petr Skoda (frankenstein) and Sid Verber
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
We have created SCORM objects which should display correctly on 1024 x 768 resoultion screens. However since upgrading to 1.9+ setting the stage height to anything less than 1100 px results in vertical scroll bars appearing in the SCORM window. A setting of 1100 gets rid of the verical scroll bars, but then there is a large gap at the bottom of the frame between the content and where any horizontal scroll bar might sit.

This is important because in addition to the above, the TOC window is too wide and results in a horizontal scroll bar appearing in the SCORM window. However, the user may not see it, as the increased stage height has pushed the scroll bar off the screen. Therefore the user is often unable to see some of the content, including navigation buttons. There doesn't seem to be any way of setting the relative widths of the TOC and main SCORM areas.

I've attached screen shots to illustrate the problem. They were all taken in Firefox with a 1024 x x768 browser size.



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dan Marsden added a comment - 29/Jul/09 03:53 PM
Hi Sid,

thanks for the details! - can you please re-test with the standard Moodle theme? - a large number of scorm related display issues are related to peoples custom themes - so it's always good to eliminate those first.

thanks.


Sid Verber added a comment - 29/Jul/09 04:09 PM
Hi Dan

I had already tried that, but have just done so again. I've attached screen shots I've just made, using the standard Moodle theme. Same issue as before. It does seem to be an issue, as there have been a number of forum postings relating to stage size (particularly height).

Best wishes

Sid


Sid Verber added a comment - 29/Jul/09 04:11 PM
These are screen shots using the standard theme

Dan Marsden added a comment - 29/Jul/09 05:23 PM
thanks for that! - to be honest, the css in SCORM needs a bit of work and doesn't really comply with Moodle's theming guidelines...

I've been wondering for a while about the stage height/width and why we actually allow them to be set by the module.... unfortunately there isn't any funding allocated to SCORM maintenance at the moment, so this will sit on our todo list for a while.... unless someone comes up with a patch which I'd be happy to review!


Petr Skoda (frankenstein) added a comment - 29/Jul/09 05:56 PM
hello, I just spent a few days fighting similar issues in new imscp resource module in 20dev.
I ended up doing some crazy YUI magic, maybe some bits could be later reused in this module.

David Puente Bautista added a comment - 18/Jan/10 05:20 PM
Is there any news on it? I could spend some money for solve this scorm problem view... It's horrible!

Dan Marsden added a comment - 18/Jan/10 07:08 PM
Hi David,

Most view related issues are related to people using non-standard themes, however the SCORM CSS is known to be pretty bad, and could do with some improvement.

If the issues you are having are not related to a custom theme you have on your site, and you were willing to pay for it to be improved, you could contact your local Moodle Partner to do the work for you.
see
http://moodle.com/partners/list

thanks,


David Puente Bautista added a comment - 20/Jan/10 08:21 PM
I have tried with standar themes with no success... I will put in contact with CVA (spanis partner) and I hope they can solve it.
Thanks!

Jesús Rincón added a comment - 20/Jan/10 08:27 PM
Hi David:
If the page showing the SCORM is footer must show both bars, but SCORM window would be very small.

Can you attach a screenshot?

Regards


Sid Verber added a comment - 21/Jan/10 04:18 PM
I'm still getting the problem in 1.9.7+. The vertical scroll bars shown in my original screen dumps above appear even if I revert to the standard theme. As said in my original posting, I can partially solve the problem by setting the vertical stage size to 1100 px (even though the actual SCORM object size is only around 600 - 700 px deep). However this then pushes any horizontal scroll bar out of sight.

The key point which I think is being missed, which may help in solving the problem, is that this was not a problem in 1.8.+. Therefore whatever is causing it is a result of changes to the SCORM module between 1.8 and 1.9. If someone could identify which of those changes might have affected the stage size setting routine, it should be possible to fix.

Any ideas?

Best wishes

Sid


Dan Marsden added a comment - 21/Jan/10 05:34 PM
it could have been the large visualisation patch that went in - but SCORM display was much worse prior to that! the major issue is really MDL-7787 - time should be spent on that bug - possibly using some YUI magic as Petr mentions to make it work really well. This isn't something that I have time to spend on unless someone provides some funding to get it done.

As always I'm happy to help review any patches for inclusion in core if someone else does this work.


Jesús Rincón added a comment - 27/Jan/10 07:19 AM
With these small changes are going to try to solve the problem of double bar:
  • Delete the footer content on the player.
  • Modify the function rd.js to rein scormcontent height, so when the scorm is by no means a suitable length review shows:

Try this change and tell me if it works or not.

These patches are made on moodle 1.9.7


Sid Verber added a comment - 02/Feb/10 01:04 AM
I tried the patch, but it didn't seem to work in Firefox. I'm going to try in IE7 next.

Sid