Skip to content

Make Yes the default button on the Qt macOS bugs warning dialogs - #966

Merged
eoyilmaz merged 2 commits into
developfrom
964-qt-macos-bugs-warning-dialogs-default-to-no-instead-of-yes
Jul 28, 2026
Merged

Make Yes the default button on the Qt macOS bugs warning dialogs#966
eoyilmaz merged 2 commits into
developfrom
964-qt-macos-bugs-warning-dialogs-default-to-no-instead-of-yes

Conversation

@eoyilmaz

@eoyilmaz eoyilmaz commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fixes [Qt] macOS bugs warning dialogs default to No instead of Yes #964. MainWindow._check_show_macos_bugs_warning() passed QMessageBox.No as the defaultButton for both the calibration black point correction/black level warning and the profile black point compensation warning, so No rendered as the highlighted/default button instead of Yes, the recommended action that turns the problematic setting off.
  • Changed QMessageBox.No to QMessageBox.Yes in both message_box.warning() calls.
  • Extended test_macos_bugs_cal_warning_yes_resets_controls and test_macos_bugs_profile_warning_yes_updates_profile_controls to assert the defaultButton argument passed to QMessageBox.warning() is QMessageBox.Yes, so a regression would be caught.

Test plan

  • Manually verified in the running app that both dialogs now default to Yes.
  • Automated pytest tests/test_ui_main_window.py -k macos_bugs could not be run to completion locally due to the dev machine being out of free memory/swap at the time; should be re-run in CI or once the machine has headroom.

_check_show_macos_bugs_warning() passed QMessageBox.No as the
defaultButton for both the calibration black point correction/black
level warning and the profile black point compensation warning,
so No rendered as the highlighted/default button instead of Yes,
the recommended action.
@eoyilmaz eoyilmaz linked an issue Jul 28, 2026 that may be closed by this pull request
@eoyilmaz
eoyilmaz merged commit 3a1f176 into develop Jul 28, 2026
0 of 15 checks passed
@eoyilmaz
eoyilmaz deleted the 964-qt-macos-bugs-warning-dialogs-default-to-no-instead-of-yes branch July 28, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Qt] macOS bugs warning dialogs default to No instead of Yes

1 participant