Bug 79738 - "Edit File Type" for Folders/Directories makes Konqueror unusable
Summary: "Edit File Type" for Folders/Directories makes Konqueror unusable
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-16 11:22 UTC by Jochen Römling
Modified: 2008-05-06 05:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Römling 2004-04-16 11:22:19 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    Debian testing/unstable Packages
OS:          Linux

Yesterday I tried to associate the application "Kuickshow" with Folders / Directories to simplify browsing images.

When you select a directory in Konqueror, the "Edit File Type" from the "Edit" menu is disabled, so you cannot tell him to add an "Open with Kuickshow" entry to it's contextmenu. 

But you are able to right-click the directory in the tree view of the side bar, then choose "Open with", enter "Kuickshow" and say "Remeber this setting" (or the like). It works correctly and an "Open with Kuickshow" entry appears in directory's contextmenu.

But: Since then if you simply click on a directory in the detail view, the error message "You tried to open a type inode/directory, but Konqueror is not able to display this type" appears and the contents is not displayed. Entering the directory's name into the location bar works.

I was not able to find the inode/directory -> kuickshow assitiation in some file in my .kde directory. How can I switch this thing off? 

I guess it's a bug. You shouldn't be able to associate a default application to a directory and if you do, Konqueror should still be able to display it. And last but not least I think it does make sense to enable the "Edit File Type" option even for directories, like this case shows.

I used Konqueror 3.2.2 from Debian/unstable, which seems not even be released.
Comment 1 Jochen Römling 2004-04-17 01:20:01 UTC
The actual error message when clicking a directory in Konqueror is: 

"There appears to be a configuration error. You have associated
Konqueror with inode/directory, but it can't handle this file type"

After you delete 
  .kde/share/mimelnk/inode
the error disappears, but the context menu entry for Kuickshow is persistent.

There was only a file named directory.desktop that has been deleted, containing:

[Desktop Entry]
Comment=Directory
Hidden=false
Icon=folder
MimeType=inode/directory
Patterns=
Type=MimeType
X-KDE-AutoEmbed=false


Can please somebody explain what all this is about?
Comment 2 Jan Trmal 2004-05-02 19:37:33 UTC
Yep, that's my problem, too. I tried to associate XMMS -e to inode/directory to simplify enqueuing to xmms playlists and I get the same error. I _can_ get rid of it, it is reproducable, whenever I associate XMMS with inode/directory, the error appears. It worked in KDE-3.1.1 without any problem.

KDE 3.2.2 (QT 3.3.0, Gentoo)
Linux (i686) release 2.6.5-mm6
gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
Comment 3 James Richard Tyrer 2008-03-02 11:15:29 UTC
"But you are able to right-click the directory in the tree view of the side bar, then choose "Open with", enter "Kuickshow" and say "Remeber this setting" (or the like). It works correctly and an "Open with Kuickshow" entry appears in directory's contextmenu."

This is the bug, you shouldn't be able to do this!!
 
Comment 4 Andrew Wang 2008-05-05 05:44:02 UTC
Can't reproduce this in versions 3.5.9 or 4.0.3, I set Kuickshow at the top of the list of applications for "Open with", and konqueror still opens the folders just fine.
Comment 5 James Richard Tyrer 2008-05-05 17:55:44 UTC
I agree, this bug has been fixed and should be closed as FIXED.
Comment 6 James Richard Tyrer 2008-05-06 05:43:15 UTC
OK, so I am closing this as FIXED.

If anyone is still having the same problem, please contact me and I will reopen it.