Bug 335614 - Rq for hacking info: How to determine the name of a dropped message
Summary: Rq for hacking info: How to determine the name of a dropped message
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: 4.13.0
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-30 22:06 UTC by Alistair
Modified: 2017-01-07 21:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alistair 2014-05-30 22:06:50 UTC
Sorry for submitting this as a bug.  I cannot figure out how to send a request for information to the development team.

I can drag a message from the message list and drop it onto a view of a folder in Konqueror.  This creates a file that if clicked, opens as a message in a Kmail view window.  This is ideal behaviour for me.

The problem is that the name of the file created is just a number.

By default, if I do the same thing with Evolution, the filename comprises a date stamp plus a version of the message title.  I have hacked Evolution such that it drops a file with a name in exactly my preferred format (different to the default).  The clicked file opens in Kmal.

I am in the ridiculous position that I use Kmail for everything, apart from this drag-and-drop operation -- but that is central to my business, because I want to store every email message in its own case directory in the filesystem, and not on the IMAP server.

So, I am well prepared to hack my own version of Kmail (and make the hacks available for backporting if they are wanted).  However, I just cannot figure out how to do this.  (I found the source of Evolution far easier to get into than that of Kmail)

So, what I would like to know is:

 - when a message is dragged from the message list and dropped into a Konqueror window, how and where is the name of the resulting determined?
  - if it is not obvious from the context, can someone point me in the direction of how I can get the information to generate a filename that reflects the date and the subject of the message?

While this is an indication of a feature that is wanted, it is not a feature request. All I need is some guidance, and I will implement the feature myself (if I can) and submit it back to the community if it is wanted.

Way back when, dropped messages *did* have a useful filename, but that was in the KDE3* days.  That is why this is not a pure "Wishlist" feature - rather, a request to re-implement something that is of relatively minor interest.  However, IF I CAN I WILL DO THE WORK - it is just quidance I need.

Reproducible: Always
Comment 1 Christoph Feck 2014-06-02 10:43:43 UTC
The KDE PIM development list is here: https://mail.kde.org/mailman/listinfo/kde-pim
Comment 2 Denis Kurz 2016-09-24 18:08:26 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 21:31:41 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.