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

List:       kde-core-devel
Subject:    Re: serious: konqi removes viewed file ?
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2004-11-15 11:05:10
Message-ID: 200411151205.16080.m.koller () surfeu ! at
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


On Sunday 14 November 2004 12:33, David Faure wrote:

> Ouch. This sounds like a bug in the recent implementation of the --tempfile
> option, which deletes tempfiles after viewing them. Obviously the above is
> no tempfile and shouldn't be deleted.
> I tried and I couldn't reproduce the bug though:
> * I made it URL[$e]=$QTDIR/doc/html/index.html so that it points to a real
> html file here too. * I opened the directory containing the .desktop file
> with konqueror (iconview) * I clicked on it, a new window appears, with the
> HTML file displayed * Upon closing that window, the file isn't deleted. No
> problem when closing the first window either.

You're right - with that steps it also works for me.
But it does not work (the file is removed) if the .desktop file is directly on 
my Desktop and I double click the icon on the desktop!

> Can you make sure you have the latest konqueror?
> Can you check if you see the debug output (from area 1202) saying
>   ######### Deleting tempfile after use: <path>
> ?

Yes, it is in:
...
konqueror: Deleting 0x8552ee8
konqueror: ######### Deleting tempfile after 
use:/home/PACKAGES/KDE-CVS/cvs-api/index.html
konqueror: KonqViewManager::removePart ( 0x87d1ee8 )
...

I attach the part from this session.
-- 
MfG,      ()  ascii ribbon campaign - against html mail 
Martin    /\                        - against microsoft attachments

#332716 with the Linux Counter, http://counter.li.org


-- 
Best regards/Schöne Grüße

Martin
registered as user #332716 with the Linux Counter, http://counter.li.org

       Some operating systems are called 'user friendly',
             Linux however is 'expert friendly'.

["konq.log" (text/x-log)]

DCOP: register 'anonymous-872' -> number of clients is now 19
konqueror: clientApp::createNewWindow \
                file:///home/PACKAGES/KDE-CVS/cvs-api/index.html mimetype=text/html
konqueror: clientApp::createNewWindow using existing konqueror
konqueror: void KonqMisc::createBrowserWindowFromProfile() 
konqueror: path=/root/.kde/share/apps/konqueror/profiles/webbrowsing,filename=webbrowsing,url=file:///home/PACKAGES/KDE-CVS/cvs-api/index.html
                
konqueror: KonqMainWindow::reparseConfiguration() !
konqueror: KonqViewManager::clear
konqueror: Trying to create view for "text/html"
konqueror: Found requested service khtml
konqueror: Trying to open lib for requested service khtml
konqueror: KonqViewManager::setupView passiveMode=false
konqueror: KonqView::switchView
DCOP: register 'anonymous-858' -> number of clients is now 20
kdecore (KAction): WARNING: KAction::plug(): has no KAccel object; this = 0x85b5a38 \
name = rellinks_toc parentCollection = 0x85b25f8 kdecore (KAction): WARNING: \
KAction::plug(): has no KAccel object; this = 0x85d7900 name = rellinks_glossary \
parentCollection = 0x85b25f8 kdecore (KAction): WARNING: KAction::plug(): has no \
KAccel object; this = 0x85d7a78 name = rellinks_index parentCollection = 0x85b25f8 \
kdecore (KAction): WARNING: KAction::plug(): has no KAccel object; this = 0x85d8e98 \
name = rellinks_help parentCollection = 0x85b25f8 kdecore (KAction): WARNING: \
KAction::plug(): has no KAccel object; this = 0x85d95c0 name = rellinks_authors \
parentCollection = 0x85b25f8 kdecore (KAction): WARNING: KAction::plug(): has no \
KAccel object; this = 0x85d9d00 name = rellinks_copyright parentCollection = \
                0x85b25f8
konqueror: KonqMainWindow::enableAllActions true
konqueror: KonqMainWindow::viewCountChanged
konqueror: KonqMainWindow::slotPartActivated 0x8573438 khtml
konqueror: New current view 0x8571cc0
konqueror: KonqMainWindow::setLocationBarURL: url = 
konqueror: KonqMainWindow::openURL : url = \
'file:///home/PACKAGES/KDE-CVS/cvs-api/index.html'  serviceType='text/html' \
                view=0x8571cc0
konqueror: KonqMainWindow::abortLoading()
konqueror: KonqView::stop()
konqueror: trying openView for file:///home/PACKAGES/KDE-CVS/cvs-api/index.html \
                (serviceType text/html)
konqueror: KonqMainWindow::openView text/html \
file:///home/PACKAGES/KDE-CVS/cvs-api/index.html 0x8571cc0 req:[forceAutoEmbed \
                tempFile]
konqueror: makeViewsFollow KonqView \
                url=file:///home/PACKAGES/KDE-CVS/cvs-api/index.html \
                serviceType=text/html
konqueror: changeViewMode: serviceType is text/html serviceName is  current service \
                name is khtml
konqueror: KonqView::openURL url=file:///home/PACKAGES/KDE-CVS/cvs-api/index.html \
                locationBarURL=file:///home/PACKAGES/KDE-CVS/cvs-api/index.html
konqueror: KonqMainWindow::setLocationBarURL: url = \
                file:///home/PACKAGES/KDE-CVS/cvs-api/index.html
konqueror: KonqMainWindow::openView ok=true bOthersFollowed=false returning true
konqueror: Part is already active!
DCOP: unregister 'anonymous-872'
kdeinit: PID 872 terminated.
konqueror: KonqMainWindow::slotPartActivated 0x8573438 khtml
konqueror: New current view 0x8571cc0
konqueror: KonqMainWindow::setLocationBarURL: url = \
                file:///home/PACKAGES/KDE-CVS/cvs-api/index.html
kdeinit: Got EXEC_NEW 'kio_file' from launcher.
konqueror: KonqMainWindow::setCaption(The KDE API Reference (The KDE API Reference))
kdeinit: Got EXEC_NEW 'kio_file' from launcher.
kdeinit: Got EXEC_NEW 'kio_file' from launcher.
kdeinit: Got EXEC_NEW 'kio_file' from launcher.
konqueror: KonqMainWindow::closeEvent begin
konqueror: KonqViewManager::clear
konqueror: KonqMainWindow::setLocationBarURL: url = \
                file:///home/PACKAGES/KDE-CVS/cvs-api/index.html
konqueror: KonqMainWindow::slotPartActivated (nil) 
konqueror: New current view (nil)
konqueror: No part activated - returning
konqueror: 1 items
konqueror: KonqMainWindow::removeChildView childView 0x8571cc0
konqueror: 1Views
konqueror: 0x8571cc0
konqueror: Searching map
konqueror: Verifying search results
konqueror: Removing view 0x8571cc0
konqueror: View 0x8571cc0 removed from map
konqueror: KonqMainWindow::viewCountChanged
konqueror: 0Views
konqueror: Deleting 0x8571cc0
konqueror: ######### Deleting tempfile after \
                use:/home/PACKAGES/KDE-CVS/cvs-api/index.html
konqueror: KonqViewManager::removePart ( 0x8573438 )
konqueror: Calling KParts::PartManager::removePart 0x8573438
konqueror: KonqViewManager::removePart ( 0x8573438 ) done
DCOP: unregister 'anonymous-858'
konqueror: deleting mainFrame 
konqueror: Memory usage increase: 1648640 (7529472/5880832)
konqueror: Konqy kept for preloading :konqueror-858
konqueror: KonqViewManager::clear
konqueror: KonqMainWindow::closeEvent end


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

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

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