Completed
Last Updated: 21 Nov 2014 15:09 by ADMIN
To rperoduce:
- Set the themes as follows:
var theme = new Office2010BlackTheme();
new Telerik.WinControls.RadControlSpy.RadControlSpyForm().Show();
ThemeResolutionService.ApplicationThemeName = theme.ThemeName;

this.radRibbonBar1.ElementTree.EnableApplicationThemeName = false;
this.radRibbonBar1.ThemeName = "ControlDefault";

- Start and collapse the ribbon tabs. 
- Click on a tab to show its controls.

Workaround: Use the ApplyThemeToControlTree method instead of settig the ApplicationThemeName property.
ThemeResolutionService.ApplyThemeToControlTree(this, "Windows");
Completed
Last Updated: 13 Nov 2014 07:04 by ADMIN
When you set the ApplicationMenuStyle property to  BackstageView at design time and set its  theme to Office2013Dark or Office2013Light you lose the ability to return back to the designer page  by clicking the back button.

Workaround: select  the RadRibbonBar via Visual Studio's Document Outline window (ctrl+W, U) or via Visual Studio's Property Grid's Component combobox (on the top of the property grid)
Completed
Last Updated: 21 Oct 2015 12:30 by ADMIN
Please refer to the attached gif file.

Workaround: adjust manually the RadRibbonBarGroup.Margin when the expanded state is changed:

public Form1()
{
    InitializeComponent();
    this.radRibbonBar1.ExpandedStateChanged += radRibbonBar1_ExpandedStateChanged;
    radRibbonBar1.Expanded = false;
}

private void radRibbonBar1_ExpandedStateChanged(object sender, EventArgs e)
{
    if (this.radRibbonBar1.Expanded)
    {
        AdjustMargin(0);
    }
    else
    {
        AdjustMargin(-10);
    }
}

private void AdjustMargin(int top)
{
    foreach (RibbonTab tab in this.radRibbonBar1.CommandTabs)
    {
        foreach (RadRibbonBarGroup group in tab.Items)
        {
            group.Margin = new Padding(0, top, 0, 0);
        }
    }
}
Completed
Last Updated: 27 Jan 2015 15:18 by ADMIN
Completed
Last Updated: 29 Oct 2015 08:53 by ADMIN
To reproduce:

public Form1()
{
    InitializeComponent();
    this.AllowAero = false;
    this.RibbonBar.Expanded = false;
    ThemeResolutionService.ApplicationThemeName = "TelerikMetro"; 
}
Completed
Last Updated: 13 Nov 2014 13:02 by ADMIN
Completed
Last Updated: 08 Sep 2014 09:51 by ADMIN
Completed
Last Updated: 20 Feb 2015 09:59 by ADMIN
To reproduce:
1. Add a RadRibbonBar
2. Apply Office2013Light theme
3. Use the following code snippet:

public Form1()
{
    InitializeComponent();

    this.radRibbonBar1.CloseButton = false;
    this.radRibbonBar1.MinimizeButton = false;
    this.radRibbonBar1.MaximizeButton = false;
    this.radRibbonBar1.ApplicationMenuStyle = Telerik.WinControls.UI.ApplicationMenuStyle.ApplicationMenu;
}


Workaround:
this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.Margin = new Padding(3, 8, 0, 0);
Completed
Last Updated: 31 May 2019 11:57 by ADMIN
To reproduce:
1. Add a RadRibbonBar and add several buttons with images as follows:

