Bug 275987 - Right clicking on empty space in the contact list brings up a context menu for a random contact
Summary: Right clicking on empty space in the contact list brings up a context menu fo...
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: contactlist (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR minor
Target Milestone: 0.4.0
Assignee: Martin Klapetek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-18 17:49 UTC by David Edmundson
Modified: 2012-07-06 12:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Fix for this crash (631 bytes, patch)
2011-06-19 00:32 UTC, Martin Klapetek
Details

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