View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001142 | NoesisGUI | C# SDK | public | 2017-08-28 14:46 | 2024-06-03 18:04 |
| Reporter | ai_enabled | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.0.2f2 | ||||
| Target Version | 3.2.4 | Fixed in Version | 3.2.4 | ||
| Summary | 0001142: Can't disable tooltip animation | ||||
| Description | To disable NoesisGUI ToolTip animations in VE, we used this XAML resources hack:
But in NoesisGUI 2.0.2f2 it throws exception: Enum node can't have attributes. | ||||
| Platform | Any | ||||
|
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: Popup.PopupAnimation="None" Or using a setter in a Style: <Setter Property="PopupAnimation" Value="None"/> Can't you use that? |
|
|
Unfortunately, it doesn't work, it's still animated. I've tried to define default styles like that:
|
|
|
Unfortunately Popup elements cannot have default styles defined in the Theme as they don't override DefaultStyleKey property. |
|
|
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. |
|
|
This issue is still not resolved. |
|
|
Was this ever fixed? I'm not sure how to disable the fade animation for tooltips. |
|
|
Since 3.0 version Popups tries to use the following animations in ApplicationResources if they exist:
Our NoesisTheme defines them like this: <Storyboard x:Key="Anim.Popup.Fade" Storyboard.TargetProperty="Opacity"> You can change that in your application as you want. |
|
|
Hi, I tried to disable tooltip animation with your suggestions, but it does not work. No matter if I put this storyboards inside my resources or override Popup.PopupAnimation inside style, nothing changes. Is there any other solution? |
|
|
Fixed by supporting the definition of ToolTipPopupAnimation key as a resource: <PopupAnimation x:Key="{x:Static SystemParameters.ToolTipPopupAnimationKey}">None</PopupAnimation> |
|
| 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 | |
| 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 | |
| 2020-09-25 10:52 | sfernandez | Note Edited: 0006652 | |
| 2024-05-21 16:58 | Otter | Note Added: 0009547 | |
| 2024-06-03 18:04 | sfernandez | Status | assigned => resolved |
| 2024-06-03 18:04 | sfernandez | Resolution | open => fixed |
| 2024-06-03 18:04 | sfernandez | Fixed in Version | => 3.2.4 |
| 2024-06-03 18:04 | sfernandez | Target Version | => 3.2.4 |
| 2024-06-03 18:04 | sfernandez | Note Added: 0009616 |