Version: 1.11.0 (using KDE 4.2.0) OS: Linux Installed from: Gentoo Packages Hi, there seems to be bug in a context menu. If I want to print a mail I want to to open the context menu within the "mail-display" part or in the listview of the main kmail window and select "Print ..." This menu item is enabled for some mails, but for mayn mails it is disabled... why? I can doubleclick the entry in the list view to open the mail in a separate window and then it seems to work for all mails.
I think I know now what it is: In the list-view (email list) the print entry is disabled when I right-click on a closed message thread (because there may be several message "under the cursor") But this leads to the Print entry disblaed in the message view, too, which IMO does *not* make sense because I *am* viewing a single message that I wnat to print then. So the Print.. entry in the message view should *always* be enabled.
Confirmed Using KDE 4.2.64 (KDE 4.2.64 (KDE 4.3 >= 20090218)) "release 3.1". The context menu shoud allways allow to print.. when it is used over the message preview.
SVN commit 937842 by stefanek: The "View Source" and "Print" actions operate on the currently selected visible message. Keep them enabled even if the selection contains additional hidden messages. BUG: 183142 BUG: 185518 M +41 -3 kmmainwidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=937842
SVN commit 939057 by stefanek: Properly count visible messages when updating the actions, also when the aggregation has no grouping. Rename the "CurrentlyViewable" property to "DisplayedWithParentsExpanded" to avoid collision with the "Viewable" property inside Model, which is a subset. BUG: 183142 BUG: 185518 M +1 -1 core/model.cpp M +36 -20 core/view.cpp M +7 -6 core/view.h M +1 -1 widget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=939057
SVN commit 940767 by tmcguire: Backport r939057 by stefanek from trunk to the 4.2 branch: Properly count visible messages when updating the actions, also when the aggregation has no grouping. Rename the "CurrentlyViewable" property to "DisplayedWithParentsExpanded" to avoid collision with the "Viewable" property inside Model, which is a subset. CCBUG: 183142 CCBUG: 185518 M +1 -1 core/model.cpp M +36 -20 core/view.cpp M +7 -6 core/view.h M +1 -1 widget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=940767