#1069 closed todo (done)
how to refer to the current window
| Reported by: | Ichthyostega | Owned by: | Ichthyostega |
|---|---|---|---|
| Priority: | grave | Milestone: | 0integration |
| Component: | lumieraGui | Keywords: | gui architecture lifecycle design |
| Sub Tickets: | Parent Tickets: | #1032, #1044, #1048, #1067, #1074, #1144 |
Description
we've got a problem with defining global Actions, e.g. for a global menu: we can't bind them to a specific window, rather they need to attach to the current window at invocation time
Change history (6)
comment:1 by , at 2017-01-31T21:54:19Z
| blocking: | 1032, 1044, 1048, 1067 → 1032, 1044, 1048, 1067, 1074 |
|---|
comment:2 by , at 2017-02-01T02:58:45Z
| Status: | new → accepted |
|---|
comment:3 by , at 2017-02-10T23:15:54Z
...while the UiManager might serve well as link, he is not actually the right one to handle this problem.
Thus I've now introduced a new top-level Controller, which
- like any controller is connected to the UI-Bus
- corresponds to the model
Rootin the Session - is planned to establish a link between the hierarchical structure of the model and transient user interaction state, read "the current window"
comment:4 by , at 2017-02-14T02:48:36Z
| Resolution: | → done |
|---|---|
| Status: | accepted → closed |
this problem is effectively solved now
- we use a global wiring context (ticket:1067)
- each of these global managers knows about the other's responsibilities
- the
WindowListis able to inspect allo top-levelWorkspaceWindowentries to pick the first one markedactiveby GTK. - the other global facilities , like the global menu actions, just delegate to the
WindowListfor this task.
comment:5 by , at 2018-06-17T12:51:31Z
| blocking: | 1032, 1044, 1048, 1067, 1074 → 1032, 1044, 1048, 1067, 1074, 1144 |
|---|
comment:6 by , at 2025-12-25T00:00:00Z
| blocking: | 1032, 1044, 1048, 1067, 1074, 1144 |
|---|---|
| Parent Tickets: | → 1032, 1044, 1048, 1067, 1074, 1144 |
Migration MasterTickets ⟼ Subtickets-plugin
Note:
See TracTickets
for help on using tickets.

made a rought draft.