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

List:       kde-devel
Subject:    Re: Ark kedit kwrite open file problem.
From:       Henrique Pinto <stampede () coltec ! ufmg ! br>
Date:       2003-08-02 1:46:35
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi,

On Friday 01 August 2003 00:25, Wang ZhiGang wrote:
> Hi,everyone,
> I find a common problem in some KDE programs : Open a text file in kedit,
> then select open rencent to open it in another window. Now in the original
> window ,select close to close the file. Then select open recent to open it.
> It cannot be opened again. Same problems apears in kwrite ark and maybe in
> other programs. I studied ark , and I find the problem exists in the
> ArkToplevelWindow::arkAlreadyOpen(const KURL &url) function in
> arktoplevelwindow.cpp.
> if ( m_part->url() == url )
>         return true;
> ArkPart *m_part;
> class ArkPart: public KParts::ReadWritePart
> I looked at the part.h and part.cpp and find that even we execute
> ReadWritePart::closeURL(),the KURL ReadWritePart::url() const { return
> m_url; } still return the m_url used last time. Becuse closeURL do nothing
> to m_url. So the problem apears. Shall we make the closeURL() function to
> set the m_url to null and then the problem would be solved. I am sure that
> exists a common resolution to the problem . Let's make a better one than
> above.

You may want to discuss this issue with Ark's mantainer, Helio Castro.

-- 
	Henrique Pinto
	stampede@coltec.ufmg.br

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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