BaseWindow should notify change on the visible state
Bug #702702 reported by
Alejandro Piñeiro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nux |
Fix Released
|
Undecided
|
Jay Taoko | ||
Unity |
Fix Released
|
Undecided
|
Unassigned | ||
nux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This bug is related to bug 702700.
BaseWindow has the state isVisible, but it would be required to have a signal to notify this change.
In the same way, it would be required to be able to connect to that signal without knowing the BaseWindow instance before connecting to this instance.
The use case of this feature is know if any BaseWindow has become visible, so we could get the specific instance and do thing with it.
I already talked about it with Jay Taoko via email and personally, and seems feasible. Just creating the bug in order to track this feature, and know when we could start to work on bug 702700
tags: | added: a11y |
Changed in nux: | |
status: | New → In Progress |
assignee: | nobody → Jay Taoko (jaytaoko) |
Changed in unity: | |
status: | New → In Progress |
Changed in nux (Ubuntu): | |
status: | New → In Progress |
Changed in unity: | |
milestone: | none → 3.4.6 |
Changed in nux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in nux: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in unity (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
This bug was solved some time ago, I will copy here a private mail from Jay dated of 27 January:
"In Nux/WindowCompo sitor.cpp/ .h I added the following signals: :signal< void, BaseWindow* > sigVisibleViewW indow :signal< void, BaseWindow* > sigHiddenViewWindow
sigc:
sigc:
Both signals are emitted when a BaseWindow becomes visible or
hidden. You probably noticed that signal name carry the name
"ViewWindow". That is because I am in the processes of rename
BaseWindow to something else (possibly ViewWindow).
You connect to sigVisibleViewW indow and sigHiddenViewWindow through sitor ()).
the global WindowCompositor class (GetWindowCompo
BaseWindows themselves emit their own signal: sigVisible and
sigHidden. You can connect to these signals if you have access to a
BaseWindow object."
So closing the bug on the first two states, not sure how it works in the last one (packaging)