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, Principal
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;
Completed
Last Updated: 01 Oct 2014 13:02 by ADMIN
To reproduce:

Add a RadRibbonForm and set the theme to Office2013Light. Start the application and click the backstage button. Click the close button and you will see an exception.

Workaround:

this.RibbonBar.BackstageControl.BackstageElement.TitleBarElement.CloseButton.MouseDown += TitleBarElement_MouseDown;
void TitleBarElement_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
    this.RibbonBar.BackstageControl.BackstageElement.TitleBarElement.CanManageOwnerForm = false;
    this.Close();
}

Completed
Last Updated: 02 Jun 2014 07:37 by ADMIN
To reproduce:  
1. Add WindowsForm and RadRibbonBar 
2. Use this code snippet 
this.Text = string.Empty;
this.ControlBox = false;
this.radRibbonBar1.Text = "Example"; 
3. Run the project and you will see that title is visible in the Form and in the RadRibbonBar

Workaround: Use RadForm or RadRibbonForm and set the Text property.
If you use the WindowsForm, please use this code snippet: 
this.ControlBox = false;
this.radRibbonBar1.Text = "Example";
this.FormBorderStyle = FormBorderStyle.None;
Completed
Last Updated: 01 Oct 2014 13:02 by ADMIN
To reproduce:

Create a RadRibbonForm and set its ApplicationMenuStyle to BackstageView. Start the application open the backstage, click the maximize button and then again to set the Form back to normal. You will notice that the Form cannot be set back to normal.

Workaround:

Manually change the WindowState of the Form.

this.RibbonBar.BackstageControl.BackstageElement.TitleBarElement.MaximizeButton.MouseDown +=MaximizeButton_Click;

void MaximizeButton_Click(object sender, EventArgs e)
        {
            if (this.WindowState == FormWindowState.Maximized)
            {
                this.WindowState = FormWindowState.Normal;
            }
            else if (this.WindowState == FormWindowState.Normal)
            {
                this.WindowState = FormWindowState.Maximized;
            }
        }
Completed
Last Updated: 06 Dec 2013 06:02 by ADMIN
To reproduce:
- Change the ApplicationMenuStyle to BackstageView.
- Add some tabs with different content.
- Start the application and change the tabs several times, you will notice that the content is not changed.
Completed
Last Updated: 31 Mar 2014 10:25 by ADMIN
To reproduce: 
- add RadRibbonBar with several CommandTabs and private void Form1_Load(object sender, EventArgs e) { radRibbonBar1.Expanded = false; } 
- add RadButton and on its Click event use: private void radButton1_Click(object sender, EventArgs e) { radRibbonBar1.CommandTabs[0].Visibility = Telerik.WinControls.ElementVisibility.Collapsed; } 
As a result the CommandTab is collapsed but some empty space remains.

Workaround: private void radButton1_Click(object sender, EventArgs e) { radRibbonBar1.CommandTabs[0].Visibility = Telerik.WinControls.ElementVisibility.Collapsed; this.radRibbonBar1.Expanded = !this.radRibbonBar1.Expanded; this.radRibbonBar1.Expanded = !this.radRibbonBar1.Expanded; }
Completed
Last Updated: 20 Feb 2014 15:25 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RibbonBar
Type: Bug Report
0
To reproduce:
- add RadRibbonbar with two groups;
- add several RadButtonsElements in each group;
- subscribe for the ToolTipTextNeeded event:

private void radRibbonBar1_ToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
{
    e.ToolTipText = sender.ToString();
}

If you hover a certain button, the tool tip for button element appears, which is correct. If you hover precisely the ribbon bar group, the correct tool tip also appears. But after that each element hovering, displays the wrong tool tip.
Completed
Last Updated: 31 Mar 2014 10:25 by ADMIN
To reproduce:
-add RadRibbonBar (ControlDefault theme) and several tabs;
-click the ribbon bar arrow to collapse the ribbon bar;
-click the first tab to show the pop up;
-click the ribbon bar arrow once to expand the ribbon bar and click it again to collapse it;
-click the tab does not display it from the first time;
Completed
Last Updated: 20 May 2014 13:24 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 1
Category: RibbonBar
Type: Bug Report
0
To reproduce: - add RadRibbonForm; - add one tab with RadToggleButtonElement; - subscribe to toggle button click event and use the following code: public Form1() { InitializeComponent(); RadOffice2007ScreenTipElement tip1 = new RadOffice2007ScreenTipElement(); tip1.CaptionLabel.Text = "Button1"; tip1.MainTextLabel.Text = "My Text"; RadOffice2007ScreenTipElement tip2 = new RadOffice2007ScreenTipElement(); tip2.CaptionLabel.Text = "Button2"; tip2.MainTextLabel.Text = "My Text"; radToggleButtonElement1.ScreenTip = tip1; } private void radToggleButtonElement1_Click(object sender, EventArgs e) { radRibbonBar1.Expanded = false; } When the screen is shown (hovering the toggle button), then click the button and the ribbon bar will collapse. As a result the screen tip will not disappear even on mouse move. 

Workaround: private void radToggleButtonElement1_Click(object sender, EventArgs e) { radRibbonBar1.Expanded = false; RadToggleButtonElement btn = sender as RadToggleButtonElement; if (btn != null && btn.ScreenTip != null) { PropertyInfo[] pinfos = ((ComponentBehavior)radRibbonBar1.Behavior).GetType().GetProperties(BindingFlags.NonPublic | BindingFlags.Instance); PropertyInfo barProperty = ((ComponentBehavior)radRibbonBar1.Behavior).GetType().GetProperty("ScreenPresenter", BindingFlags.NonPublic | BindingFlags.Instance); Form screenTip = barProperty.GetValue(((ComponentBehavior)radRibbonBar1.Behavior), null) as Form; screenTip.Hide(); } }