Bug 284374 - kmail 'mark as read' shortcut bugs
Summary: kmail 'mark as read' shortcut bugs
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 4.7
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 15:26 UTC by Marc Cousin
Modified: 2012-06-19 14:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.1


Attachments
snapshot of the problem (77.58 KB, image/png)
2011-10-19 09:11 UTC, Marc Cousin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Cousin 2011-10-18 15:26:39 UTC
Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

I tried configuring the 'Mark as read' shortcut, first surprise is that there are two 'mark as unread' shortcuts, and no 'mark as read' shortcut (I can provide a screenshot capture).

I tried to overwrite this by fiddling with .kde4/share/apps/kontact/local-kmail2.rc and defining the shortcut myself there. This one works for a few hours, and then disappears too (maybe I changed another shortcut, I don't know…). I guess it must be the consequence of the first problem. The mark as read sometimes appeared in the shortcut edit box after I edited the local-kmail2.rc file.

It is on a fresh kde 4.7.2 archlinux install.




Reproducible: Always

Steps to Reproduce:
Start on a kde 4.7.2 fresh install and try to edit the shortcut of 'mark as read' in kmail or kontact

Actual Results:  
there is no 'mark as read' entry.

Expected Results:  
Have a 'mark as read' entry, and be able to edit it.
Comment 1 Marc Cousin 2011-10-19 09:11:18 UTC
Created attachment 64699 [details]
snapshot of the problem
Comment 2 Marc Cousin 2011-10-19 09:12:31 UTC
I just added a snapshot of the problem. And here in the excerpt from .kde4/share/apps/kontact/local-kmail2.rc:

 </ToolBar>
 <ActionProperties scheme="Default">
  <Action shortcut="Ctrl+R" name="akonadi_mark_as_read"/>
  <Action shortcut="G" name="jump_to_folder"/>
 </ActionProperties>
</kpartgui>

1 hour ago, there was a mark as read option in the shortcut menu… I cannot find the cause of it appearing and disappearing.
Comment 3 Mara Raram 2012-01-11 11:10:06 UTC
I can confirm this with Kmail2 from openSUSE 12.1, KDE 4.7.2 "release 5".

One of the "mark as unread" entries seems to toggle the read-status. Alas, this is not what I need. I need a "mark as read", no matter what the state was before.
Comment 4 Marc Cousin 2012-01-20 07:55:56 UTC
I finally found a way to reproduce this:

The «mark as read» shortcut is only displayed in the shortcuts list (settings/configure shortcuts) when the selected mail is unread, and the «mark as unread» shortcut is only displayed in the shortcuts list when the selected mail is read.
Comment 5 Laurent Montel 2012-02-02 13:59:15 UTC
Fixed now. in 4.8.1
We changed text from this action
It was not good.
Now we use 2 actions. and disable actions when we can't use it.
Regards