[GH-ISSUE #351] Remote Chat #162

Open
opened 2026-02-27 15:49:08 +03:00 by kerem · 5 comments
Owner

Originally created by @ghost on GitHub (Aug 24, 2015).
Original GitHub issue: https://github.com/quasar/Quasar/issues/351

I tried to add this by myself but so much problem after that: Client ChatForm must be running on difference thread to make sure main thread still working and ChatForm still responding to user. If we create another thread to keep ChatForm responding then we can't set incoming message to chat from because main thread can't interact with control in thread that running ChatForm 😞 sent help!

Originally created by @ghost on GitHub (Aug 24, 2015). Original GitHub issue: https://github.com/quasar/Quasar/issues/351 I tried to add this by myself but so much problem after that: Client ChatForm must be running on difference thread to make sure main thread still working and ChatForm still responding to user. If we create another thread to keep ChatForm responding then we can't set incoming message to chat from because main thread can't interact with control in thread that running ChatForm :disappointed: sent help!
Author
Owner

@ghost commented on GitHub (Aug 25, 2015):

We receive message by main thread but can't set it to textbox of chatform in thread 2 because it's not allowed

<!-- gh-comment-id:134424545 --> @ghost commented on GitHub (Aug 25, 2015): We receive message by main thread but can't set it to textbox of chatform in thread 2 because it's not allowed
Author
Owner

@MaxXor commented on GitHub (Aug 25, 2015):

@SandPox I know what u mean, but this feature has low priority. But I'll add it in the future.

<!-- gh-comment-id:134512474 --> @MaxXor commented on GitHub (Aug 25, 2015): @SandPox I know what u mean, but this feature has low priority. But I'll add it in the future.
Author
Owner

@Panthere commented on GitHub (Sep 2, 2015):

@SandPox Controls all have the InvokeRequired property and Invoke method, very easy to work with.

<!-- gh-comment-id:136916899 --> @Panthere commented on GitHub (Sep 2, 2015): @SandPox Controls all have the InvokeRequired property and Invoke method, very easy to work with.
Author
Owner

@ghost commented on GitHub (Sep 2, 2015):

@Panthere idk... never work with control in different thread before..

<!-- gh-comment-id:136919801 --> @ghost commented on GitHub (Sep 2, 2015): @Panthere idk... never work with control in different thread before..
Author
Owner

@yankejustin commented on GitHub (Sep 2, 2015):

@SandPox Take a look at the command handlers and notice our usage of invoking actions on specific forms (or controls on the form). It is a good reference on how to queue up an action for a control created on a different thread.

<!-- gh-comment-id:136920226 --> @yankejustin commented on GitHub (Sep 2, 2015): @SandPox Take a look at the command handlers and notice our usage of invoking actions on specific forms (or controls on the form). It is a good reference on how to queue up an action for a control created on a different thread.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#162
No description provided.