[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Opening a remote file from the recent files list in the widget
From:       Peter Simonsson <peter.simonsson () gmail ! com>
Date:       2006-02-08 18:39:10
Message-ID: 9966b3040602081039n7bb16e42q () mail ! gmail ! com
[Download RAW message or body]

2006/2/8, Boudewijn Rempt <boud@valdyas.org>:
> On Wed, 8 Feb 2006, David Faure wrote:
>
> > On Wednesday 08 February 2006 16:22, Boudewijn Rempt wrote:
> > > On Wednesday 08 February 2006 16:04, Peter Simonsson wrote:
> > > > 2006/2/8, Boudewijn Rempt <boud@valdyas.org>:
> > > > > With Krita, I cannot open a remote file from the recent files list in the
> > > > > startup widget. I can open a remote file (say,
> > > > > http://www.valdyas.org/~boud/face1.kra) directly from konqueror, I can
> > > > > open it from the recent files list in the file menu, but not when I
> > > > > select it in the startup widget.
> > >
> > > > It's because krita assumes that it has loaded the doc when the view is
> > > > created which might not be the case when opening remote files.
> > >
> > > I'm still not getting it... I don't want to create the view before I've loaded
> > > the document.
> >
> > And yet, that's how the framework works. For remote files the loading is async,
> > so the view is created before the doc. I remember fixing a few assumptions in
> > kword/kpresenter to make that work. Usually it's not too difficult, just some 0-pointer
> > checks here and there.
>
> But when do the views get informed of the loading finishing?
>
> Boudewijn

Here is a patch that works for me... http://janeway.no-ip.org/kritaload.diff
--
LLaP
Peter Simonsson
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic