Skip to content

test: test_dock_proportions finds the docks equal after a resize in the asan job #3366

Closed

Description

@vpacher

What happens

narrow_then_wide_keeps_shares fails at test/cmocka/test_dock_proportions.cpp:104 in the asan job. It fails once when run alone, and in up to 6 cases (:104 and :244) with other tests running. It passes in Tier 2:

after: 315 315 316 315 315
dock 0: 44.9% of the row before, 19.9% after

After the narrow-then-wide resize all five docks are the same width. So the layout was not just slow to settle: the shares were reset. The asan job runs each test on its own Xvfb with no window manager ("This plugin does not support propagateSizeHints()").

What to do

Find why the shares reset there:

  • a real bug, where the dock code loses the shares when the window is resized without a window manager: fix it;
  • or a test that reads the widths before Qt finished the resize: wait for the resize to land, not a fixed number of event-loop passes.

The test must pass in the asan job on its own and with other tests running. Then drop its entry from the sanitizer harness's known list (rust/tools/sanitize/triage.py, kind flaky, #3290).

Activity

  1. added
    bug
    P3
    size:S
    on Nov 1, 2026
  2. vpacher commented on Nov 1, 2026

    @vpacher
    MemberAuthor

    /ready

  3. added
    ready
    on Nov 1, 2026
  4. vpacher commented on Nov 1, 2026

    @vpacher
    MemberAuthor

    Claiming: why the docks come back equal after a resize

    Plan (one PR, after #3290):

    1. Find whether the dock code resets the shares without a window manager (a bug) or the test reads before the resize landed.
    2. RED/GREEN for that cause; the test passes in the asan job alone and with other tests running.
    3. Drop its flaky entry from the known list.

    First PR: after #3290 merges.

  5. vpacher commented on Nov 1, 2026

    @vpacher
    MemberAuthor

    Blocked: waiting on #3290

  6. added
    claim-blocked
    on Nov 1, 2026
  7. removed
    claim-blocked
    on Nov 1, 2026
  8. moved this from Blocked to In progress in obs-rust Multiviewon Nov 1, 2026
  9. moved this from In progress to Done in obs-rust Multiviewon Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3bugreadysize:S

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions