View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002522 | NoesisGUI | C# SDK | public | 2023-02-23 17:13 | 2023-09-28 17:59 |
Reporter | voula_d | Assigned To | sfernandez | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.1.7 | ||||
Target Version | 3.2.2 | Fixed in Version | 3.2.2 | ||
Summary | 0002522: Dispatcher.BeginInvoke never invokes the callback | ||||
Description | I have a class that inherits from DispatcherObject. The class contains methods to call BeginInvoke on the Dispatcher but the callbacks never get called unless I use Application.Current.Dispatcher. The following link contains code to reproduce the problem. https://drive.google.com/file/d/1XU4QjiElK47VUMmFRtn2_j2yXBDbcFxS/view?usp=sharing | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
Hi, I found that creating classes directly inheriting from DispatcherObject won't provide the correct Dispatcher, this is a bug. If you change your base class to DependencyObject in your sample then it will correctly invoke the callback. |
|
I undertand. Changing to DependencyObject works but that won't help for our production scenario, we have a class that needs to derive from DispatcherObject. Is this a bug that will be fixed in the next version? Thank you. |
|
Yes, of course, this is a bug that we will solve for the next version. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-23 17:13 | voula_d | New Issue | |
2023-02-23 19:31 | sfernandez | Assigned To | => sfernandez |
2023-02-23 19:31 | sfernandez | Status | new => assigned |
2023-02-23 19:36 | sfernandez | Status | assigned => feedback |
2023-02-23 19:36 | sfernandez | Note Added: 0008302 | |
2023-02-24 09:39 | voula_d | Note Added: 0008306 | |
2023-02-24 09:39 | voula_d | Status | feedback => assigned |
2023-02-24 10:51 | sfernandez | Note Added: 0008307 | |
2023-09-28 16:53 | sfernandez | Target Version | => 3.2.2 |
2023-09-28 17:59 | sfernandez | Status | assigned => resolved |
2023-09-28 17:59 | sfernandez | Resolution | open => fixed |
2023-09-28 17:59 | sfernandez | Fixed in Version | => 3.2.2 |