View Issue Details

IDProjectCategoryView StatusLast Update
0002522NoesisGUIC# SDKpublic2023-09-28 17:59
Reportervoula_d Assigned Tosfernandez  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.1.7 
Target Version3.2.2Fixed in Version3.2.2 
Summary0002522: Dispatcher.BeginInvoke never invokes the callback
DescriptionI 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
TagsNo tags attached.
PlatformAny

Activities

sfernandez

sfernandez

2023-02-23 19:36

manager   ~0008302

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.
voula_d

voula_d

2023-02-24 09:39

reporter   ~0008306

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.
sfernandez

sfernandez

2023-02-24 10:51

manager   ~0008307

Yes, of course, this is a bug that we will solve for the next version.

Issue History

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