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;
        }
    }
}

Unplanned
Last Updated: 19 Feb 2024 11:37 by Hannu
The dropdown remains opened when switching the window with Alt+Tab.
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;
	}
}

Unplanned
Last Updated: 15 Aug 2023 11:34 by Helen
RadRibbonDropDownButton with Table Picker freezes UI after picking a table.
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.
Unplanned
Last Updated: 06 Aug 2020 08:56 by ADMIN
A flickering of the popup can be observed when the RadRibbonView is minimized and the selected tab is changed quickly. 
Unplanned
Last Updated: 15 Jun 2020 14:07 by ADMIN
If you open the dropdown of the RadRibbonComboBox using the keytips support and then navigate to an item, and select it using the arrow keys, the selection is wrong. It selects the next item instead of the one highlighted by the keyboard navigation. 
Unplanned
Last Updated: 10 Jun 2020 13:31 by ADMIN
When the "Automatically Hide the taskbar in desktop mode" windows setting is enabled and the RadRibbonWindow is maximized, it exceeds the screen area. 
Unplanned
Last Updated: 03 Jan 2020 09:54 by ADMIN

1. When the RibbonWindow is maximized the draggable area ends below the WindowTitle

2. In Normal state - the draggable area could be expanded in Material, Fluent and Crystal themes


A possible workaround is to change the WindowCaptionHeight property:

 var parameters = SystemParameters2.Current;
 parameters.GetType().GetProperty("WindowCaptionHeight").SetValue(parameters, SystemParameters2.Current.WindowCaptionHeight + 26, null);


Unplanned
Last Updated: 12 Sep 2018 11:13 by ADMIN
Unplanned
Last Updated: 24 May 2018 07:23 by ADMIN
Several galleries in collapsed state. Open rightmost so that its popup is outside wpf window.

Then resize the window so that gallery goes into large state. The height of the RibbonGallery is incorrect and smaller than expected.

Workaround is to set MinHeight to (for example 67) to all RibbonGalleries.
Unplanned
Last Updated: 26 Mar 2018 16:11 by ADMIN
Unplanned
Last Updated: 06 Dec 2017 12:59 by ADMIN
Unplanned
Last Updated: 14 Nov 2017 09:02 by ADMIN
Windows10 on two monitors, at least one of them is with higher DPI -125 , 150 %.

This leads to unexpected black gap (glitch) between the RibbonWindow TitleBar and Content.

Partial workaround is to set manually a margin on the WindowDecorator:

  private void RadRibbonWindow_Loaded(object sender, RoutedEventArgs e)
        {
                Grid windowDecorator = this.ChildrenOfType<Grid>().FirstOrDefault(x => x.Name == "MaximizedWindowDecorator");
                windowDecorator.Margin = new Thickness(0, -1, 0, 0);          
        }
Unplanned
Last Updated: 09 Aug 2017 09:06 by ADMIN
Currently, RadRibbonView's OnApplyTemplate method can be called after adding the new tabs so that the group and tabs are redrawn correctly.
Unplanned
Last Updated: 27 Jul 2017 17:53 by ADMIN
The default size is 9. If you change it the issue occurs. This brings a visual glitch in the window. The title text is resized but the titlebar is not.

Note: This is reproducible only if the DPI is larger than 100%.

To work this around manually set the size of the titlebar element.

private void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
    Grid windowDecorator = this.ChildrenOfType<Grid>().FirstOrDefault(x => x.Name =="MaximizeWindowDecorator");
    RibbonTitleBarPanel ribbonTitlePanel = this.ChildrenOfType<RibbonTitleBarPanel>().FirstOrDefault(x => x.Name == "RibbonTitleBarPanel");
    windowDecorator.RowDefinitions[0].Height = newGridLength(ribbonTitlePanel.ActualHeight);
}
Unplanned
Last Updated: 19 Jul 2017 10:23 by ADMIN
ADMIN
Created by: Kiril Vandov
Comments: 2
Category: RibbonView
Type: Bug Report
2
RibbonWindow icon appears clipped when the DPI  is set larger than 100%. Also, the icon separator is offset.
Unplanned
Last Updated: 07 Mar 2017 12:41 by ADMIN
1 2