dbusmenuqt and left-click

Andriy Rysin arysin at gmail.com
Sat Aug 7 17:55:06 BST 2010


On Aug 5, 2010, at 5:10, Marco Martin <notmart at gmail.com> wrote:

> On Thursday 05 August 2010, Andriy Rysin wrote:
>> In keyboard layout indicator module I have a reaction to left-click via
>> activateRequested(), which is to toggle the layout to the next one (as
>> opposed to right-click which brings menu). Though currently (with latest
>> dbusmenuqt) no matter whether I click left or right button it's always
>> context menu that appears.
>> 
>> Is this a bug or something else is needed to make activateRequested() work?
> 
> yes, it was a bug.
> i did fix it yesterday for another problem (korgac showing the same problem)
> 
> now if you -don't- set an associatedwidget the signal will work.
> if you set the menu, you'll get the menu with both mouse buttons.
> the keyboard layout indicator seems to work after the fix.
Works now, thanks!

Andriy



More information about the kde-core-devel mailing list