[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta-devel
Subject: [quanta-devel] Bug in listviews
From: Andras Mantia <amantia () kde ! org>
Date: 2006-03-16 21:02:20
Message-ID: 200603162302.20715.amantia () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Hi (Jens),
As you were the one who rewrote the listview code, I ask the question
here. There is a strange bug there which appears with fish, but not
with local files. Create a new project in your home directory via fish,
let's say in "/home/user/test/". The project tree will be completely
empty (of course the top level item will exists). Now from the file
tree add a new file to the project (context menu, Insert in project).
This will appear in the project tree correctly. Now in the files tree
(or outside of Quanta) copy a new file under /home/user/test. Go to the
project tree and select the Rescan Project Folder. Aside of the newly
copied files, the *.webprj, *.session and the templates/toolbars dir
will appear. OK to add all of them. In the project tree all of them
will appear but the file you've just copied! A further rescan does not
show the file anymore, and if you close the project and look at your
webprj file you will see that it was correctly added:
<!DOCTYPE webproject>
<webproject>
<project type="Local" name="test" encoding="utf8" >
<upload/>
<author/>
<email/>
<defaultDTD>-//W3C//DTD XHTML 1.0 Transitional//EN</defaultDTD>
<item url="" uploadstatus="1" />
<templates>templates/</templates>
<toolbars>toolbars/</toolbars>
<item url="andras.wav" />
<item url="templates/" />
<item url="toolbars/" />
<item url="annotations.wav" />
<item url="test.session" />
<item url="test.webprj" />
</project>
</webproject>
Here "andras.wav" was added with Insert in Project, while
"annotations.wav" was added with the Rescan Project Folder. As you can
see there is no difference at all in the items, but "annotations.wav"
will not appear.
Now open the project again. It is still missing. Now the fun begins:
- if you restart Quanta and load the project, it will appear
- if you choose Reload from the context menu it appears. The fun is that
after this it will appear even if you close/reopen the project. If you
verify the project file, you will not see much difference (the extra
uploadstatus="1" should not matter IMO)
- if you load the project via the file:// protocol, there is no problem
- if you add the file with Project->Insert Files, there is no problem
The same seems to happen with the ftp:// projects as well.
Any idea??
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
[Attachment #5 (application/pgp-signature)]
_______________________________________________
quanta-devel mailing list
quanta-devel@kde.org
https://mail.kde.org/mailman/listinfo/quanta-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic