AddinModule_OnKeyDown fires multiple times for each key press in 8.3.4393

Add-in Express™ Support Service
That's what is more important than anything else

AddinModule_OnKeyDown fires multiple times for each key press in 8.3.4393
 
ben.nicholls




Posts: 6
Joined: 2015-10-19
Hello,

I've come across an issue with handling the OnKeyDown event in my Outlook add-in where since updating to 8.3.4393 the event gets fired multiple times for each key press. Usually twice in Outlook 2013 and 2016, and three times in 2010.

I've confirmed that rolling back to 8.2.4371 the event only fires once for each key press as expected.

It's possible to replicate the issue with the following code.


		private void AddinModule_AddinInitialize(object sender, EventArgs e)
		{
			this.HandleShortcuts = true;
			this.OnKeyDown += AddinModule_OnKeyDown;
		}

		private void AddinModule_OnKeyDown(object sender, ADXKeyDownEventArgs e)
		{
			System.Diagnostics.Debug.WriteLine((Keys)e.VirtualKey);
		}


Can you please let me know if there is any solution available?

Thanks,
Ben.
Posted 16 Nov, 2016 00:30:58 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Hello Ben,

We test a fix for this issue. We suppose it will be included in the build which we are going to publish soon. Probably, even today or tomorrow.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Nov, 2016 04:58:53 Top
ben.nicholls




Posts: 6
Joined: 2015-10-19
Hi Andrei,

I've installed 8.4.4395 and it has fixed the bug in my add-in.

Thanks,
Ben
Posted 16 Nov, 2016 20:06:36 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Thanks for confirming, Ben!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 17 Nov, 2016 04:39:08 Top