Moodle 3.2/3.3 crashes IE11 on print/print preview. Even at login screen.

Moodle 3.2/3.3 crashes IE11 on print/print preview. Even at login screen.

by A W -
Number of replies: 6

All,

Seems printing/print preview any Moodle page, including login page is crashing IE11?

Tested on various Moodle servers/versions, campus build (3.2.2), campus staging (3.2.2), campus test (3.2.2+), tested demo.moodle.net (Moodle 3.3.1 Build: 20170710), event tested bitnami VM (Moodle 3.2.3 Build: 20170508)

Tested on various machines. Works on Edge, Firefox, Chrome, Opera. Not IE11 (tested 11.0.9600.18739 and 11.413.15063.0)

To replicate go to login page, right click, select print preview:

Works if theme set to clean but not Boost or any child of it. 


Description:

  A problem caused this program to stop interacting with Windows.

 

Problem signature:

  Problem Event Name:           AppHangB1

  Application Name:    iexplore.exe

  Application Version: 11.0.9600.18739

  Application Timestamp:       59547fee

  Hang Signature:        338b

  Hang Type:    0

  OS Version:   6.1.7601.2.1.0.256.4

  Locale ID:       2057

  Additional Hang Signature 1:            338baf2f49876af6c9e6e60c2477f504

  Additional Hang Signature 2:            c843

  Additional Hang Signature 3:            c8439ae25fa9ea7ce8120933229d9ebc

  Additional Hang Signature 4:            338b

  Additional Hang Signature 5:            338baf2f49876af6c9e6e60c2477f504

  Additional Hang Signature 6:            c843

  Additional Hang Signature 7:            c8439ae25fa9ea7ce8120933229d9ebc

 

Read our privacy statement online:

  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

 

If the online privacy statement is not available, please read our privacy statement offline:

  C:\WINDOWS\system32\en-US\erofflps.txt


Average of ratings: -
In reply to A W

Re: Moodle 3.2/3.3 crashes IE11 on print/print preview. Even at login screen.

by A W -

Offending line (testing from login page) seems to be the 630K:

<SCRIPT id="firstthemesheet" type="text/css">/** Required in order to fix style inclusion problems in IE with YUI **/</SCRIPT>

<LINK href="https://demo.moodle.net/theme/styles.php/boost/1500995958/all" rel="stylesheet"

type="text/css">

Tried in theme designer mode but also crashes.

In reply to A W

Boost theme: Moodle 3.2/3.3 crashes IE11 on print/print preview. Even at login screen.

by A W -

Is anyone else experiencing this? Have contacted Microsoft support and appears to be occurring on IE11 regardless of OS i.e. Windows 7/10 but ONLY on Boost theme

In reply to A W

Re: Boost theme: Moodle 3.2/3.3 crashes IE11 on print/print preview. Even at login screen.

by Blair F. -
Picture of Particularly helpful Moodlers

I just experienced it with the Edge browser.

In reply to A W

Re: Moodle 3.2/3.3 crashes IE11 on print/print preview. Even at login screen.

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

It's got to be an IE bug surely?

You ought to be able to throw any web page at it and it shouldn't crash. 

In reply to Howard Miller

Re: Moodle 3.2/3.3 crashes IE11 on print/print preview. Even at login screen.

by A W -

Microsoft Engineer helped me resolve this.

The issue is:

text-shadow: none in *::first-line from the @media print-section

So in (we're using child theme of Boost but would presumably work in Boost parent).

Alter: 

\theme\boost\scss\bootstrap\_print.scss

and remove *::first-line i.e. change:

@if $enable-print-styles {
  @media print {
    *,
    *::before,
    *::after,
    *::first-letter,
    *::first-line {
      // Bootstrap specific; comment out `color` and `background`
      //color: #000 !important; // Black prints faster:
                                //   http://www.sanbeiji.com/archives/953
      text-shadow: none !important;
      //background: transparent !important;
      box-shadow: none !important;
    }

to

@if $enable-print-styles {
  @media print {
    *,
    *::before,
    *::after,
    *::first-letter
     {
      // Bootstrap specific; comment out `color` and `background`
      //color: #000 !important; // Black prints faster:
                                //   http://www.sanbeiji.com/archives/953
      text-shadow: none !important;
      //background: transparent !important;
      box-shadow: none !important;
    }

Microsoft Engineer did request if this could be removed from future Moodle builds as apparently it makes little sense anyway?

Thanks,

Alex

Average of ratings: Useful (1)