Bug 392105

Summary: Editing message list themes doesn't work
Product: [Applications] kdepim Reporter: Marc Mezzarobba <marc+bugs>
Component: messagelistAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: montel
Priority: NOR    
Version: 5.7.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot

Description Marc Mezzarobba 2018-03-20 15:21:17 UTC
Adding or moving items in custom message list themes no longer seems to work with kmail / messagelib 17.12.2.

Steps to reproduce:
1) View > Message List > Theme > Configure
2) Clone Theme
3) Attempt to drop a "Content Item" on the preview of the newly created theme.

Expected result: the content item is added to the theme.

Actual result: the mouse cursor indicates that the item cannot be dropped there, even after releasing the button.
Comment 1 Laurent Montel 2018-03-21 06:58:17 UTC
did you select the new theme ? 
Here it works fine
Comment 2 Marc Mezzarobba 2018-03-21 09:39:43 UTC
Thanks for having a look!

(In reply to Laurent Montel from comment #1)
> did you select the new theme ? 

Yes, I did. And I'm able to edit the properties of the items in the new themes, or to remove items, but not to add new contents item nor to move existing ones.
Comment 3 Laurent Montel 2018-03-21 10:53:16 UTC
(In reply to Marc Mezzarobba from comment #2)
> Thanks for having a look!
> 
> (In reply to Laurent Montel from comment #1)
> > did you select the new theme ? 
> 
> Yes, I did. And I'm able to edit the properties of the items in the new
> themes, or to remove items, but not to add new contents item nor to move
> existing ones.

normal as it's default theme.
We don't have method for restoring them so you need to clone them and modify them.
Comment 4 Marc Mezzarobba 2018-03-21 12:18:10 UTC
Created attachment 111538 [details]
screenshot

(In reply to Laurent Montel from comment #3)
> normal as it's default theme.
> We don't have method for restoring them so you need to clone them and modify
> them.

I fear I don't understand what you mean, sorry. I am trying to edit a clone of one of the default themes, not the default theme itself. Here is a screenshot to try to clarify what happens.