Key Tips position bug

3 posts, 0 answers
  1. Gyula
    Gyula avatar
    8 posts
    Member since:
    Oct 2010

    Posted 14 Dec 2011 Link to this post

    Dear Support!

    I am using RadControls_for_WPF_2011_3_1205_DEV_hotfix.

    When I start the application with WindowState="Maximized", and resize the window, Key Tips appear outside of the window (refer attachment).

    Please let me know how to resolve the issue.


    MainWindow.xaml
    <Telerik:RadRibbonWindow x:Class="WindowResizeBugDemo.MainWindow"
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:Telerik="http://schemas.telerik.com/2008/xaml/presentation"
                            Title="MainWindow" Height="400" Width="600" x:Name="window"
                            WindowState="Maximized">
         
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
            </Grid.RowDefinitions>
     
            <Telerik:RadRibbonView x:Uid="radRibbonView" x:Name="radRibbonView" Title="XBO rendszer" ApplicationName=""
                              IsMinimizable="True" MinimizeButtonVisibility="Visible"
                ApplicationButtonStyle="{x:Null}"
                ApplicationButtonVisibility="Hidden"
                CollapseThresholdSize="0,0"
                              Telerik:KeyTipService.IsKeyTipsEnabled="True">
                <!--ApplicationButtonImageSource="/Icons/ProgAdatLogoRibbonViewSize.png"-->
     
                <Telerik:RadRibbonTab x:Uid="Telerik:RadRibbonTab_1" Header="Kezdőlap" Telerik:KeyTipService.AccessText="K" x:Name="KezdoTab">
     
                    <Telerik:RadRibbonGroup x:Name="group" x:Uid="Telerik:RadRibbonGroup_1" Header="Műveletek" Icon="/Icons/open-32x32.png" >
     
                        <Telerik:RadRibbonGroup.Variants>
                            <Telerik:GroupVariant x:Uid="Telerik:GroupVariant_1" Variant="Medium" Priority="9"/>
                            <Telerik:GroupVariant x:Uid="Telerik:GroupVariant_2" Variant="Collapsed" Priority="14"/>
                        </Telerik:RadRibbonGroup.Variants>
     
                        <Telerik:RadCollapsiblePanel x:Uid="Telerik:RadCollapsiblePanel_1">
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_1" Text="Megnyit" Size="Large"
                        SmallImage="/Icons/open-16x16.png" LargeImage="/Icons/open-32x32.png"
                        Telerik:ScreenTip.Title="Megnyitás"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="M"                
                        Telerik:ScreenTip.Description="Rekord kibontása"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_2" Text="Új" Size="Large"
                        SmallImage="/Icons/new-16x16.png" LargeImage="/Icons/new-32x32.png"
                        Telerik:ScreenTip.Title="Új létrehozása"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="U"                 
                        Telerik:ScreenTip.Description="Új rekord létrehozása"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_3" Text="Töröl" Size="Large"
                        SmallImage="/Icons/Delete_16x16.png" LargeImage="/Icons/Delete.png"
                        Telerik:ScreenTip.Title="Rekord törlése"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="T"                 
                        Telerik:ScreenTip.Description="Törli az aktuális rekordot"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_4" Text="Frissít" Size="Large"
                        SmallImage="/Icons/redo-16x16.png" LargeImage="/Icons/Refresh.png"
                        Telerik:ScreenTip.Title="Frissítés"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="F"                    
                        Telerik:ScreenTip.Description="Adatok frissítése"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_5" Text="Másol" Size="Large"
                        SmallImage="/Icons/copy-16x16.png" LargeImage="/Icons/copy-32x32.png"
                        Telerik:ScreenTip.Title="Másolás"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="C"                     
                        Telerik:ScreenTip.Description="Adatok másolása"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_20" Text="Rendben" Size="Large"
                        SmallImage="/Icons/Check_16x16.png" LargeImage="/Icons/Check.png"
                        Telerik:ScreenTip.Title="Rendben"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="Y"                   
                        Telerik:ScreenTip.Description="Elfogadás/Mentés/Kiválasztás és bezárás"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_21" Text="Mégsem" Size="Large"
                        SmallImage="/Icons/Cancel_16x16.png" LargeImage="/Icons/Cancel.png"
                        Telerik:ScreenTip.Title="Mégsem"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="N"                   
                        Telerik:ScreenTip.Description="Elvetés és bezárás"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_6" Text="Bezár" Size="Large"
                        SmallImage="/Icons/close-16x16.png" LargeImage="/Icons/close-32x32.png"
                        Telerik:ScreenTip.Title="Bezárás"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="X"                   
                        Telerik:ScreenTip.Description="Bezár"/>
                        </Telerik:RadCollapsiblePanel>
                    </Telerik:RadRibbonGroup>
     
                    <Telerik:RadRibbonGroup x:Uid="Telerik:RadRibbonGroup_2" Header="Mentés" Icon="/Icons/Check.png" >
     
                        <Telerik:RadRibbonGroup.Variants>
                            <Telerik:GroupVariant x:Uid="Telerik:GroupVariant_3" Variant="Medium" Priority="8"/>
                            <Telerik:GroupVariant x:Uid="Telerik:GroupVariant_4" Variant="Collapsed" Priority="13"/>
                        </Telerik:RadRibbonGroup.Variants>
     
                        <Telerik:RadCollapsiblePanel x:Uid="Telerik:RadCollapsiblePanel_2">
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_7" Text="Ellenőriz" Size="Large"
                        SmallImage="/Icons/ListBullets_16x16.png" LargeImage="/Icons/ListBullets_32x32.png"
                        Telerik:ScreenTip.Title="Ellenőrzés"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="E"                    
                        Telerik:ScreenTip.Description="Adatok helyességének ellenőrzése"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_8" Text="Ment" Size="Large"
                        SmallImage="/Icons/save-16x16.png" LargeImage="/Icons/save-32x32.png"
                        Telerik:ScreenTip.Title="Mentés"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="S"                    
                        Telerik:ScreenTip.Description="Adatok mentése"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_9" Text="Ment+ Új" Size="Large"
                        SmallImage="/Icons/save-as-16x16.png" LargeImage="/Icons/save-as-32x32.png"
                        Telerik:ScreenTip.Title="Ment + új"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="W"                   
                        Telerik:ScreenTip.Description="Adatok mentése és új rekord létrehozása"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_10" Text="Visszavon" Size="Large"
                        SmallImage="/Icons/undo-16x16.png" LargeImage="/Icons/undo-32x32.png"
                        Telerik:ScreenTip.Title="Visszavon"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="Q"                    
                        Telerik:ScreenTip.Description="Minden változtatás visszavonása"/>
     
                        </Telerik:RadCollapsiblePanel>
                    </Telerik:RadRibbonGroup>
     
                    <Telerik:RadRibbonGroup x:Uid="Telerik:RadRibbonGroup_3" Header="Kimenet" Icon="/Icons/print-32x32.png">
     
                        <Telerik:RadRibbonGroup.Variants>
                            <Telerik:GroupVariant x:Uid="Telerik:GroupVariant_5" Variant="Collapsed" Priority="10"/>
                            <Telerik:GroupVariant x:Uid="Telerik:GroupVariant_6" Variant="Medium" Priority="6"/>
                        </Telerik:RadRibbonGroup.Variants>
     
                        <Telerik:RadCollapsiblePanel x:Uid="Telerik:RadCollapsiblePanel_3">
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_11" Text="Nyomtat" Size="Large"
                        SmallImage="/Icons/print-16x16.png" LargeImage="/Icons/print-32x32.png"
                        Telerik:ScreenTip.Title="Nyomtatás"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="P"                   
                        Telerik:ScreenTip.Description="Kinyomtatja az aktív ablakot"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_12" Text="Export" Size="Large"
                        SmallImage="/Icons/new-16x16.png" LargeImage="/Icons/Export.png"
                        Telerik:ScreenTip.Title="Exportálás"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="Z"                   
                        Telerik:ScreenTip.Description="Exportálás"/>
                        </Telerik:RadCollapsiblePanel>
                    </Telerik:RadRibbonGroup>
     
     
                    <Telerik:RadRibbonGroup x:Uid="Telerik:RadRibbonGroup_4" Header="Keresés" Icon="/Icons/Find_32x32.png">
     
                        <Telerik:RadRibbonGroup.Variants>
                            <Telerik:GroupVariant x:Uid="Telerik:GroupVariant_7" Variant="Collapsed" Priority="4"/>
                        </Telerik:RadRibbonGroup.Variants>
                        <Telerik:RadCollapsiblePanel x:Uid="Telerik:RadCollapsiblePanel_4">
                            <Grid x:Uid="Grid_1">
                                <Grid.RowDefinitions>
                                    <RowDefinition x:Uid="RowDefinition_1"/>
                                    <RowDefinition x:Uid="RowDefinition_2"/>
                                </Grid.RowDefinitions>
                            </Grid>
                            <Telerik:RadMaskedTextBox Grid.Row="0"
                        x:Uid="SearchBox" x:Name="SearchBox" Width="200" HorizontalAlignment="Stretch" IsEnabled="{Binding SearchTextEnabled}"
                        Margin="2" MaskType="None" EmptyContent="Keresés"
                        Value="{Binding SearchText, UpdateSourceTrigger=PropertyChanged}" />
                        </Telerik:RadCollapsiblePanel>
                    </Telerik:RadRibbonGroup>
     
                    <Telerik:RadRibbonGroup x:Uid="Telerik:RadRibbonGroup_5" Header="Navigáció" Icon="/Icons/Next.png">
     
                        <Telerik:RadRibbonGroup.Variants>
                            <Telerik:GroupVariant x:Uid="Telerik:GroupVariant_8" Variant="Collapsed" Priority="5"/>
                            <Telerik:GroupVariant x:Uid="Telerik:GroupVariant_9" Variant="Medium" Priority="2"/>
                        </Telerik:RadRibbonGroup.Variants>
     
                        <Telerik:RadCollapsiblePanel x:Uid="Telerik:RadCollapsiblePanel_5">
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_13" Text="Első" Size="Large"
                        SmallImage="/Icons/First.png" LargeImage="/Icons/First.png"
                        Telerik:ScreenTip.Title="Első rekord"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="1"                    
                        Telerik:ScreenTip.Description="Első rekordra pozicionál"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_15" Text="Előző" Size="Large"
                        SmallImage="/Icons/Previous.png" LargeImage="/Icons/Previous.png"
                        Telerik:ScreenTip.Title="Előző rekord"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="3"                  
                        Telerik:ScreenTip.Description="Előző rekordra pozicionál"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_16" Text="Következő" Size="Large"
                        SmallImage="/Icons/Next.png" LargeImage="/Icons/Next.png"
                        Telerik:ScreenTip.Title="Következő rekord"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="4"                    
                        Telerik:ScreenTip.Description="Következő rekordra pozicionál"/>
     
                            <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_18" Text="Utolsó" Size="Large"
                        SmallImage="/Icons/Last.png" LargeImage="/Icons/Last.png"
                        Telerik:ScreenTip.Title="Utolsó rekord"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="6"                    
                        Telerik:ScreenTip.Description="Utolsó rekordra pozicionál"/>
     
                        </Telerik:RadCollapsiblePanel>
     
                    </Telerik:RadRibbonGroup>
     
     
                    <Telerik:RadRibbonGroup x:Uid="Telerik:RadRibbonGroup_6" Header="Súgó">
     
                        <Telerik:RadRibbonGroup.Variants>
                            <Telerik:GroupVariant x:Uid="Telerik:GroupVariant_10" Variant="Small" Priority="1"/>
                        </Telerik:RadRibbonGroup.Variants>
     
                        <Telerik:RadRibbonButton x:Uid="Telerik:RadRibbonButton_19" Text="Súgó" Size="Large"
                        SmallImage="/Icons/info-16x16.png" LargeImage="/Icons/info-32x32.png"
                        Telerik:ScreenTip.Title="Súgó"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="WhenGroupIsSmall" IsAutoSize="True" Telerik:KeyTipService.AccessText="H" 
                        Telerik:ScreenTip.Description="Súgó megnyitása"/>
                    </Telerik:RadRibbonGroup>
     
     
                </Telerik:RadRibbonTab>
     
     
                <Telerik:RadRibbonTab x:Uid="Telerik:RadRibbonTab_2" Header="Beállítások" Telerik:KeyTipService.AccessText="B">
                    <Telerik:RadRibbonGroup x:Uid="Telerik:RadRibbonGroup_7" Header="Témák" >
     
                        <Telerik:RadRibbonGroup.Variants>
                            <Telerik:GroupVariant x:Uid="Telerik:GroupVariant_11" Variant="Small" Priority="12"/>
                        </Telerik:RadRibbonGroup.Variants>
     
                        <Telerik:RadCollapsiblePanel x:Uid="Telerik:RadCollapsiblePanel_6">
                            <Grid x:Uid="Grid_2">
                                <Grid.RowDefinitions>
                                    <RowDefinition x:Uid="RowDefinition_3"/>
                                    <RowDefinition x:Uid="RowDefinition_4"/>
                                </Grid.RowDefinitions>
                            </Grid>
     
                            <Telerik:RadRibbonComboBox x:Uid="themes" x:Name="themes" Width="150" SelectedIndex="0" Grid.Row="0" />
                        </Telerik:RadCollapsiblePanel>
     
                    </Telerik:RadRibbonGroup>
     
     
                </Telerik:RadRibbonTab>
     
                <Telerik:RadRibbonTab Header="Szűrések" Telerik:KeyTipService.AccessText="S" x:Name="FilterTab">
     
                    <Telerik:RadRibbonGroup Header="Szűrés" >
     
                        <Telerik:RadRibbonGroup.Variants>
                            <Telerik:GroupVariant Variant="Small" Priority="12"/>
                        </Telerik:RadRibbonGroup.Variants>
     
                        <Telerik:RadRibbonButton Text="Alkalmaz" Size="Large"
                        SmallImage="/Icons/Check_16x16.png" LargeImage="/Icons/Check.png"
                        Telerik:ScreenTip.Title="Alkalmaz" Command="{Binding ApplyFilterCommand}"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="Y"                   
                        Telerik:ScreenTip.Description="Alkalmazza a szűrést"/>
     
                        <Telerik:RadRibbonButton Text="Töröl" Size="Large"
                        SmallImage="/Icons/Delete_16x16.png" LargeImage="/Icons/Delete.png"
                        Telerik:ScreenTip.Title="Szűrések törlése" Command="{Binding ClearFilterCommand}"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="T"                 
                        Telerik:ScreenTip.Description="Törli a szűréseket"/>
     
                    </Telerik:RadRibbonGroup>
     
                    <Telerik:RadRibbonGroup Header="Szűrés-beállítások" >
     
                        <Telerik:RadRibbonGroup.Variants>
                            <Telerik:GroupVariant Variant="Small" Priority="12"/>
                        </Telerik:RadRibbonGroup.Variants>
                        <Telerik:RadCollapsiblePanel >
                            <Grid >
                                <Grid.RowDefinitions>
                                    <RowDefinition x:Uid="RowDefinition_3"/>
                                    <RowDefinition x:Uid="RowDefinition_4"/>
                                </Grid.RowDefinitions>
                            </Grid>
     
                            <Telerik:RadRibbonComboBox Width="150" SelectedIndex="0" Grid.Row="0" />
                        </Telerik:RadCollapsiblePanel>
     
                        <Telerik:RadRibbonButton Text="Ment" Size="Large"
                        SmallImage="/Icons/save-16x16.png" LargeImage="/Icons/save-32x32.png"
                        Telerik:ScreenTip.Title="Mentés" Command="{Binding SaveFilterCommand}"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="S"                    
                        Telerik:ScreenTip.Description="Szűrés-beállítások mentése"/>
     
                        <Telerik:RadRibbonButton Text="Megnyit" Size="Large"
                        SmallImage="/Icons/open-16x16.png" LargeImage="/Icons/open-32x32.png"
                        Telerik:ScreenTip.Title="Betöltés" Command="{Binding LoadFilterCommand}"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="M"                
                        Telerik:ScreenTip.Description="Szűrés-beállítások betöltése"/>
     
                        <Telerik:RadRibbonButton Text="Töröl" Size="Large"
                        SmallImage="/Icons/Delete_16x16.png" LargeImage="/Icons/Delete.png"
                        Telerik:ScreenTip.Title="Törlés"  Command="{Binding DeleteFilterCommand}"
                        CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="Never" IsAutoSize="True" Telerik:KeyTipService.AccessText="X"                 
                        Telerik:ScreenTip.Description="Szűrés-beállítások törlése"/>
     
                    </Telerik:RadRibbonGroup>
                </Telerik:RadRibbonTab>
            </Telerik:RadRibbonView>
        </Grid>
    </Telerik:RadRibbonWindow>


    MainWindow.xaml.cs
    namespace WindowResizeBugDemo
    {
        /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : RadRibbonWindow
        {
            public MainWindow()
            {
                InitializeComponent();
            }
        }
    }
  2. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 19 Dec 2011 Link to this post

    Hi Balázs,

    I can confrim that this is a bug, so I have logged it in our PITS under the name "RibbonView: Initially WindowState="Maximized", then when you set it to WindowState="Normal" the keytips are not positioned correctly". I have updated your Telerik points.

    Kind regards,
    Viktor Tsvetkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Vladislav
    Admin
    Vladislav avatar
    275 posts

    Posted 29 Feb 2012 Link to this post

    Hi Balázs,

    We want to inform you that this issue is fixed in our latest official 2012 Q1 release.
    It will be great if you can give it a try and let us know if it works for you.

    On a separate note, I'd like to let you know that there are 5 brand new controls that we included in this release:
    - Diagrams (Beta)
    - GanttView (CTP)
    - TimeLine
    - ListBox (Beta)
    - DataBar
    When you have time, you can give them a try as we will highly appreciate your feedback.


    Greetings,
    Vladislav
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top