From 903e4657018a5d7b38b7dbe2707544f87eec3b1f Mon Sep 17 00:00:00 2001 From: x01dc Date: Thu, 17 Sep 2026 16:02:38 +0200 Subject: [PATCH] Revert "fix(flomni): increase flomni GUI window settle delay after creation (experiment)" This reverts commit 631bdedb6c485d0e14c49f4ae4123c5d11d2d455. --- .../bec_ipython_client/plugins/flomni/gui_tools.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/csaxs_bec/bec_ipython_client/plugins/flomni/gui_tools.py b/csaxs_bec/bec_ipython_client/plugins/flomni/gui_tools.py index c347b40c..0a933ec9 100644 --- a/csaxs_bec/bec_ipython_client/plugins/flomni/gui_tools.py +++ b/csaxs_bec/bec_ipython_client/plugins/flomni/gui_tools.py @@ -59,17 +59,7 @@ class flomniGuiTools: pos_x = self._SCREEN_WIDTH - self._WINDOW_WIDTH geometry = (pos_x, self._WINDOW_TOP_MARGIN, self._WINDOW_WIDTH, self._WINDOW_HEIGHT) self.flomni_window = self.gui.new("flomni", geometry=geometry) - # The RPC response for gui.new() confirms the server has created the - # window object, not that it has actually settled at the requested - # geometry on screen (window-manager-level resize can lag behind - # that, worse over a remote desktop session) -- the very first dock - # added right after this (e.g. flomnigui_show_xeyealign()'s - # OMNY_XRayEye) can otherwise get laid out against a still-settling - # window, squeezing it down until the operator manually moves or - # resizes the window (which forces a relayout, masking the real - # timing issue rather than fixing it). Was 1s; bumped to 2s -- - # this is a pragmatic guess, not a confirmed-sufficient bound. - time.sleep(2) + time.sleep(1) def flomnigui_stop_gui(self): self.gui.flomni.hide()