public Form1()
{
    InitializeComponent();

    RibbonTab tabItem1 = new RibbonTab();
    tabItem1.Text = "Manage";
    radRibbonBar1.CommandTabs.Add(tabItem1);

    RadRibbonBarGroup radRibbonBarGroup1 = new RadRibbonBarGroup();
    radRibbonBarGroup1.Text = "radRibbonBarGroup1";
    tabItem1.Items.Add(radRibbonBarGroup1);

    RadButtonElement radButtonElement1 = new RadButtonElement();
    radButtonElement1.Image = Properties.Resources.about;
    radButtonElement1.TextImageRelation = TextImageRelation.ImageBeforeText;
    radButtonElement1.Text = "First Button";
    radRibbonBarGroup1.Items.Add(radButtonElement1);

    RadButtonElement radButtonElement2 = new RadButtonElement();
    radButtonElement2.Image = Properties.Resources.about;
    radButtonElement2.TextImageRelation = TextImageRelation.ImageBeforeText;
    radButtonElement2.Text = "Second Button";
    radRibbonBarGroup1.Items.AddRange(new RadItem[] { radButtonElement1, radButtonElement2 });

    RadRibbonBarButtonGroup radRibbonBarButtonGroup1 = new RadRibbonBarButtonGroup();
    radRibbonBarButtonGroup1.Orientation = System.Windows.Forms.Orientation.Vertical;
    radRibbonBarButtonGroup1.ShowBorder = true;

    RadButtonElement radButtonElement3 = new RadButtonElement();
    radButtonElement3.Text = "Button One";
    radButtonElement3.Image = Properties.Resources.about;
    radButtonElement3.TextImageRelation = TextImageRelation.ImageBeforeText;

    RadButtonElement radButtonElement4 = new RadButtonElement();
    radButtonElement4.Text = "Button Two";
    radButtonElement4.Image = Properties.Resources.about;
    radButtonElement4.TextImageRelation = TextImageRelation.ImageBeforeText;
  
    radRibbonBarButtonGroup1.Items.AddRange(new RadItem[] { radButtonElement3, radButtonElement4 });
    radRibbonBarGroup1.Items.Add(radRibbonBarButtonGroup1);
}

2. Run the applications, re-size the form horizontally until all buttons are collapsed to smallest size, then click the form's maximize button. As a result all buttons are drawn without text.

Workaround:
protected override void WndProc(ref Message message)
{
    const int WM_SYSCOMMAND = 0x0112;
    const int SC_MAXIMIZE = 0xF030; 

    switch (message.Msg)
    {
        case WM_SYSCOMMAND:
            int command = message.WParam.ToInt32() & 0xfff0;
            if (command == SC_MAXIMIZE) 
            {
                this.Size = new System.Drawing.Size(300, 300);
            }
            break;
    }
    base.WndProc(ref message);
}
Completed
Last Updated: 17 Nov 2014 08:45 by ADMIN
To reproduce:
- Add a ribbon bar to a blank form and set the theme to Office2013Light
- Disable the title bar buttons:
this.radRibbonBar1.MaximizeButton = false;
this.radRibbonBar1.MinimizeButton = false;
this.radRibbonBar1.CloseButton = false;

- The buttons are still visible when the backstage view button is clicked.

Workaround:
radRibbonBar1.BackstageControl.BackstageElement.TitleBarElement.CloseButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
radRibbonBar1.BackstageControl.BackstageElement.TitleBarElement.MaximizeButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
radRibbonBar1.BackstageControl.BackstageElement.TitleBarElement.MinimizeButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
Completed
Last Updated: 22 Oct 2015 12:20 by ADMIN
To reproduce:

Add a RadRibbonBar, a tab and a group. In the group add a RadButtonElement. Add two buttons on the form. One for enabling and one for disabling the RadButtonElement.  Start the application , collapse the RadRibbon and disable the button inside. Now expand it and you will see the visual bug.

Workaround:

Subscribe to the ExpandedChanged event of the RadRibbonBar and if the RadRibbonBar is expanded and the button is disabled re-enable and re-disable the button. This will correct its visual appearance. 
Completed
Last Updated: 10 Nov 2015 13:23 by ADMIN
To reproduce:
- Add a tab to a RadRibbonForm form.
- Collapse the ribbon and press the Alt key to show the KeyTips.
- Select a tab by pressing the corresponding key.
- You will notice that the tab is not expanded.

Workaround:
void radRibbonBar1_KeyTipActivating(object sender, CancelEventArgs e)
{
    keyExpanded = true;
}

