Unplanned
Last Updated: 25 Mar 2024 11:50 by Martin Ivanov

The width of the popup element that shows the selected tab content when RadRibbonView is minimized is wrong in the following situation. A tab in the minimized ribbon is clicked to display its content, then the tab is clicked again. After that, the width of the ribbon is changed. At this point when you open the minimized content, the popup uses the previous size of the RadRibbonView control. 

To work this around, you can manually update the MaxWidth of the popup content element on size changed.

public class CustomRibbonView : RadRibbonView
{
    private ContentPresenter popupContent;

    public override void OnApplyTemplate()
    {
        base.OnApplyTemplate();
        this.popupContent = this.GetTemplateChild("SelectedTabContentPopup") as ContentPresenter;
    }

    protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
    {
        base.OnRenderSizeChanged(sizeInfo);
        if (popupContent != null)
        {
            double popupContentPadding = 16;
            popupContent.MaxWidth = this.ActualWidth - popupContentPadding;
        }
    }
}

Completed
Last Updated: 11 Mar 2024 07:36 by ADMIN
Release 2024.1.312
Unpinned RibbonView content popup is not rendered correctly (has invalid width) when the application main window is of type RadRibbonWindow and in Maximized Mode.
Unplanned
Last Updated: 19 Feb 2024 11:37 by Hannu
The dropdown remains opened when switching the window with Alt+Tab.
Completed
Last Updated: 27 Oct 2023 06:27 by ADMIN
Release LIB 2023.3.1106 (6 Nov 2023)

By default the drop down buttons (like RadRibbonDropDownButton and RadRibbonSplitButton are opening their drop down content on mouse enter, when hosted in ApplicationMenu. When a drop down of a button is opened and you hover another button, the currently opened drop down should get closed. But this doesn't happen when the ApplicationMenu is populated through its ItemsSource and the buttons are defined in the ItemTemplate.

To work this around avoid using ItemsSource and ItemTemplate. Instead add the buttons directly in the Items collection of ApplicationMenu.

Completed
Last Updated: 26 Oct 2023 11:52 by ADMIN
Release LIB 2023.3.1106 (6 Nov 2023)
The checked RadRibbonSplitButton doesn't look good and it is not consistent with the RadRibbonToggleButton when hosted in QuickAccessToolBar. This is reproducible when the IsToggle of the button is set to True and the button is checked (IsChecked=True). Also, it reproduces in the Windows11 and Office2019 themes.

To work this around, you will need to re-template the button when hosted in QuickAccessToolBar.
Completed
Last Updated: 26 Oct 2023 10:07 by ADMIN
Release LIB 2023.3.1106 (6 Nov 2023)

The RibbonSplitButton can behave like a toggle button by setting its IsToggle property to True. When the button is hosted in ApplicationMenu its default template is changed with a special one that adjust the UI of the button to the ApplicationMenu design. However, the alternative template is missing the code that updates the UI of the button when the IsChecked property is True.

To work this around, you can edit the ControlTemplate of RadRibbonSplitButton. The template for the button when hosted in ApplicationMenu is using the following x:Key "ApplicationRibbonSplitButtonTemplate". You can apply the edited template through the Template property of RadRibbonSplitButton.

Completed
Last Updated: 02 Oct 2023 08:21 by ADMIN
Release R3 2023

The RadRibbonWindow titlebar is higher than expected when the Windows 11 theme is used. 

A side effect of this is that the content overlaps the titlebar, when the content is not a RadRibbonView. 

This reproduces when the Windows11 and Crystal themes are used. To reproduce it, the IsWindowsThemeEnabled property should be set to false in order for the Telerik theme to get applied to the window.

To work this around, you can use the visual tree helper methods in the Loaded event of RadRibbonWindow in order to get the corresponding visuals and change their size and offset.

private void RadRibbonWindow_Loaded(object sender, RoutedEventArgs e)
{
	var windowDecoratorPanel = this.ChildrenOfType<Grid>().FirstOrDefault(x => x.Name == "MaximizeWindowDecorator");
	var titleBarPanel = windowDecoratorPanel.FindChildByType<Grid>();
	titleBarPanel.RowDefinitions[0].Height = new GridLength(30);

	var clientArea = windowDecoratorPanel.ChildrenOfType<Border>().FirstOrDefault(x => x.Name == "PART_ClientAreaBorder");
	clientArea.Margin = new Thickness(0);
}

Unplanned
Last Updated: 14 Sep 2023 14:58 by Martin Ivanov

The ScreenTip no longer is displayed on mouse over of the owner element. This reproduces only if the element is hovered before the ScreenTips of the previously hovered element is closed. In other words this happens if the two elements that contain ScreenTips are overlapping are very close to one another and there is no space that allows closing the tooltip while moving the mouse.

To work this around, subscribe to the Opened event of the ScreenTip control and set its Visibility to Visible if the element was previously Collapsed.

<Window.Resources>
	<Style TargetType="telerik:ScreenTip">
		<EventSetter Event="Opened" Handler="ScreenTip_Opened" />
	</Style>
</Window.Resources>

 

private void ScreenTip_Opened(object sender, RoutedEventArgs e)
{
	var screenTip = (ScreenTip)sender;
	if (screenTip.Visibility == Visibility.Collapsed)
	{
		screenTip.Visibility = Visibility.Visible;
	}
}

Completed
Last Updated: 28 Aug 2023 07:25 by ADMIN
Release LIB 2023.2.904 (4 Sep 2023)

Setting the LayoutMode to Simplified doesn't do anything in the RadRibbonTabs that are assigned to a RadRibbonContextualGroup.

To work this around, extract the "ContextualTabsTemplate" ControlTemplate and the following elements in the "RibbonScrollViewer".

 

<telerikRibbonViewPrimitives:RibbonScrollViewer x:Name="TabItemsScrollViewer">
	<Grid>
		<ItemsPresenter x:Name="PART_DefaultItemsPresenter" HorizontalAlignment="Left" />
		<ItemsControl x:Name="PART_SimplifiedItemsControl" Visibility="Collapsed" 
				  ItemsSource="{Binding SimplifiedItems, RelativeSource={RelativeSource TemplatedParent}}">
			<ItemsControl.ItemsPanel>
				<ItemsPanelTemplate>
					<telerikRibbonViewPrimitives:RibbonGroupsPanel />
				</ItemsPanelTemplate>
			</ItemsControl.ItemsPanel>
		</ItemsControl>
	</Grid>
</telerikRibbonViewPrimitives:RibbonScrollViewer>

 

Then define the following DataTrigger in the ControlTemplate.Triggers collection:

 

<DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=telerikRibbonView:RadRibbonView}, Path=LayoutMode}" Value="Simplified">
	<Setter TargetName="PART_SimplifiedItemsControl" Property="Visibility" Value="Visible"/>
	<Setter TargetName="PART_DefaultItemsPresenter" Property="Visibility" Value="Collapsed"/>
