Bug 284302 - Snippet view context menu bugs
Summary: Snippet view context menu bugs
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 4.7
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 20:11 UTC by Will Stephenson
Modified: 2011-10-18 11:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.7.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will Stephenson 2011-10-17 20:11:07 UTC
The selection logic is a bit buggy, as you can't right click outside the snippet tree to add a snippet group. The context menu is always based on the selected item so Add Group... is only available when an existing snippet, not another group, is selected.

If you right click outside the snippet tree, in the view, you get the context menu for the selected snippet, titled with its name.

You should be able to right click on the empty part of the view and get the Add Group... action.
Comment 1 Laurent Montel 2011-10-18 11:52:37 UTC
Git commit b98e51394a3b58df018b360fe883ceed48a59e82 by Montel Laurent.
Committed on 18/10/2011 at 13:52.
Pushed by mlaurent into branch 'master'.

Fix 284302 - Snippet view context menu bugs

Now we can create group all the time.

FIXED-IN: 4.7.3
BUG: 284302

M  +2    -6    kmail/snippetwidget.cpp

http://commits.kde.org/kdepim/b98e51394a3b58df018b360fe883ceed48a59e82
Comment 2 Laurent Montel 2011-10-18 11:54:02 UTC
Git commit c9103cda4cc5139571074ab03386c1ad09c2902a by Montel Laurent.
Committed on 18/10/2011 at 13:52.
Pushed by mlaurent into branch 'KDE/4.7'.

Fix 284302 - Snippet view context menu bugs

Now we can create group all the time.

FIXED-IN: 4.7.3
BUG: 284302
(cherry picked from commit b98e51394a3b58df018b360fe883ceed48a59e82)

Conflicts:

	kmail/snippetwidget.cpp

M  +8    -12   kmail/snippetwidget.cpp

http://commits.kde.org/kdepim/c9103cda4cc5139571074ab03386c1ad09c2902a