Quick Navigator

6 posts, 0 answers
  1. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 07 Jul 2009 Link to this post

    Hi,

    The Quick Navigator does not always seem to show a preview correctly. Even on your demo application. If you launch two windows, and use the quick navigator, sometimes only the first preview is shown. On other occasions, no preview is shown.

    Thanks

    Richard
  2. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 08 Jul 2009 Link to this post

    Hi Richard,

    The Preview area in the QuickNavigator takes a snapshot of the currently selected window. This snapshot is taken with the following bounds - (0, 0, PreviewSize.Width, PreviewSize.Height). If the associated window's size is currently empty - e.g. if the window's state is AutoHide and it is not displayed or it is a DocumentWindow without any content (child controls) - then the preview will appear empty.

    Generally we may consider putting some notification like "No Content to display" so that such confusions do not occur.


    Greetings,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 08 Jul 2009 Link to this post

    Ive realised that the Quick Navigator cannot preview tabbed MDI Document windows.
    I.e - I have an MDI Application with RadDock and AutoDetectMDI on.

    If you open a series of forms (that display in the RadDock as tabbed documents) then you only get a preview for the tabbed document that you are on. This is quite confusing as I'd have expected a preview for each of the forms that are open.

    Thanks
  5. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 09 Jul 2009 Link to this post

    Hi Richard,

    The problem you described is due to the fact that all the DockWindows excluding the first displayed in the tabstrip are not yet Visible and have empty sizes. Once you navigate all tabs, the Preview will work fine.

    We will address this issue in two ways:

    - Add property in the QuickNavigatorSettings, named ForceSnapshot, which, if true, will update the size and visibility of the Window, so that a correct snapshot may be taken. This will bring some additional overhead and that is why we will allow our users to specify whether this feature is desired or not. It will be true by default.
    - Add event, that will allow users to specify the completely custom image as a preview.

    Sincerely yours,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 09 Jul 2009 Link to this post

    Ok. Thanks for the reply.
    I think the property would be my preference. Might this be in SP1?

    Thanks
  7. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 09 Jul 2009 Link to this post

    Hi Richard,

    Yes, we will do our best to address this in the first service pack of Q2 2009, due in a few weeks.

    Greetings,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
UI for WinForms is Visual Studio 2017 Ready