Closed Bug 514076 Opened 17 years ago Closed 16 years ago

Fennec produces a error report with enable-faststart and Screen rotation

Categories

(Core :: Widget: Win32, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: kkanchir, Assigned: kkanchir)

Details

Attachments

(1 file)

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022) Build Identifier: Fennec 1.0a3 Xulrunner 1.9.3a1pre Built Fennec with --enable-faststart and installed it on a Samsung Omnia Device and as well as a Windows Mobile Professional 6 Emulator. Reboot the device or Emulator and rotate the screen, either manually or through Auto Motion Sensor. Access_Violation occurs and a error report is generated. Fennec continues to run. Reproducible: Always Steps to Reproduce: 1.Install Fennec with Browserd 2.Reboot the device 3.rotate the screen by changing the screen orientation setting or by rotating the device 4.Error report is generated for Fennec.exe
Browser Deamon is crashing when the screen is rotated before starting fennec. Looks like OnSettingsChangeGfx is getting called on the hidden window when the screen is rotated, where the glpDD->RestoreAllSurfaces is getting invoked and glpDD is NULL. thsi patch makes sure glpDD is not NULL beofer invoking RestoreAllSurfaces. OnSettingChangeGfx is getting called once for each and every window in the Fennec App. This patch as per Doug Turner's suggestion checks if the window is a TopLevel or a Dialog before calling OnSettingChangeGfx.
Attachment #401325 - Attachment is patch: true
Attachment #401325 - Attachment mime type: application/octet-stream → text/plain
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #401325 - Flags: review?(doug.turner)
Attachment #401325 - Flags: review?(doug.turner) → review+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Component: Windows Mobile → Widget: Win32
Product: Fennec → Core
QA Contact: mobile-windows → win32
Attachment #401325 - Flags: approval1.9.2?
Assignee: nobody → kkanchir
Attachment #401325 - Flags: approval1.9.2? → approval1.9.2+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: