View Issue Details

IDProjectCategoryView StatusLast Update
0001142NoesisGUIC# SDKpublic2020-09-25 10:52
Reporterai_enabledAssigned Tosfernandez 
Status assignedResolutionopen 
Product Version2.0.2f2 
Target VersionFixed in Version 
Summary0001142: Can't disable tooltip animation
DescriptionTo disable NoesisGUI ToolTip animations in VE, we used this XAML resources hack:

        <PopupAnimation x:Key="{x:Static SystemParameters.ToolTipPopupAnimationKey}">None</PopupAnimation>

But in NoesisGUI 2.0.2f2 it throws exception: Enum node can't have attributes.
TagsNo tags attached.




2017-08-30 12:24

manager   ~0004796

I will check the parsing error. I guess that in Noesis 1.2 that x:Key was ignored or just showing a warning and now we are raising an error. In fact we never supported SystemParameters static class, and x:Static support is very limited too.

Meanwhile you can just set it like:

Or using a setter in a Style:
<Setter Property="PopupAnimation" Value="None"/>

Can't you use that?


2017-08-30 12:55

updater   ~0004798

Last edited: 2017-08-30 12:56

View 2 revisions

Unfortunately, it doesn't work, it's still animated. I've tried to define default styles like that:
   <Style TargetType="{x:Type Popup}">
        <Setter Property="OverridesDefaultStyle" Value="True" />
        <Setter Property="PopupAnimation" Value="None" />

    <Style TargetType="{x:Type ToolTip}">
        <Setter Property="OverridesDefaultStyle" Value="True" />
        <Setter Property="Popup.PopupAnimation" Value="None" />
        <Setter Property="Template">
                <ControlTemplate TargetType="{x:Type ToolTip}">
                    <Border Background="Yellow">
                        <ContentPresenter />



2017-08-30 18:27

manager   ~0004799

Unfortunately Popup elements cannot have default styles defined in the Theme as they don't override DefaultStyleKey property.
If you want something generic, you can define an implicit style for the Popup in the root of the UI tree.


2017-08-30 18:38

manager   ~0004800

Forget it... I just found out that our ToolTip code is setting the Popup animation to Fade always. So there is no way to change this behavior in the xaml right now.
I will investigate how to support this correctly, sorry for the inconveniences.


2018-03-15 10:16

updater   ~0005136

This issue is still not resolved.
I can't find a way to disable the popup animation...


2020-09-24 20:30

reporter   ~0006651

Was this ever fixed? I'm not sure how to disable the fade animation for tooltips.


2020-09-25 10:51

manager   ~0006652

Last edited: 2020-09-25 10:52

View 3 revisions

Since 3.0 version Popups tries to use the following animations in ApplicationResources if they exist:
- Anim.Popup.Fade
- Anim.Popup.Slide
- Anim.Popup.Scroll

Our NoesisTheme defines them like this:
  <Storyboard x:Key="Anim.Popup.Fade" Storyboard.TargetProperty="Opacity">
      <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
      <EasingDoubleKeyFrame KeyTime="0:0:0.150" Value="1"/>
  <Storyboard x:Key="Anim.Popup.Slide" Storyboard.TargetProperty="Opacity">
      <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
      <EasingDoubleKeyFrame KeyTime="0:0:0.150" Value="1"/>
  <Storyboard x:Key="Anim.Popup.Scroll" Storyboard.TargetProperty="Opacity">
      <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
      <EasingDoubleKeyFrame KeyTime="0:0:0.150" Value="1"/>

You can change that in your application as you want.

Issue History

Date Modified Username Field Change
2017-08-28 14:46 ai_enabled New Issue
2017-08-30 12:24 sfernandez Assigned To => sfernandez
2017-08-30 12:24 sfernandez Status new => feedback
2017-08-30 12:24 sfernandez Note Added: 0004796
2017-08-30 12:55 ai_enabled Note Added: 0004798
2017-08-30 12:55 ai_enabled Status feedback => assigned
2017-08-30 12:56 ai_enabled Note Edited: 0004798 View Revisions
2017-08-30 18:27 sfernandez Status assigned => feedback
2017-08-30 18:27 sfernandez Note Added: 0004799
2017-08-30 18:38 sfernandez Note Added: 0004800
2018-03-15 10:16 ai_enabled Note Added: 0005136
2018-03-15 10:16 ai_enabled Status feedback => assigned
2018-11-01 02:14 jsantos View Status public => private
2018-11-22 11:45 sfernandez View Status private => public
2018-11-22 11:45 sfernandez Platform => Any
2020-09-24 20:30 asusralis Note Added: 0006651
2020-09-25 10:51 sfernandez Note Added: 0006652
2020-09-25 10:51 sfernandez Note Edited: 0006652 View Revisions
2020-09-25 10:52 sfernandez Note Edited: 0006652 View Revisions