Skip to content

Redesign the GUI #18

@noryb009

Description

@noryb009

After #15, there is no need for the frontend and backend to be split into two separate processes. Moving them into the same process (probably in separate threads, with a new backend thread created for each task) would have some benefits:

  • It would allow removing the awkward message passing over pipes, instead doing simpler communication between threads.
  • The front end would have admin privileges, allowing issues such as Edit menu button #12 to be trivial, instead of needing to pass messages to the backend.
  • There is less possibility of a one of the two processes dying while the other lives. Currently, if the frontend dies, the backend might sit in the background indefinitely, while if the backend dies, the frontend may appear to be unresponsive.
  • lickdir_t can be more complex, allowing the use of pointers, lists, etc.

Since almost all of the GUI code would need to be refactored, it would probably be beneficial to completely rewrite it. This would include:

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions