Repository navigation
Conversation
|
I ran into the Survey × bug independently and can confirm it still happens on current The conflicts look mechanical (the tests moved to headless/tests.rs, the filmstrip code was reworked); happy to help rebase it if you don't have time. |
FredApps
left a comment
There was a problem hiding this comment.
ReviewerA — source-read COMMENT (not an approval)
I read the head of the diff: a headless UI test, survey_thumbnail_clicks_add_and_activate_without_losing_the_group, selects a photo through the engine, clicks the Survey icon through ui.clickWidget and checks that thumbnails in Survey can be added and activated without the group being lost (the PR title also says that photo removal is made reliably clickable). The test uses the same control commands as an agent would, which is a good way to test the UI. The code change that makes it pass is in files I did not see, so I could read only the proof. Lightroom's Survey mode is the oracle for the behaviour. A test with a 10-second request timeout can be flaky on a slow runner. I have not run it, and no exact-head CI result exists for this head. Nothing was run.
I ran nothing and have no exact-head CI result for this PR, so this is not an approval. Where a diff was long I read its code hunks rather than every generated or documentation line.
Status: waiting_author.
|
Hi @SarimSyed. Since this has been waiting a few weeks and #3614 reports the × bug again, I opened #3715 with only the × hit-test fix, rebased on current |
…ter is on it The × was drawn only while the tile was hovered; the pointer on the × took that hover, so the × vanished before the click landed. It now shows while the pointer is in the tile. Root cause and fix idea from #1639. Co-Authored-By: SarimSyed <a.sarimsyed@gmail.com>
Sources: upstream PR emmertex#1639 read as a reference; the close-button half is already in the fork. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…#3332 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
wanikhawar
left a comment
There was a problem hiding this comment.
Conflicts with main, please rebase. The change itself reads correctly.
|
The × fix and its test landed separately in #3715 (and #3563), so please drop the |
Plain filmstrip clicks in Survey replaced the selection, collapsing the group to one photo. The close button also disappeared from hit-testing when the pointer moved onto it, so clicking it could leave the photo selected.
Use additive selection for plain Survey thumbnail clicks; revisiting a selected photo only activates it. Preserve Cmd/Ctrl-toggle and Shift-range behavior. Keep the close control present while the pointer is anywhere in its tile, and give that existing control an accessibility label and control-channel ID.
Two public headless UI regressions reproduced the failures before their respective fixes and now pass. They verify the displayed group, activation, modifier clicks and removal using actual pointer events. This does not duplicate #747/#1454's Compare-specific behavior or #818's touch-layout work.
Validation:
cargo xtask cipasses fmt, Clippy and HEIF, then stops at upstream's pre-existing all-mask overlay test onb3d392b4(Test failure on main: all_masks_overlay_shows_every_visible_mask_at_once paints the left mask black #1457; existing fix PRs Visualize: the all-masks overlay shows the union of the masks, not the last one #1456/Add coverage tests for the AllMasks union fix (#1457) #1494/Fix all-masks overlay CI regression and cover every view #1599).Only three UI code/test files; no documentation, translations, branding or unrelated fork features.