Skip to content

Commit fd71c14

Browse files
committed
Hide start_minimized option on macOS
1 parent e2938fc commit fd71c14

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

plover/gui_qt/config_window.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,14 @@ def __init__(self, engine):
596596
keyboard_layout_option.label.hide()
597597
keyboard_layout_option.widget.hide()
598598

599+
# temporary hiding start_minimized setting on macOS due to bug in
600+
# macOS 26, see https://github.com/openstenoproject/plover/issues/1782
601+
if PLATFORM == "mac":
602+
start_minimized_option = option_by_name.get("start_minimized")
603+
if start_minimized_option is not None:
604+
start_minimized_option.label.hide()
605+
start_minimized_option.widget.hide()
606+
599607
# Update dependents.
600608
for option in option_by_name.values():
601609
option.dependents = [

plover/gui_qt/main_window.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,14 @@ def __init__(self, engine, use_qt_notifications):
149149
self._warn_on_hide_to_tray = not config["start_minimized"]
150150
self._update_machine(config["machine_type"])
151151
self._configured = False
152-
self.set_visible(not config["start_minimized"])
152+
153+
# temporary ignoring start_minimized setting on macOS due to bug in
154+
# macOS 26, see https://github.com/openstenoproject/plover/issues/1782
155+
if PLATFORM == "mac":
156+
self.set_visible(True)
157+
else:
158+
self.set_visible(not config["start_minimized"])
159+
153160
# Process events before starting the engine
154161
# (to avoid display lag at window creation).
155162
QCoreApplication.processEvents()

0 commit comments

Comments
 (0)