Resizing Outlook panels causes distorted panels

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

Resizing Outlook panels causes distorted panels
 
Andrei Smolin


Add-in Express team


Posts: 16662
Joined: 2006-05-11
Hello Andriy,

We suppose the issue relates to your controls. Could you try to refresh them after the Activate event occurs? If this doesn't help, we would need to have a simple project reproducing this issue.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 14 Sep, 2018 04:03:31 Top
Andriy




Posts: 34
Joined: 2018-03-13
Hello,
What do you mean by "refresh"? WPF on every resize calls OnRender and redraw entire view.
Posted 26 Sep, 2018 02:22:24 Top
Andrei Smolin


Add-in Express team


Posts: 16662
Joined: 2006-05-11
Hello Andriy,

Is the issue is reproducible with Regions 4?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 28 Sep, 2018 09:21:39 Top
Andriy




Posts: 34
Joined: 2018-03-13
Hello,
We use v. 3.4.2440.2010. If i understand you right.
Posted 01 Oct, 2018 02:20:41 Top
Andriy




Posts: 34
Joined: 2018-03-13
We will download last assemblies and retest.
Posted 01 Oct, 2018 02:56:11 Top
Andriy




Posts: 34
Joined: 2018-03-13
Hello,
We are still able to reproduce this issue. But for now not so dramatically like in the screenshot. For me it reproduces if I enable custom folder view pane, custom reading pane and make reading view pane as narrow as possible then click on maximize button twice. This actions leads to little overlapping custom folder view pane controls to custom reading pane.
If standard folder view pane enabled nothing happens.
I'm not sure that is the same issue.
Posted 12 Oct, 2018 08:05:13 Top
Andrei Smolin


Add-in Express team


Posts: 16662
Joined: 2006-05-11
Hello Andriy,

Could you please provide a sample project reproducing this issue?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 15 Oct, 2018 07:35:16 Top
Andrei Smolin


Add-in Express team


Posts: 16662
Joined: 2006-05-11
Also, please capture a video demonstrating the issue and steps required to reproduce it.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 15 Oct, 2018 07:36:10 Top
Andrei Smolin


Add-in Express team


Posts: 16662
Joined: 2006-05-11
Hello Yevhenii,

Thank you for the code and video. Alas, we are unable to reproduce the issue.

We think you need to detect this moment and refresh your usercontrol. To detect how the Outlook window changed, you can use a timer or a Windows hook. To refresh the usercontrol, check the ways suggested at https://stackoverflow.com/questions/5959217/wpf-forcing-redraw-of-canvas. Or, you can try to hide and then show the usercontrol to cause the redraw.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Oct, 2018 08:23:43 Top