--===============95883973094741703== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_GgxK/tf17LCN/LI"; charset="gb2312" Content-Transfer-Encoding: 7bit --Boundary-02=_GgxK/tf17LCN/LI Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline 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 i= t. > 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() =3D=3D 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. =2D-=20 Henrique Pinto stampede@coltec.ufmg.br --Boundary-02=_GgxK/tf17LCN/LI Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA/KxgGx5ej30+ryYARAt1IAKD5ixbPYMWtvz1ZyfC4xaHxmxfY+ACdEY4z ZvXamPVd3NusT7KcBAPIYYw= =9Qve -----END PGP SIGNATURE----- --Boundary-02=_GgxK/tf17LCN/LI-- --===============95883973094741703== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============95883973094741703==--