[Bug 62285] Re: cannot disable preview of postscript files

2006-09-25 Thread Anthony Mercatante
It makes sense since pstscript files are text files. If you disable the ps preview but don't disable text preview, konqueror will preview the files as text files. I don't see anything going wrong there. ** Changed in: kdebase (Ubuntu) Status: Unconfirmed = Rejected -- cannot disable

[Bug 62285] Re: cannot disable preview of postscript files

2006-09-25 Thread manu
No, they aren't. They are application/postscript. They are NOT text files. By your same rule, PDF files are also text and thus, their code should be shown as well. ** Changed in: kdebase (Ubuntu) Status: Rejected = Unconfirmed -- cannot disable preview of postscript files

[Bug 62285] Re: cannot disable preview of postscript files

2006-09-25 Thread Andreas Simon
As fas as I can tell this behaviour is intended by upstream. /usr/share/mimelnk/application/postscript.desktop includes the lines [Property::X-KDE-text] Type=bool Value=true which causes the descibed effect. Setting Value=false makes postscript files render as icon only, like PDF files. I

[Bug 62285] Re: cannot disable preview of postscript files

2006-09-25 Thread manu
What a hack! Couldn't just Kate handle application/postscript directly instead of needing to be lied about it? Anyway, thanks Andreas, that is a sensible answer and I guess that this goes beyond Konqueror and it involves more complex MIME stuff. Thus, you may reject the bug if you wish. --

[Bug 62285] Re: cannot disable preview of postscript files

2006-09-25 Thread manu
Just a final note: why the same behaviour doesn't apply to EPS files? They are just postcript. Preview for EPS files is handled by the Postscript, PDF and DVI option (nor image, nor text). Whatever... -- cannot disable preview of postscript files https://launchpad.net/bugs/62285 --

[Bug 62285] Re: cannot disable preview of postscript files

2006-09-25 Thread Andreas Simon
Yes, it's a hack from the time when there was no real inheritance in the mime spec from freedesktop.org. KDE4 will use the new spec and this hack will no longer be needed. KDE needed this in cases when there is no specific mime handler installed, but the mime type is (also) a text format, so that

[Bug 62285] Re: cannot disable preview of postscript files

2006-09-25 Thread manu
Funny, instead of being able to disable text preview for PS files, now I am going to get it also for EPS files. Well, I guess I was too quick reporting this ;-) As I said, feel free to close/reject this. -- cannot disable preview of postscript files https://launchpad.net/bugs/62285 --

[Bug 62285] Re: cannot disable preview of postscript files

2006-09-25 Thread Anthony Mercatante
Thanks Andreas for the detailled explanation. I'm rejecting this, since it is intended upstream. ** Changed in: kdebase (Ubuntu) Status: Unconfirmed = Rejected -- cannot disable preview of postscript files https://launchpad.net/bugs/62285 -- ubuntu-bugs mailing list