Panel border disappears in Office 2013 style (problem + possible resolution).

May 9, 2014 at 2:48 PM
Using Office 2013 Ribbon style i have noticed that often, especially when i click buttons, the vertical line that divides the panels, disappears. Analyzing the code, i have found a solution that seams to work: modify RibbonProfessionalRenderer.cs as following:
public override void OnRenderRibbonPanelBackground(RibbonPanelRenderEventArgs e)
{
    if (e.Panel.OverflowMode && !(e.Canvas is RibbonPanelPopup))
    {
        ...
    }
    else
    {
        if (e.Panel.Selected)
        {
           ...
            else if (e.Ribbon.OrbStyle == RibbonOrbStyle.Office_2013)
            {
                DrawPanelNormal(e); //ADD THIS ROW OF CODE!
            }
        }
        ...
    }
}
Can some administrator evaluate the insertion of this fix into the code?
Thank you!
Developer
Jun 15, 2014 at 11:29 AM
Edited Jun 15, 2014 at 11:30 AM
Which version are you working with? In my opinion this was fixed some time ago. My function looks like:
        public override void OnRenderRibbonPanelBackground(RibbonPanelRenderEventArgs e)
        {
            if (e.Panel.OverflowMode && !(e.Canvas is RibbonPanelPopup))
            {
                ...
            }
            else
            {
               if (e.Panel.Selected
                  && (e.Ribbon.OrbStyle == RibbonOrbStyle.Office_2007 || e.Ribbon.OrbStyle == RibbonOrbStyle.Office_2010))
                {
                     DrawPanelSelected(e);
                }
                else
                {
                    DrawPanelNormal(e);
                }
            }
        }
Jun 10, 2015 at 6:45 AM
Well, i have the last version (from Download button =P), and apparently it has not been updated.
But Tanks !!!!! XD