</DataTrigger>

 

Then, assign the custom ControlTemplate via the Template property of RadRibbonTab.

 

<telerik:RadRibbonTab Template="{StaticResource CustomContextualRibbonTabTemplate}" />

 

Unplanned
Last Updated: 15 Aug 2023 11:34 by Helen
RadRibbonDropDownButton with Table Picker freezes UI after picking a table.
Completed
Last Updated: 11 Jul 2023 11:05 by ADMIN
Release R2 2023
Currently, when the users hover around the window's border, the resizing border is 1 pixel wide. Create the border wider (higher at top and bottom borders).
 
Workaround: Apply right margin to the content inside the window.
Completed
Last Updated: 25 May 2023 13:36 by ADMIN
Reproduces when you add the ContextualGroups in code-behind. While resizing the RibbonWindow the Ribbon Title overlaps the ContextualGroup Header. 
https://admin.telerik.com/ClientsFiles/c8763f1e-5c7f-4614-a7eb-349326cd32b2_telerikBug.PNG
Completed
Last Updated: 25 May 2023 13:36 by ADMIN
When there are enough items in a RibbonBackstageItem for the ScrollBar to appear, it is clipped by the RadRibbonWindow's header.

Workaround:
1. Extract the templates for RadRibbonBackstage and ScrollViewer
2. Refer the new template for the ScrollViewer in the template for the RadRibbonBackstage.
3. Change the margin for the PART_VerticalScrollBar from 0, -1, -1, -1 to 0, 27, -1, -1.
4. Set the new ControlTemplate to the RadRibbonBackstage in the application.
Completed
Last Updated: 13 Apr 2023 10:35 by ADMIN
Release LIB 2023.1.424 (24 Apr 2023)

NullReferenceException is thrown on start up of the application, when the IsMinimized property of RadRibbonView is set to True initially. For example, if you set it in XAML.

To work this around, set the IsMinimized property in the Loaded event handler of RadRibbonView.

private void RadRibbonView_Loaded(object sender, System.Windows.RoutedEventArgs e)
{
	var ribbonView = (RadRibbonView)sender;
	ribbonView.IsMinimized = true;
}

 

Unplanned
Last Updated: 11 Apr 2023 17:44 by ADMIN
In XP and Windows10, the window goes behind the windows task bar when it is maximized.
The problem manifests itself if we set explicitly the "WindowStyle" property of the RadRibbonWindow.
With its "default" value, the problem do not exists.
It is also reproduced when AllowTransparency = True (it requires WindowStyle = None), which is needed to set a drop shadow effect.
Duplicated
Last Updated: 12 Jan 2023 18:22 by ADMIN
The window state of the RadRibbonWindow cannot be changed on double click over the titlebar, when you click under the middle of the title bar. The same issue occurs when you try dragging the title from this position. The issue is more noticeable when the window is maximized.
Completed
Last Updated: 08 Sep 2022 09:57 by ADMIN
Release R3 2022
This is reproducible only if the application that holds RadRibbonView is started on another machine and you are connected to it through Remote Desktop Connection. When the keytips are enabled and you click in the main machine, then click inside the remote desktop window, the keytips are displayed.
Completed
Last Updated: 27 Jun 2022 06:15 by ADMIN
Release LIB 2022.2.627 (27 June 2022)
When the dropdown popup of the RadRibbonDropDownButton or RadRibbonSplitButton is opened, the ApplicationMenu is not resized, in order to fit the dropdown items.
Completed
Last Updated: 31 May 2022 06:18 by ADMIN
Release LIB 2022.2.530 (30 May 2022)

If you add the RibbonView into the Content of a TabItem (or RadTabItem) and then remove it from the content, the RibbonView is still in the memory. 

This happens because we subscribe to few events of the Parent window on Loaded and unsubscribe on Unloaded. However, because of the specific content loading behavior of TabControl, Loaded of the content (the RibbonView) is fired once and Unloaded only once.

To work this around, before removing the RibbonView from the TabItem, call its OnUnloaded event handler. To do this, you can use a reflection to get the handler and then invoke it.

var methodInfo = typeof(RadRibbonView).GetMethods(System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).Where(m => m.Name == "OnUnloaded").First();
methodInfo.Invoke(ribbon, new object[2] { null, null });

Completed
Last Updated: 22 May 2022 21:10 by ADMIN
Release LIB 2022.2.523 (23 May 2022)
When the Visibility of the RadTabItem is set to Collapsed the keyboard navigation does not work as expected. 
1 2 3 4 5 6