#1099 closed meta (done)

Vertical Slice: Demo-Gui-Roundtrip

Reported by: Ichthyostega Owned by: Ichthyostega
Priority: grave Milestone: 0integration
Component: lumieraGui Keywords: roadmap gui connect design Goal
Sub Tickets: #209, #1047, #1050, #1098 Parent Tickets: #299, #384, #1042, #1045, #1102, #1174

Description (last modified by Ichthyostega)

Build a Dummy/Demo feature to push the integration of UI and Core application ahead

  • a menu entry
  • which issues a Steam-Command
  • which in turn accesses the Notification-facade
  • and sends a "mark" message towards some UI demo widget
  • which in turn displays the mark text

Any parts in the UI can be just hard-wired throw-away components, yet it is mandatory to use the real communication services for command dispatch and mark message, including the proper asynchronous implementation. The goal of the whole exercise is

  • to force us to build a complete implementation chain
  • to verify the correct thread management in the debugger

Demo code can be discarded once these goals are accomplished.

Change history (13)

comment:1 by Ichthyostega, at 2017-08-05T14:03:13Z

blockedby: 1098, 1050, 209, 1047 → 209, 1047, 1050, 1098
blocking: 1042, 384 → 384, 1042
Description: modified (diff)

comment:2 by Ichthyostega, at 2017-08-31T18:31:01Z

blockedby: 209, 1047, 1050, 1098 → 209, 1047, 1050, 1098, 1102

comment:3 by Ichthyostega, at 2018-08-04T16:21:43Z

blockedby: 209, 1047, 1050, 1098, 1102 → 209, 1047, 1050, 1098
blocking: 384, 1042 → 384, 1042, 1102

Status update here...

  • facade interfaces and subsystem structures are basically in place
  • the GUI backbone has matured
  • the most problematic part turns out how to "house" and attach just some UI element

For the moment, I have created a dummy information pane. This could be used with a hard wired ID.

Maybe it's better not to expect the dummy UI widget to be instantiated and addressed in the official way,
since this will possibly delay the whole task after the timeline structure ist there, which defeats the whole idea of pushing for integration

comment:4 by Ichthyostega, at 2018-08-07T00:59:07Z

Status: new → accepted

so let's try to push that ahead to further integration.
Moreover, this demo display panel could serve temporarily as notification display, until we're able to place and instruct an UI view in the planned, generic way

comment:5 by Ichthyostega, at 2018-08-17T17:42:03Z

immediately hit a roadblock: the ViewLocator is not yet usable, since we need some real world UI widgets in order to come up with a sensible lookup and internal widget navigation. Solved that chicken-and-egg problem with the help of a preliminary and simplistic lookup and allocation function in the WindowLocator / PanelLocator. Wired this in via direct top-level access through the Wizard. Packaged everything into lambdas and hide it behind getters. Phew...

comment:6 by Ichthyostega, at 2018-09-21T11:54:14Z

...and while I can not resolve that roadblock right now, I created a workaround by using a getter for access, which contains some hard coded direct access code.
Together with #1162 it looks feasible now to code up the whole element protocol for this specific demo widget. We could then use some dummy buttons elsewhere
to enact the various cases of feedback to the UI

comment:7 by Ichthyostega <prg@…>, at 2018-09-26T15:18:24Z

In 77980ef/Lumiera:

TestControl: the first tangible UI feedback caused via UI-Bus (see #1099)

wrap up the helpers and wire the connection to the UI-Bus.
Then attempt a direct invocation, still within the GTK thread.

While this might seem as just some silly experiment, in fact it is
* THE FUCKING FIRST TIME to transmit a visible action to a real widget *

this links together and integrates various efforts achieved during the last years

comment:8 by Ichthyostega <prg@…>, at 2018-09-30T22:37:17Z

In 5fd3fb3/Lumiera:

DemoGuiRoundtrip: first successful complete roundtrip GUI->Proc->GUI (see #1099)

A communication chain, triggered from a button in a non-modal dialog box,
passing invocation into another thread, dispatched by the ProcDispatcher,
then again passing thread boundaries to push a response back into the UI.

This is a milestone, and integrates several components built during the last years.

comment:9 by Ichthyostega, at 2018-10-06T15:33:35Z

blocking: 384, 1042, 1102 → 384, 1042, 1045, 1102, 1174

comment:10 by Ichthyostega, at 2018-10-07T15:36:14Z

Resolution: → done
Status: accepted → closed

In changeset:cd557f50ec/Lumiera:

UI-Layer and Core are now connected in both directions, asynchronously.
Investigation "Demo Gui Roundtrip" successfully completed

comment:11 by Ichthyostega, at 2022-10-06T20:01:25Z

Keywords: VerticalSlice added
Summary: DemoGuiRoundtrip → Vertical Slice: Demo-Gui-Roundtrip

comment:12 by Ichthyostega, at 2025-02-20T16:21:15Z

blocking: 384, 1042, 1045, 1102, 1174 → 299, 384, 1042, 1045, 1102, 1174
Keywords: Goal added; VerticalSlice removed

comment:13 by Undercover Agent, at 2025-12-25T00:00:00Z

blockedby: 209, 1047, 1050, 1098
blocking: 299, 384, 1042, 1045, 1102, 1174
Parent Tickets: → 299, 384, 1042, 1045, 1102, 1174
Sub Tickets: → 209, 1047, 1050, 1098

Migration MasterTickets ⟼ Subtickets-plugin

Note: See TracTickets for help on using tickets.