Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign the GUI #18

Open
noryb009 opened this issue Jul 9, 2017 · 1 comment
Open

Redesign the GUI #18

noryb009 opened this issue Jul 9, 2017 · 1 comment
Assignees
Labels

Comments

@noryb009
Copy link
Owner

noryb009 commented Jul 9, 2017

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:

@noryb009 noryb009 self-assigned this Jul 9, 2017
@noryb009
Copy link
Owner Author

Before this is completed, these issues should be looked at or resolved:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant