Bug 259963 - Wrong context menu in middle column
Summary: Wrong context menu in middle column
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 15:37 UTC by Theofilos Intzoglou
Modified: 2012-03-02 15:25 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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