Revert "fix(flomni): increase flomni GUI window settle delay after creation (experiment)"
CI for csaxs_bec / test (push) Successful in 2m15s
CI for csaxs_bec / test (push) Successful in 2m15s
This reverts commit 631bdedb6c.
This commit is contained in:
1 parent
631bdedb6c
commit
903e465701
1 file changed
+1
-11
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user