Bug 249716 - Marking mails as unread in maintenance view does not always work
Summary: Marking mails as unread in maintenance view does not always work
Status: CLOSED FIXED
Alias: None
Product: KMail Mobile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Maemo 5 Linux
: NOR normal
Target Milestone: ---
Assignee: Ludwig Reiter
URL:
Keywords:
: 251314 256739 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-01 10:46 UTC by Felix Wolfsteller
Modified: 2011-02-16 20:18 UTC (History)
8 users (show)

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 Felix Wolfsteller 2010-09-01 10:46:48 UTC
In the View that appears after selecting "Start Maintenance" (select a folder, "Actions" flap, "View"->"Start Maintenance") when multiple mails are selected, it not always works to mark them as important or action item (untested if "Mark Mail as Read" works).

Furthermore wording issues as reported separately ("Email", Emails", "email", "Mail")

Observed in 4:4.5~20100827.1168757-1maemo1.1169941 .
Comment 1 András Manţia 2010-09-16 10:06:37 UTC
Fixed in rev 175941 (of kdepimlibs).
Comment 2 Felix Wolfsteller 2010-09-17 18:43:51 UTC
*** Bug 251314 has been marked as a duplicate of this bug. ***
Comment 3 András Manţia 2010-09-18 07:29:58 UTC
Can you please detail in what sense it is not working? What happens and what is the expected result?
Comment 4 Felix Wolfsteller 2010-09-20 09:16:56 UTC
Sure Andras, should have been more explicit.

In version 4:4.5~20100917.1176295-1maemo1.1174921 marking multiple mails works as expected, however, unmarking does not work.

Btw there is a SHOUTING DEBUG MESSAGE "MARK ALL AS DONE" on stdout when pressing the respective button.

To reproduce:

1) Open a folder with multiple mails inside.
2) Touch the folder again to enter maintenance ("multiple-select") view.
3) Touch multiple mails. Selection will be indicated by green icons.
4) From the action, select "Mark Mail as Important". This change will be reflected by an icon too (did not work before).
5) Touch "Mark Mail as important" again. Contrary to the actions label, I'd expect to "Unmark" the mails (i.e. the "!" icon should disappear). Instead, nothing happens.
Comment 5 András Manţia 2010-09-20 14:56:11 UTC
SVN commit 1177528 by amantia:

Support message mark toggling. 
BUG: 249716

 M  +19 -3     markascommand.cpp  
 M  +3 -2      markascommand_p.h  
 M  +65 -2     standardmailactionmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1177528
Comment 6 Felix Wolfsteller 2010-09-21 09:43:53 UTC
Confirmed for version 4:4.5~20100920.1177660-1maemo1.1177547 .
Comment 7 Ludwig Reiter 2010-10-26 12:00:32 UTC
In version 4:4.6~20101025.1189387-1maemo1.1188357 it works in the inbox.
But in a subfolder of the inbox it stops to work.

Test:
1. Select a subfolder of the inbox with multiple mails in it.
2, Click on the folder again to start "maintenance mode",
3. Select some mails.
4. Click on "Mark as Important".
=> Need to wait some seconds (app. 10 s)

So reopened.
Comment 8 Tobias Koenig 2010-12-02 15:30:27 UTC
*** Bug 256739 has been marked as a duplicate of this bug. ***
Comment 9 Sabine Faure 2010-12-03 22:39:17 UTC
I retested this today and mark an email as important works for both the Imap inbox and its subfolders.

However, mark an email as read is still partly buggy for the Imap inbox and its subfolders: The option becomes 'Mark Mail as Unread' as it should once the user clicks on it but the selected email is still displayed in red whereas it should be displayed in black. if the user leaves the maintenance mode she can see that the emails are correctly marked as read however.

So there seems to be an unconsistency with those functionalities: one works both from the maintenance mode and in the Imap inbox and subfolders whereas the other can only be seen in the Imap inbox and subfolders.

N900, 4:4.6~20101203.1203110-1maemo1.1202581
Comment 10 Tobias Koenig 2010-12-13 06:33:37 UTC
Hej,

while I was able to reproduce this bug last week and tracked it down to some update problems in QML.ListView, I can't reproduce it anymore after a update of Qt to latest 4.7 branch. So it really seems to be a bug somewhere in the Qt proxy model or QML classes. How shall we proceed? Till?

Ciao,
Tobias
Comment 11 Andreas Holzammer 2011-01-07 14:56:53 UTC
I tested to mark mails as unread and afterwards as read. Also the toggle between important and not important works now. It takes about 3s to change, its ok, but not good.