Bug 275987

Summary: Right clicking on empty space in the contact list brings up a context menu for a random contact
Product: [Frameworks and Libraries] telepathy Reporter: David Edmundson <kde>
Component: contactlistAssignee: Martin Klapetek <mklapetek>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: unspecified   
Target Milestone: 0.4.0   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Fix for this crash

Description David Edmundson 2011-06-18 17:49:38 UTC
Version:           unspecified
OS:                Linux



Reproducible: Always

Steps to Reproduce:
Right click in whitespace

Actual Results:  
Context menu for last selected on contact

Expected Results:  
No context menu.
Comment 1 Martin Klapetek 2011-06-19 00:32:13 UTC
Created attachment 61129 [details]
Fix for this crash

Here's a patch for that, I just can't upload it to RB (says it can't find the revision, although my working copy is up-to-date etc.), after 15mins I'm done trying it again and simply posting it here. 

It's a simple four-liner, it takes index from mouse position rather than currentIndex().