none
Ribbon problem RRS feed

  • Question

  • Hi,

    in my Outlook VSTO addin one of our customers has discovered following ribbon problem. 

    When he starts Outlook, he selects random email and then he try to switch to another tab (Send/Recieve for example) and tab does not fully show up (see picture below). It happens only when our plugin is enabled. I'm not able to induce this behavior on my (or my colleagues) pc.

    Ribbon problem

    I'm setting some visible/enable states to ribbon buttons in ActiveExplorer_SelectionChange event and at the end I call ribbon invalidate.

    Any ideas?

    Thanks.

    Wocko

    Monday, October 1, 2012 12:02 PM

Answers

  • Problem solved - it was somehow related to GC.Collect which I was calling as a final method. After I have removed GC.Collect, it works well.

    My opinion: GC.Collect takes some time, so after few seconds Outlook simply stops waiting. (or something like that).

    Anyway thank you for your time.

    • Marked as answer by Wocko Tuesday, October 2, 2012 2:04 PM
    Tuesday, October 2, 2012 2:04 PM

All replies

  • Hi Wocko,

    Thanks for posting in the MSDN Forum.

    Would you please show me some snippet for further research?

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, October 2, 2012 9:15 AM
    Moderator
  • Problem solved - it was somehow related to GC.Collect which I was calling as a final method. After I have removed GC.Collect, it works well.

    My opinion: GC.Collect takes some time, so after few seconds Outlook simply stops waiting. (or something like that).

    Anyway thank you for your time.

    • Marked as answer by Wocko Tuesday, October 2, 2012 2:04 PM
    Tuesday, October 2, 2012 2:04 PM