void radRibbonBar1_Click(object sender, EventArgs e)
{
    keyExpanded = false;
}

bool keyExpanded = false;

void radRibbonBar1_CommandTabSelected(object sender, Telerik.WinControls.UI.CommandTabEventArgs args)
{
    if (!radRibbonBar1.Expanded && keyExpanded)
    {
        radRibbonBar1.Expanded = true;
    }
}
Completed
Last Updated: 16 Oct 2015 09:45 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category: RibbonBar
Type: Bug Report
0
To reproduce: 
1.Add a RadForm.
2.Create a UserControl with RadRibbonBar.
3.Apply Window8 theme to the RadRibbonBar and to the RadForm.
4.Use the following code:

Me.RadRibbonBar1.CloseButton = False
Me.RadRibbonBar1.MinimizeButton = False
Me.RadRibbonBar1.MaximizeButton = False
Me.RadRibbonBar1.RibbonBarElement.Text = String.Empty

5.When you add the UserControl to the RadForm and run the application, the QuickAccessToolbar items are cut off.

Workaround:

Me.RadRibbonBar1.RibbonBarElement.QuickAccessToolBar.OverflowButtonElement.Padding = New Padding(0, 0, 0, -15)
Me.RadRibbonBar1.RibbonBarElement.QuickAccessToolBar.InnerItem.Padding = New Padding(0, 10, 0, -10)
Completed
Last Updated: 10 Jul 2014 12:19 by ADMIN
When clicking with the right mouse-button on one of the system buttons, and then dragging the mouse over the button until leaving it, without releasing the mouse-button itself, the button stays marked. It is reproducible in all themes.

Workaround:

public Form1()
{
    InitializeComponent();
 
    this.radRibbonBar1.RibbonBarElement.RibbonCaption.MinimizeButton.MouseLeave += Button_MouseLeave;
    this.radRibbonBar1.RibbonBarElement.RibbonCaption.MaximizeButton.MouseLeave += Button_MouseLeave;
    this.radRibbonBar1.RibbonBarElement.RibbonCaption.CloseButton.MouseLeave += Button_MouseLeave;
}

private void Button_MouseLeave(object sender, EventArgs e)
{
    RadImageButtonElement btn = sender as RadImageButtonElement;
    if (btn != null)
    {
        btn.IsMouseDown = false;
    }
}
Completed
Last Updated: 13 Nov 2015 08:58 by ADMIN
To reproduce:

Add a RadRibbonBar to a Form. Add a RadTextBox to the bottom of the Form. Start the application, click the textbox and press the alt key. You will see that the focus will be taken away. This does not allow you to input key combinations into RadTextBox, such as Alt + 457.


Workaround:

Use the following custom RadRibbonBar:

public class MyRadRibbonBar : RadRibbonBar
{
    protected override ComponentInputBehavior CreateBehavior()
    {
        return new MyRibbonBarInputBehavior(this);
    }


    public override string ThemeClassName
    {
        get
        {
            return typeof(RadRibbonBar).FullName;
        }
        set
        {
        }
    }
}


class MyRibbonBarInputBehavior : RadRibbonBar.RibbonBarInputBehavior
{
    public MyRibbonBarInputBehavior(RadRibbonBar owner)
        : base(owner)
    {
    }


    protected override bool SetInternalKeyMapFocus()
    {
        if ((this.Owner as RadRibbonBar).ContainsFocus)
        {
            return base.SetInternalKeyMapFocus();
        }


        return false;
    }
}
Completed
Last Updated: 06 Jun 2017 14:23 by ADMIN
To reproduce:
1.Add a RadRibbonBar (with several groups and buttons inside a group) and a theme (i.e. TelerikMetro).
2.Apply the theme for the RadRibbonBar: setting the ThemeName property to "YourThemeName".
for example: this.radRibbonBar1.ThemeName = "TelerikMetro";
3. Run the application and resize the form in a way to collapse all ribbon groups. When you open the popup for the group, all popup elements are with incorrect style.

