Closed Bug 613943 Opened 12 years ago Closed 12 years ago

[@ nsWindow::DoPaint] crashes when trying to access MWindow::orientationAngle

Categories

(Core Graveyard :: Widget: Qt, defect)

x86
MeeGo
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tatiana, Assigned: tatiana)

References

Details

(Keywords: crash)

Crash Data

Attachments

(2 files, 1 obsolete file)

crash is reproduced with embedding test (pure Qt app)
Blocks: 608779
Keywords: crash
Attachment #492306 - Attachment mime type: application/octet-stream → text/plain
Attached patch patch (obsolete) — Splinter Review
MApplication::activeWindow() static method works correctly now, no crashes for pure Qt apps anymore
so, it's ok to rely on it.
Assignee: nobody → tanya.meshkova
Status: NEW → ASSIGNED
Attachment #492308 - Flags: review?(romaxa)
Comment on attachment 492308 [details] [diff] [review]
patch

Hmm... previously it was so that if Meego touch not initialized and you call any meegotouch functionality it will abort inside meegotouch.


This seems from another bug.
- NS_ASSERTION(PIXMAN_VERSION < PIXMAN_VERSION_ENCODE(0, 21, 2) && angle, "Old pixman and rotate transform, it is going to be slow");
+ NS_ASSERTION(PIXMAN_VERSION > PIXMAN_VERSION_ENCODE(0, 21, 2) || !angle, "Old pixman and rotate transform, it is going to be slow");

613853

could you make patch on top of patch from bug 613853?
Attached patch patch v2Splinter Review
I don't know where do they move MComponentData initialization, but activeWindow() doesn't crash with "-style motif" even
Attachment #492308 - Attachment is obsolete: true
Attachment #492313 - Flags: review?(romaxa)
Attachment #492308 - Flags: review?(romaxa)
Depends on: 613853
OS: Linux → MeeGo
Comment on attachment 492313 [details] [diff] [review]
patch v2

yeah, we can call MApplication::activeWindow(); and don't crash now
Attachment #492313 - Flags: review?(romaxa) → review+
while you're here, could you please spell MeeGo correctly?
okay
http://hg.mozilla.org/mozilla-central/rev/ebbcdbb4bef9
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Crash Signature: [@ nsWindow::DoPaint]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.