Crash after 2nd call of IViewObject->Draw on a HtmlEditView derived control in Internet Explorer 11, while "IViewObject Legacy Drawing" Feature Control is in use

Won’t fix Issue #306778


Jun 10, 2014
This issue is public.
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

In registry there must be added:

X64 system:
"Test IE11.exe"=dword:00000001

X86 system:
"Test IE11.exe"=dword:00000001

Attached program reproduces problem in IE11 HtmlEditView derived control with printing to metafile using IViewObject->Draw() function when application is using “IViewObject Legacy Drawing” Feature Control in registry (FEATURE_IVIEWOBJECTDRAW_DMLT9_WITH_GDI) - (In our case DWORD value named “Test IE11.exe” with decimal data ‘1’).

This program consists of two dialogs with control derived from HtmlEditView.

Follow steps below to reproduce this problem:

  1. Open Test IE11.exe
  2. Click on button “Open HTML”
  3. In “Html Dialog” click on button "Draw (automatic crash)".
  4. Effect: HtmlEditView derived control on “Html dialog” turns gray (Seems like an error).
  5. Close “Html dialog” and Resize Main dialog. HtmlEditView derived control also turns gray. When you try to select it, it turns black.
  6. Open again “Html dialog” by clicking on “Open HTML” and there, in brand new dialog, hosted HtmlEditView derived control will also be black. It behaves like that untill we close entire application. You can still select and copy content of html from this black HtmlEditView derived control.

Automatic crash function does following tasks:
a. It creates a temporary HtmlEditView derived control and navigates to html file
b. calls IViewObject->Draw on this control
c. resizes whole “Html dialog”
d. again calls IViewObject->Draw on this control
e. again resizes whole “Html dialog”

Expected Results:

CHtmlEditView controls should work in IE11 as in IE9 and IE10 using “IViewObject Legacy Drawing” Feature Control.

Actual Results:


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Tony S.”

      Changed Assigned To from “Tony S.” to “Christian F.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Christian F.” to “Rafael C.”

      Changed Status from “Confirmed”

      Changed Status to “Confirmed”

      Changed Assigned To from “Rafael C.” to “IE F.”

      Changed Status from “Confirmed” to “Won’t fix”

    You need to sign in to your Microsoft account to add a comment.

    Sign in