Tree shake

6 posts, 0 answers
  1. Lior Aloni
    Lior Aloni avatar
    3 posts
    Member since:
    Feb 2010

    Posted 07 Feb 2010 Link to this post

    Hi

    There is a problem in the RadTreeView.

    When you rename a node, and the name is longer then the tree’s container width, the tree shakes.

    Please try renamning a node with a long name with many ‘a’.

    Then rename again the same way, move to a node that has children and the tree will start shaking.

     

    Thanks

     

     

    Lior Aloni

  2. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 10 Feb 2010 Link to this post

    Hi Lior,

    Thank you for contacting us.

    Please excuse me if I do not understand you. What kind of shaking you are observing and what kind of action is causing it? We found two features that are a bit related to the described scenario - actually the whole tree is moving left-right when:
    • Focusing items wider the tree itself. This is because we are trying to show maximum of the currently focused item.
    • In edit mode the caret is going out the border of the tree. In fact there are two ways to realize the edit mode:
      • Initializing the editor to be wide enough to embed its content without scrolling (our implementation). In this case the tree should scroll in order to show the caret.
      • The maximum width of the editor should not exceed the width of the tree. In this case the text should scroll inside the editor.

    If we misunderstood the context of your post please drop us a line
     

    Regards,
    Ivan
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Lior Aloni
    Lior Aloni avatar
    3 posts
    Member since:
    Feb 2010

    Posted 10 Feb 2010 Link to this post

    Hi

    Thank you for the reply.

    The first scenario you presented is the case. The whole tree moves right left without stopping when the item is wider than the tree itself. How can I disable this feature?

    Regards

    Lior

  5. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 15 Feb 2010 Link to this post

    Hello Lior Aloni,

    It looks strange the "tree moves without stopping". We prepared and attached here a sample app to test it at your side. Could you please test its behavior? If you have your example that reproduces the case could you send it to us for further investigation.

    Looking forward for your reply.


    Best wishes,
    Ivan
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  6. Lior Aloni
    Lior Aloni avatar
    3 posts
    Member since:
    Feb 2010

    Posted 16 Feb 2010 Link to this post

    <Window x:Class="WpfApplication1.Window1"

            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

            xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid"

            xmlns:loc="clr-namespace:WpfApplication1"

            xmlns:Telerik="http://schemas.telerik.com/2008/xaml/presentation"

            Title="Window1" Height="300" Width="300">

        <Grid>

           

           

            <Telerik:RadTreeView IsEditable="True">

                    <Telerik:RadTreeViewItem>a</Telerik:RadTreeViewItem>

                    <Telerik:RadTreeViewItem>b</Telerik:RadTreeViewItem>

                    <Telerik:RadTreeViewItem>c</Telerik:RadTreeViewItem>

                    <Telerik:RadTreeViewItem>d</Telerik:RadTreeViewItem>

            </Telerik:RadTreeView>

           

        </Grid>

    </Window>

     

     

    Reproduction steps:

    1)  Expand all nodes (so now you have 8 rows)

    2)  Stand on row 2 (‘a’)

    3)  Press F2

    4)  Type ‘aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa’

    5)  Press Enter

    6)  Do steps 2-4 again

    7)  Stand on row 3

    8)  Stree starts shaking

     

    Even in the sample you attached I managed to reprodue it

  7. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 17 Feb 2010 Link to this post

    Hi Lior,

    I followed your instructions and I was not able to reproduce it. Could you please have a look at the attached video file as it shows my steps trying to reproduce the issue. Let me know if I am doing anything wrong.

    Best wishes,
    Kiril Stanoev
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
Back to Top
UI for WPF is Visual Studio 2017 Ready