image viewers: a different approach

Michael Olbrich michael-olbrich at web.de
Sun Oct 30 09:32:43 GMT 2005


On Sat, Oct 29, 2005 at 11:31:41PM +0200, Ingo Klöcker wrote:
> On Sunday 30 October 2005 00:00, Benjamin Meyer wrote:
> > You make no sense.  You are embedding khtmlpart so embedding *is*
> > done.  In essence khtmlpart is your image viewer.
> 
> It might not make sense to you because I didn't explain it good enough. 
> Anyway, the current situation is like this:
> - For viewing messages we use KHTMLPart. If attached images are shown 
> inline then they are obviously displayed by the KHTMLPart. This won't 
> change.
> - For viewing single attached images (e.g. via context menu->View) we 
> currently open a simple window with a KHTMLPart which displays a 
> trivial HTML page with a single <img> tag.
> 
> I don't like the latter (because the user can't even rotate the image) 
> and therefore want to use an external image viewer in KDE 4.

Why not start an image viewer kpart like you start KHTMLPart now? An
external viewer is _a lot_ slower. For me the difference is between
instantaneously (for all practical purposes) and 2 seconds. And most of
those 2 seconds is not KDE's fault so there is nothing we can do about
it.

michael





More information about the kde-core-devel mailing list