Skip to content

Include popup padding in dropdown height - #13916

Merged
omarchybot merged 1 commit into
omacom:quattrofrom
sprajs:fix/issue-7476
Oct 29, 2026
Merged

omarchybot merged 1 commit into
omacom:quattrofrom
sprajs:fix/issue-7476

Conversation

@sprajs

@sprajs sprajs commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Dropdown popup height omits its border-dependent padding and can clip the last option. Include actual top and bottom padding outside the existing eight-row content cap, including asymmetric borders.

Validation: all 56 Qt test cases pass across border widths, option counts and row heights; 54 combinations fail on the baseline. Existing border geometry, button stability and keyboard checks pass. Live baseline/candidate layouts, pointer scrolling and keyboard scrolling were inspected. The full-suite runs reproduce baseline/environment failures also seen on clean quattro; they are not fully green. Focused regressions pass.

Fixes #7476.

@greptile-apps

greptile-apps Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium impact] The PR appears safe to merge based on the reviewed sizing change and focused regression coverage.

Summary

The PR sizes the dropdown popup by capping its row content at eight rows, then adding the actual top and bottom padding. It also adds focused Qt tests for border widths, row counts, and scrolling.

Reviews (2) · Last reviewed commit: "Include popup padding in dropdown height" · Reviewed by Greptile

@omarchybot omarchybot added bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review labels Oct 1, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Reviewed at 3aa9a5c, and the fix holds: nothing found to change.

Reproduced on a disposable Omarchy worker with a separate qmltest of our own, written against the real Dropdown.qml, Border.qml and BorderSurface.qml. With two options on current quattro, the list gets 58px for 60px of rows (56px with a 2px popup border), so the last row is clipped and the list scrolls. On this head it gets exactly 60px at both widths, and with only the Dropdown.qml change reverted it fails again. Your dropdown-test.sh behaves the same way: 56 of 56 pass on the head, and 54 fail with the fix reverted.

Suites on the worker, run against this branch merged into current quattro: ./test/cli is green. ./test/shell has 7 failures, and quattro on its own also has 7. They are in background, logo-animation, browser-launcher and packaging tests, and none of them involve the dropdown. border-geometry, button-border-stability and panel-key-catcher pass on their own.

Second opinion: Codex Medium also reviewed it and found no defects. It agreed the sizing is right for 0, 1, 8 and more than 8 options and for asymmetric borders, with no binding loop. Its independence from this review isn't guaranteed. It noted that the test fixture is larger than the three-line fix but tests behaviour a formula check would miss. I agree, and think it is proportionate.

Labelled verified. Not yet ready, because the full shell suite isn't green on quattro itself. Waiting on the maintainer.

@sprajs

sprajs commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

Rechecked 3aa9a5c1105b1f09a6e68e5dca16b8119667e5db against the current discussion. The dropdown runtime test passes all 56 Qt cases, including asymmetric borders, the eight-row cap and keyboard scrolling. The border geometry, button stability and panel key-catcher checks also pass. I found no new issue in the sizing change. This is focused local validation; it does not establish a green aggregate suite or replace the maintainer's readiness decision.

@greptileai please re-review 3aa9a5c1105b1f09a6e68e5dca16b8119667e5db and rescore.

@omarchybot
omarchybot merged commit 431a008 into omacom:quattro Oct 29, 2026
1 check passed
@emirb emirb added this to the 4.5 milestone Nov 5, 2026
berenddeboer pushed a commit to berenddeboer/omarchy that referenced this pull request Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ui/Dropdown: popup implicitHeight omits its own padding, so the last option is clipped

3 participants