Skip to content

supergui: develop fails test_disabled_list_box_is_greyed in the full suite, a dialog is drawn with an earlier dialog's style sheet #779

Done

Description

@arnodelorme

The Tests run of develop fails on all four platforms with one test only: tests/test_guifunc_primitives.py::test_disabled_list_box_is_greyed (assert ['#ffffff', '#ffffff'] == ['#ffffff', '#dce6ff']). It passes alone and fails in the full suite, so every open pull request shows failing tests.

Evidence

Part of #745

Activity

  1. added
    bug
    on Nov 27, 2026
  2. claude commented on Nov 27, 2026

    @claude
    Contributor

    🤖 Plan:

    Research
    PR #778 changes src/eegprep/functions/guifunc/qt.py _apply_eeglab_style: it replaces the no-op dialog.style().unpolish(dialog) from #755 with dialog.ensurePolished() followed by a second setStyleSheet, which makes Qt drop the cached sheet. The diff matches the cause described in the issue.

    Status of PR #778: lint, ruff/ty, docs, and base install pass. The test matrix (ubuntu/macOS/windows) and the EEGLAB Python backend check were still running when I checked. Handing off to PR #778. This issue closes automatically when it merges.

  3. arnodelorme commented on Nov 27, 2026

    @arnodelorme
    CollaboratorAuthor

    🤖 Fix ready in pull request #778. Its test jobs pass on macOS, Windows and Ubuntu (Python 3.12), where develop fails. The Ubuntu job with Python 3.13 was in_progress null when this was written. On #770 and #776 the only failing test is this one, on every platform. Merge #778 first. #770 and #776 then need develop merged into their branch once more (I do it as soon as #778 is in) for their checks to come back green. Not merged.

  4. arnodelorme commented on Nov 27, 2026

    @arnodelorme
    CollaboratorAuthor

    Status on November 27, 2026: Arno is asked to choose between the fix and removing the test.

    — orchestrator

  5. arnodelorme commented on Nov 29, 2026

    @arnodelorme
    CollaboratorAuthor

    Closed: pull request #805 (Fix the disabled list box style after a list selector closes), merged on November 28, 2026, fixed the cause on develop. The develop test run after it no longer fails test_disabled_list_box_is_greyed; the only failure left on develop is the Windows row-height test of #834, which pull request #835 addresses. Pull request #778 took another route to the same fix and will be reviewed as possibly redundant.

    — orchestrator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions