You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes various small issues, including some of the issues in firezone#3768:
- Clicking "About" or "Settings" no longer toggles a window between
visible and hidden, it always shows and un-minimizes the window. So if
it's minimized, it won't vanish, it will appear
- Log message for vt100 failure is clearer
- The "cancel sign-in" race was coincidentally already working as
intended, but the code and comments are clarified.
- Fix the asset name used to check for auto-updates (this cannot be
end-to-end tested until we cut a new release of the clients on Github,
not just a draft release)
- Fix README to include Ubuntu instructions
tracing::info!("User signed out or canceled sign-in");
607
-
self.sign_out()?;
608
-
}
609
622
Req::SystemTrayMenu(TrayMenuEvent::Resource{ id }) => self
610
623
.copy_resource(&id)
611
624
.context("Couldn't copy resource to clipboard")?,
@@ -620,6 +633,10 @@ impl Controller {
620
633
)?;
621
634
}
622
635
}
636
+
Req::SystemTrayMenu(TrayMenuEvent::SignOut) => {
637
+
tracing::info!("User asked to sign out");
638
+
self.sign_out()?;
639
+
}
623
640
Req::SystemTrayMenu(TrayMenuEvent::Quit) => {
624
641
bail!("Impossible error: `Quit` should be handled before this")
625
642
}
@@ -705,7 +722,7 @@ impl Controller {
705
722
}else{
706
723
// Might just be because we got a double sign-out or
707
724
// the user canceled the sign-in or something innocent.
708
-
tracing::warn!("tried to sign out but there's no session");
725
+
tracing::info!("Tried to sign out but there's no session, cancelled sign-in");
709
726
}
710
727
self.refresh_system_tray_menu()?;
711
728
Ok(())
@@ -722,12 +739,8 @@ impl Controller {
722
739
.get_window(id)
723
740
.ok_or_else(|| anyhow!("getting handle to `{id}` window"))?;
724
741
725
-
if win.is_visible()? {
726
-
// If we close the window here, we can't re-open it, we'd have to fully re-create it. Not needed for MVP - We agreed 100 MB is fine for the GUI client.
0 commit comments