Review Request: Jar archives also uses the zip protocol.

Frank Reininghaus frank78ac at googlemail.com
Wed Dec 5 19:39:29 GMT 2012



> On Nov. 21, 2012, 3:48 p.m., David Faure wrote:
> > Hmm, this shouldn't be necessary, in fact.
> > 
> > The mimetype definition file freedesktop.org.xml says that application/x-java-archive derives from application/zip. So it sounds more like the code that looks at this field doesn't take mimetype inheritance into account?
> > 
> > That would be KProtocolManager::protocolForArchiveMimetype() in kio.
> > Indeed, it should look at parent mimetypes too, for this to work more generally.
> > Can you test this patch instead? http://www.davidfaure.fr/2012/188989.diff
> > Please check that everything works ok with zip-based documents, like openoffice files etc.
> 
> Emmanuel Pescosta wrote:
>     > Please check that everything works ok with zip-based documents, like openoffice files etc.
>     Works fine for me ;)
> 
> Frank Reininghaus wrote:
>     According to https://bugs.kde.org/show_bug.cgi?id=188989#c12 opening .xlsx and .pptx files is now broken in KDE 4.9.4.

This has been reported by a few more people for OpenDocument files, and I can confirm this: https://bugs.kde.org/show_bug.cgi?id=311214

Maybe the people who tested David's patch did have "Open archives as folder" enabled.


- Frank


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101455/#review22318
-----------------------------------------------------------


On May 27, 2011, 11:06 p.m., Matthias Fuchs wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101455/
> -----------------------------------------------------------
> 
> (Updated May 27, 2011, 11:06 p.m.)
> 
> 
> Review request for KDE Runtime and David Faure.
> 
> 
> Description
> -------
> 
> nt
> 
> 
> This addresses bug 188989.
>     http://bugs.kde.org/show_bug.cgi?id=188989
> 
> 
> Diffs
> -----
> 
>   kioslave/archive/zip.protocol ce7c54b 
> 
> Diff: http://git.reviewboard.kde.org/r/101455/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Matthias Fuchs
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20121205/f732f1bd/attachment.htm>


More information about the kde-core-devel mailing list