All visible/interactive objects on Unity should be at least a Nux::InputArea subclass
Bug #706891 reported by
Alejandro Piñeiro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Invalid
|
Medium
|
Loïc Molinari |
Bug Description
After the fix on bug 703054 Nux::Area includes a signal that notifies when a object is destroyed.
Bug 703054 includes a detailed description of why it is required, but in summary, it is required to update the state of the accessibility object related to that object, and avoid that this accessibility object keep interacting with a visual destroyed object
But not all the objects on Unity are Nux::Area subclasses, so we would not be notified of those objects destruction.
At this moment I can point to LauncherIcon as the poster boy of this situation. Further investigation is required to check if this is the case for other objects.
Related branches
lp:~loic.molinari/nux/nux-sigc-trackable-base-class
- Jay Taoko (community): Approve
-
Diff: 226 lines (+36/-16)10 files modifiedNux/Area.cpp (+0/-1)
Nux/Area.h (+1/-7)
Nux/InputArea.h (+1/-1)
Nux/RadioButtonGroup.h (+1/-1)
Nux/View.h (+1/-1)
NuxCore/Object.cpp (+1/-1)
NuxCore/Object.h (+7/-1)
NuxCore/nux-core.pc.in (+1/-1)
configure.ac (+4/-1)
tests/test-object.cpp (+19/-1)
lp:~loic.molinari/unity/unity-sigc-trackable-base-class
- Jay Taoko (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/LauncherIcon.h (+1/-1)
Changed in unity: | |
assignee: | nobody → Jay Taoko (jaytaoko) |
summary: |
- All visible/interactive objects on Unity should be at least a Nux::Area - subclass + All visible/interactive objects on Unity should be at least a + Nux::InputArea subclass |
Changed in unity: | |
milestone: | 3.6 → 3.4.4 |
Changed in unity: | |
milestone: | 3.4.4 → 3.4.6 |
To post a comment you must log in.
@loic: further to our discussion, can you see with Alejandro how to provide more update signals, but relying preferably on an orthogonal interface, rather than on sub-classing or changing the inheritance graph.