Bug 465713

Summary: Allow zooming and/or "Open with" of in-place image attachments in HTML message viewer
Product: [Applications] kmail2 Reporter: Brendon Higgins <brendon>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: 5.22.2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Brendon Higgins 2023-02-14 14:55:05 UTC
Hello,

Image attachments with in-place display disposition don't turn up in the attachment lists, in neither the plain text viewer nor the HTML message viewer. The plain text viewer doesn't show the image, of course, so I resort to the HTML viewer to see images when I receive messages like this.

The HTML message viewer tends to scale such images so that they don't exceed some (rather narrow, IMO) predetermined width. If someone sends me a screenshot, for example, it is almost always shrunk to the point of being illegible. Regular (non-in-place) attachments would have the option to open in Gwenview or something else, which would be fine. But without the regular attachments list, the only option I have is the right-click context menu. From there, the best option I have is "Copy image location", which I can use to manually paste into Gwenview's "Open" dialog.

Why no "Open image"/"Open image with", or similar? I think that would be much more intuitive from a user perspective.

Of course, this comes up because the HTML message viewer shrinks in-place images with no way for the user to adjust or "take a closer look", so that functionality would also be useful.

Best,
Brendon
Comment 1 Laurent Montel 2023-03-16 07:15:24 UTC
Git commit af19adb109040aabdec36bc8a370314c07922d6d by Laurent Montel.
Committed on 16/03/2023 at 07:14.
Pushed by mlaurent into branch 'master'.

Add "open image" action

M  +2    -0    src/kmmainwidget.cpp
M  +2    -0    src/kmreadermainwin.cpp
M  +21   -0    src/kmreaderwin.cpp
M  +3    -0    src/kmreaderwin.h

https://invent.kde.org/pim/kmail/commit/af19adb109040aabdec36bc8a370314c07922d6d