Workaround: load the theme in the form's constructor.
Completed
Last Updated: 16 Oct 2015 10:38 by ADMIN
To reproduce:
1.Create a RadRibbonForm and add a QuickAccessToolBar and a Contextual Tab Group
2.Use the following code:
public Form1()
{
    InitializeComponent();

    this.AllowAero = false;
    radRibbonBar1.RibbonBarElement.IconPrimitive.Visibility = ElementVisibility.Visible;
    ThemeResolutionService.ApplicationThemeName = "TelerikMetro";
}
3.Run the application. Position the QuickAccessToolBar below the ribbon via the drop down menu. Note that the Contextual Tab Group is shifted to the right.

Workaround:
this.radRibbonBar1.QuickAccessToolBar.RadPropertyChanged += QuickAccessToolBar_RadPropertyChanged;

private void QuickAccessToolBar_RadPropertyChanged(object sender, Telerik.WinControls.RadPropertyChangedEventArgs e)
{
    if (e.Property.Name == "QuickAccessToolbarBelowRibbonProperty")
    {
        if (this.radRibbonBar1.RibbonBarElement.QuickAccessToolbarBelowRibbon == true)
        {
            this.radRibbonBar1.RibbonBarElement.RibbonCaption.Margin = new Padding(-15, 0, 0, 0); 
        }
        else
        {
            this.radRibbonBar1.RibbonBarElement.RibbonCaption.Margin = new Padding(0); 
        }
    }
}
Completed
Last Updated: 10 Nov 2015 12:35 by ADMIN
Steps to reproduce:
1.Open the ThemeViewer and select a random theme (e.g. TelerikMetro)
2.Click the "Show Form" button, related to "ribbonbar & office 2007 app menu, status strip". As a result a RadRibbonForm is shown. Notice that it has a form icon and a QuickAccessToolBar.
3.Click on the arrow button in the QuickAccessToolBar and select "Show below the Ribbon".
Note that the BackColor behind the form's icon is not correct.

Workaround:
this.radRibbonBar1.QuickAccessToolBar.RadPropertyChanged += QuickAccessToolBar_RadPropertyChanged;

private void QuickAccessToolBar_RadPropertyChanged(object sender, Telerik.WinControls.RadPropertyChangedEventArgs e)
        {
            if (e.Property.Name == "QuickAccessToolbarBelowRibbonProperty")
            {
                if (this.radRibbonBar1.RibbonBarElement.QuickAccessToolbarBelowRibbon == true)
                {
                    this.radRibbonBar1.RibbonBarElement.RibbonCaption.Margin = new Padding(-15, 0, 0, 0); 
                }
                else
                {
                    this.radRibbonBar1.RibbonBarElement.RibbonCaption.Margin = new Padding(0); 
                }
            }
        }
Completed
Last Updated: 16 Oct 2015 10:12 by ADMIN
Steps to reproduce:
1.Open the ThemeViewer and select a random theme (e.g. TelerikMetro)
2.Click the "Show Form" button, related to "ribbonbar & backstage view, status strip". As a result a RadRibbonForm is shown. Notice that it has a form icon and a QuickAccessToolBar.
3.Click on the arrow button in the QuickAccessToolBar and select "Show below the Ribbon".
Note that the BackColor behind the form's icon is not correct.

Workaround: this.radRibbonBar1.RibbonBarElement.CaptionFill.Margin = new Padding(-20, 0, 0, 0);
Completed
Last Updated: 10 Jul 2014 14:09 by ADMIN
To reproduce:
- Add ribbon bar with a few buttons subscribe to ScreenTipNeeded event and show different text for each button.
- Collapse the tabs by clicking the collapse button, the expand a tab by clicking its name.
- You will notice that the ScreenTipNeeded event is not fired.

Workaround:
Create separate screen tip for each element:
RadOffice2007ScreenTipElement button2Tip = new RadOffice2007ScreenTipElement();
button2Tip.CaptionLabel.Text = "button 2";
button2Tip.MainTextLabel.Text = "button 2";

radButtonElement2.ScreenTip = button2Tip;