-
Notifications
You must be signed in to change notification settings - Fork 100
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
dont interact with desktop client while in standby #1700
dont interact with desktop client while in standby #1700
Conversation
@@ -531,6 +531,13 @@ func (r *DesktopUsersProcessesRunner) writeDefaultMenuTemplateFile() { | |||
} | |||
|
|||
func (r *DesktopUsersProcessesRunner) runConsoleUserDesktop() error { | |||
if r.knapsack.InModernStandby() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we skip here or in the execute loop?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here makes sense! Looking here versus execute, I think when we're in modern standby we would still want to refresh menu data (
launcher/ee/desktop/runner/runner.go
Line 235 in 42f20a7
case <-menuRefreshTicker.C: |
launcher/ee/desktop/runner/runner.go
Line 439 in 42f20a7
// Tell any running desktop user processes that they should refresh the latest menu data |
InModernStandby
check into these individual functions makes sense to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not tell the clients in standby.
I forget how menu refresh works, if we skip it, will we miss things, or will we pick things up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will still pick up the menu changes and can still have the most updated menu available when we come out of standby
the data to update the menu comes in via the control server update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's try!
No description provided.