[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
RE: [XaraXtreme-dev] File => Close crashes
- From: "Gerry Iles" <GerryI@xxxxxxxx>
- Date: Thu, 6 Apr 2006 11:27:21 +0100
- Subject: RE: [XaraXtreme-dev] File => Close crashes
I've just checked in a (possibly temporary hence PORTNOTEd) fix for this
by making the CCamView::OnActivateView function set no selected view and
document when a view is deactivated. Although this fix makes conceptual
sense and should probably remain as a safety net if nothing else, it was
not necessary in the windows version (probably something to do with the
order that the various objects are deleted in under MFC as the Document
and DocView destructors both do similar things).
Gerry
-----Original Message-----
From: owner-dev@xxxxxxxxxxxxxxxx [mailto:owner-dev@xxxxxxxxxxxxxxxx] On
Behalf Of Gerry Iles
Sent: 06 April 2006 10:05
To: dev@xxxxxxxxxxxxxx
Subject: RE: [XaraXtreme-dev] File => Close crashes
Well, there is no Oil print view class. The only other class in that
hierarchy is the RalphView (which was derived from ScreenView just like
ScreenCamView was). The selected view is the view that the user is
currently working with, and as such, I don't think it has ever been
anything other than a kernel DocView that is attached to an Oil
ScreenCamView.
The kernel/oil divide makes things quite complex in this area but I do
still think that those checks are irrelevant and that the various
changes of selected view and document (kernel-side) aren't happening
correctly.
Gerry