Bug 185518 - kmail: "Print ..." entry in context menu is often greyed out (disabled)
Summary: kmail: "Print ..." entry in context menu is often greyed out (disabled)
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: new message list (show other bugs)
Version: 1.11.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Szymon Stefanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 12:55 UTC by Marc Schiffbauer
Modified: 2009-03-18 10:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schiffbauer 2009-02-25 12:55:12 UTC
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.
Comment 1 Marc Schiffbauer 2009-02-25 13:30:05 UTC
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.
Comment 2 Jaime Torres 2009-03-02 20:50:15 UTC
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.
Comment 3 Szymon Stefanek 2009-03-10 15:27:13 UTC
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
Comment 4 Szymon Stefanek 2009-03-13 19:16:17 UTC
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
Comment 5 Thomas McGuire 2009-03-18 10:22:34 UTC
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