Bug 259963

Summary: Wrong context menu in middle column
Product: [Applications] kaddressbook Reporter: Theofilos Intzoglou <int.teo>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: jjm, tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 4.9

Description Theofilos Intzoglou 2010-12-15 15:37:51 UTC
Version:           unspecified (using KDE 4.5.85) 
OS:                Linux

When right clicking on the empty space in the middle column that shows the names of your contacts, it shows the context menu for creating a new address book. It should show the context menu for adding a new contact like it does when you click on an existing contact. It is a bit confusing like it is now as you get two different menus on the same column and if you have an empty address book, you can add a new entry only from the menu or the toolbar.

Reproducible: Always
Comment 1 Jonathan Marten 2011-12-22 08:53:52 UTC
Confirmed with current master.
Comment 2 Jonathan Marten 2012-03-02 15:14:16 UTC
Git commit 24b0160e9497d3947726ec4185409c8205633cdc by Jonathan Marten.
Committed on 02/03/2012 at 16:11.
Pushed by marten into branch 'master'.

Add EntityTreeView::setDefaultPopupMenu()

Allows the context menu to be specified which is popped up
when not over an entry (e.g. blank space) in the view.
Over an entry, the type of the entry determines the menu
as before.
REVIEW:104132
FIXED-IN:4.9

M  +16   -9    akonadi/entitytreeview.cpp
M  +19   -0    akonadi/entitytreeview.h

http://commits.kde.org/kdepimlibs/24b0160e9497d3947726ec4185409c8205633cdc
Comment 3 Jonathan Marten 2012-03-02 15:25:04 UTC
Git commit f78438b6357c12803fdc976881339f25d98c47ea by Jonathan Marten.
Committed on 02/03/2012 at 16:22.
Pushed by marten into branch 'master'.

Pop up the correct context menu over blank space in the middle column
FIXED-IN:4.9

M  +1    -0    kaddressbook/mainwidget.cpp

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