View Issue Details

IDProjectCategoryView StatusLast Update
0000811NoesisGUIC# SDKpublic2023-08-30 20:13
Reporterai_enabled Assigned Tosfernandez  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.2.5f10 
Target Version3.2.2Fixed in Version3.2.2 
Summary0000811: Difference with WPF - FocusManager is absent
DescriptionHello!
The FocusManager is absent.
Currently I need access FocusManager.FocusedElement and it seems I need to find a workaround for it.

Would be nice if you implement FocusManager as it's done in WPF.

Regards!
TagsNo tags attached.
PlatformAny

Relationships

has duplicate 0001982 resolvedsfernandez FocusManager is missing 

Activities

sfernandez

sfernandez

2016-02-01 04:49

manager   ~0003496

Last edited: 2016-02-01 04:49

FocusManager is not currently implemented in NoesisGUI but you can obtain the focused element asking the Keyboard object:

UIElement anyTreeElement = ...;
UIElement focusedElement = anyTreeElement.GetKeyboard().GetFocused();


Will you need logical focus, apart from keyboard focus, to be implemented?

ai_enabled

ai_enabled

2016-02-05 11:58

updater   ~0003521

Last edited: 2016-02-05 11:59

Thanks, I didn't know how to get the instance of Keyboard class. It works very well now.

I don't think we need logical focus (FocusManager) on C# side yet. Currently we need it only on Noesis.dll side - it should behave in the same way as in WPF:
"The idea is that WPF keeps track of one or more groups of controls, each of which makes up a focus scope. Within each focus scope, a single control can have logical focus. This allows WPF to remember the control that last had focus in a group of controls and give the keyboard focus back to the proper control when a group of controls becomes active again." (from http://wpf.2000things.com/2011/05/27/309-keyboard-focus-vs-logical-focus/ )

ai_enabled

ai_enabled

2018-12-21 17:21

updater   ~0005372

It seems to be not a problem anymore.
Please close this ticket.
sfernandez

sfernandez

2018-12-24 10:41

manager   ~0005377

Last edited: 2018-12-24 10:41

I will leave it, as it is an unimplemented feature. If more people asks for this we might work on this.

sfernandez

sfernandez

2023-08-30 20:13

manager   ~0008686

Fixed in changeset 12682

Issue History

Date Modified Username Field Change
2016-01-30 13:42 ai_enabled New Issue
2016-02-01 04:49 sfernandez Note Added: 0003496
2016-02-01 04:49 sfernandez Assigned To => sfernandez
2016-02-01 04:49 sfernandez Status new => feedback
2016-02-01 04:49 sfernandez Note Edited: 0003496
2016-02-05 11:58 ai_enabled Note Added: 0003521
2016-02-05 11:58 ai_enabled Status feedback => assigned
2016-02-05 11:58 ai_enabled Note Edited: 0003521
2016-02-05 11:59 ai_enabled Note Edited: 0003521
2018-11-01 02:14 jsantos View Status public => private
2018-11-23 01:34 sfernandez View Status private => public
2018-11-23 01:34 sfernandez Platform => Any
2018-12-21 17:21 ai_enabled Note Added: 0005372
2018-12-24 10:41 sfernandez Note Added: 0005377
2018-12-24 10:41 sfernandez Note Edited: 0005377
2021-04-27 20:29 sfernandez Relationship added has duplicate 0001982
2021-06-10 01:55 sfernandez Target Version => 3.1
2023-08-30 20:13 sfernandez Status assigned => resolved
2023-08-30 20:13 sfernandez Resolution open => fixed
2023-08-30 20:13 sfernandez Fixed in Version => 3.2.2
2023-08-30 20:13 sfernandez Target Version 3.1 => 3.2.2
2023-08-30 20:13 sfernandez Note Added: 0008686