Quick Access Tool bar ScreenTip position bug

7 posts, 1 answers
  1. Dodd
    Dodd avatar
    45 posts
    Member since:
    Dec 2012

    Posted 05 Mar 2015 Link to this post

    Hi, I use RadRibbonWindow and when I hover on the Quick Access Tool Bar buttons, screen tips appear in a far lower position as in the image.
    How can I fix this?
  2. Answer
    Martin Ivanov
    Martin Ivanov avatar
    2391 posts

    Posted 09 Mar 2015 Link to this post

    Hi Dodd,

    The screen tips of the ribbonview components always displays bellow the ribbonview control. This behavior is expected and it can be observed also in the Microsoft's Office applications that contains a ribbon (like Word) which was used as a design reference for our RadRibbonView.

    In order to add a tooltip on the mouse position you can use our RadToolTipService instead of the screen tips.
    <Button telerik:RadToolTipService.ToolTipContent="I am a tooltip" />


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. Wayne
    Wayne avatar
    10 posts
    Member since:
    Feb 2015

    Posted 24 Feb 2016 in reply to Martin Ivanov Link to this post

    Hi Martin,

    Which versions of Office have the behavior where the Quick Access Toolbar tooltip displays below the ribbon like that?

    I checked Office 2010 and Office 2013 and neither behave the way you suggest. It immediately felt like a bug when I saw it, to be honest.

    Also the work around you provide doesn't seem to work, or at least I can't get it to work, when also wanting to keep the multi-line tooltip like Dodd had pictured. It only seems to support single line tool tips.

    I am just writing this reply to help others in future. I found an easy fix for the placement behavior by writing this code:

            private void SetScreenTipPlacement(FrameworkElement element)
                const double X_Y_OFFSET = 10.0;
                element.SetValue(ScreenTip.PlacementProperty, System.Windows.Controls.Primitives.PlacementMode.MousePoint);
                element.SetValue(ScreenTip.VerticalOffsetProperty, X_Y_OFFSET);
                element.SetValue(ScreenTip.HorizontalOffsetProperty, X_Y_OFFSET);    

  4. Martin Ivanov
    Martin Ivanov avatar
    2391 posts

    Posted 28 Feb 2016 Link to this post

    Hello Wayne,

    It seems you are right, the screen tips of the Quick Access Toolbar in Microsoft Office don't display below the ribbon. Please excuse me for misleading you.

    As for the workaround, thank you for sharing it with the UI for WPF community.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Efi
    Efi avatar
    2 posts
    Member since:
    Feb 2017

    Posted 01 Jun 2017 in reply to Martin Ivanov Link to this post

    This bug still exist in "Expression Dark" theme.
    The solution doesn't work for me.
    I also tried to override the style Placement to be alwyas Mouse and it doesn't help.

      <Style x:Key="ScreenTipStyle" TargetType="telerikRibbonView:ScreenTip">

            <Setter Property="Placement" Value="Mouse"/>

            <Setter Property="Template" Value="{StaticResource ScreenTipTemplate}"/>
            <Setter Property="Background" Value="{StaticResource QuickAccessKeyHintBackgroundBrush}"/>
            <Setter Property="BorderBrush" Value="{StaticResource QuickAccessKeyHintBorderBrush}"/>
            <Setter Property="Foreground" Value="{StaticResource QuickAccessKeyHintForegroundBrush}"/>
            <Setter Property="BorderThickness" Value="1"/>
            <Setter Property="Padding" Value="4 2"/>
            <Setter Property="SnapsToDevicePixels" Value="True"/>


  6. Martin Ivanov
    Martin Ivanov avatar
    2391 posts

    Posted 06 Jun 2017 Link to this post

    Hello Efi,

    To achieve your requirement and alter the default positioning behavior of the screentips, you can use the Wayne's workaround.

    Setting the Placement in a Style won't work because a local setting in the ScreenTip service overrides it. In other words you should do it in code. You can check the attached project.

    Martin Ivanov
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  7. Efi
    Efi avatar
    2 posts
    Member since:
    Feb 2017

    Posted 07 Jun 2017 in reply to Martin Ivanov Link to this post

    This one work fine.

    Thanks a lot.

Back to Top