Bug 93022 - opening of known filestypes doesn't work right
Summary: opening of known filestypes doesn't work right
Status: RESOLVED FIXED
Alias: None
Product: kfile
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 12:23 UTC by m.wege
Modified: 2018-04-11 20:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
picture showing the problem (17.33 KB, image/png)
2004-11-10 12:24 UTC, m.wege
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2004-11-10 12:23:51 UTC
Version:           3.3.1 (using KDE 3.3.1,  (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-2)
OS:                Linux (i686) release 2.6.8.1-kanotix-5

I have a problem with opening files from my webmail sometimes. Even though Konqueror knows the filetype (e.g. DOC) it doesn`t seem to remember this. I am asked if I want to save or if I want to "open with". It is quite enoying to choose the program every time I want this.
The problem seems to have to parts:
1. Konqueror doesn't seem to remember all known files types in every situation. I this case I have the feeling it has something to do with the [ application/octet-stream ] which is transmitted. Sometimes it is [application/msword ]. Then it works.

2. But apart from this. The behavior of the dialog is not the best. Windows asks also has an option to klick on, which add the choice I made to the list of known filetypes. So I don't have to do this again. I am missing this option.
Comment 1 m.wege 2004-11-10 12:24:33 UTC
Created attachment 8237 [details]
picture showing the problem
Comment 2 Allan Sandfeld 2004-11-11 16:06:20 UTC
The problem is that we trust what the webserver tells us the mimetype is. 

I think the solution should be to treat "application/octet-stream" as unknown, and then use pattern-matching instead.
Comment 3 m.wege 2004-11-11 16:36:14 UTC
I have to ad, that a simular problem occurs, when I want to integrate a ics-kalender file from projekt24.info. Instead of opening the korganizer, the files is opened and displayed as a text file. The bindings to ICS-files are set correctly to open in Korganiser with priority before text. Unfortuneatly I cannot tell you what file type is transmitted by the webserver. It would try to look it up, if someone is able to tell me where/ how to check this.
Comment 4 Christoph Feck 2009-08-27 02:35:55 UTC
Moving from "kio/kfile" component to "kfile" product, helps sorting out duplicates.
Comment 5 Nate Graham 2018-04-11 20:10:33 UTC
Can't reproduce in KDE Frameworks 5.45.