You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pop_editeventvals: rebuild the layout from EEGLAB's geometry #823
Linux (jamming) captures of EEGLAB and EEGPrep from the November 28 run are added below, directly visible, by the EEGPrep worker. Fix nothing here before Arno says so, unless this issue is the one test fix named in its summary.
Arno's words
Arno's feedback of November 28, 2026 on the File and Edit comparison report (EEGLAB_vs_EEGPrep_File_and_Edit.pdf, run file-edit-native-2026-11-28 in adelorme-assistant/project_eegprep/reports).
pop_editeventvals is Also, all wrong in Python while it is fine in MATLAB. Sure to reuse the MATLAB parameters when you can in terms of GUI geometry.
The geometry rows already copy EEGLAB: [2 0.5], one [1 1 1 1] row per field, then [1.2 0.6 0.6 1 0.6 0.6 1.2] ×2 and [2 1 2]. EEGPrep drops EEGLAB's single [1] spacer row before the button rows, and folds that empty cell into the first 7-column row. The likely "all wrong" sources are EEGPrep-only overrides: a hardcoded window size, margins and row spacing that EEGLAB's inputgui never sets (F16, window taller than content). Labels also differ: field buttons lack (sec)/(ms), and EEGPrep shows "Original value below" where EEGLAB shows a blank, centered original text (F19).
Copy EEGLAB's geometry exactly: add the [1] spacer row and split the 7-column rows the same way. Remove the size/content_margins/row_spacing overrides so inputgui sizes the window from content. Label latency/duration buttons latency (sec) ((ms) when epoched). Make original a blank, centered text. Then recapture with tools/visual_parity against EEGLAB. Estimated <60 lines.
Needed before implementing
Arno's go-ahead (the body says to fix nothing before he does), or confirmation that this issue is the single test fix allowed.
The Linux captures of EEGLAB and EEGPrep from the November 28 run. They are mentioned but not attached, so "all wrong" cannot be checked against the specific defects (overlap, sizing, alignment, fonts).
🤖 The event value editor now uses EEGLAB’s spacer and button rows. The field buttons show the units used for latency and duration. All captions fit, including Append event.
164 GUI, event editor and importer tests passed, with 138 subtests and six deselected MATLAB reference cases. Ruff, ty and pre-commit passed. Windows CI previously measured field-button starts at 239 and 242 px. A long custom field reproduced a 41 px offset locally. The regression now passes with both buttons at the same x and the original window width. The final Xvfb recapture matched the attached PNG and all control coordinates byte for byte. The four sample edit boxes start at x = 377 px and the 135 px Append event caption fits. A separate one-pixel Windows row-height check is tracked in #834 and its proposed fix. CI for the final branch.
Pull request #878 (dialogs laid out as EEGLAB's supergui does) was merged into develop on November 29, 2026. pop_editeventvals is not on the new layout yet; it will be moved with the Edit menu and checked in the full rerun on jamming.
At Arno's request (email of November 29, 2026), pull request #844 was closed without merging: instead of fixing the geometry on the earlier layout, pop_editeventvals will be moved to the new supergui layout merged in #878 with the Edit menu. This issue stays open until that is done and checked in the full rerun on jamming.
🤖 Pull request #885 moves pop_editeventvals to the supergui layout merged in #878, with EEGLAB's geometry and control list (empty row above Event Num, field buttons such as Latency (ms), EEGLAB's originally N line). On Linux the window is 697 x 326 pixels against 695 x 326 in MATLAB (396 high on develop). It is stacked on #884, which brings the button label rule of supergui.m. It replaces the closed #844.
Activity
claude commentedon Nov 28, 2026
🤖 Plan:
pop_editeventvals.m(develop)pop_editeventvalsResearch
The geometry rows already copy EEGLAB:
[2 0.5], one[1 1 1 1]row per field, then[1.2 0.6 0.6 1 0.6 0.6 1.2]×2 and[2 1 2]. EEGPrep drops EEGLAB's single[1]spacer row before the button rows, and folds that empty cell into the first 7-column row. The likely "all wrong" sources are EEGPrep-only overrides: a hardcoded window size, margins and row spacing that EEGLAB'sinputguinever sets (F16, window taller than content). Labels also differ: field buttons lack(sec)/(ms), and EEGPrep shows "Original value below" where EEGLAB shows a blank, centeredoriginaltext (F19).Relevant code
pop_editeventvals.py#L92-L156- uilist and geometry; missing[1]row, "Original value below"pop_editeventvals.py#L160-L170- hardcodedsize,content_margins,row_spacingpop_editeventvals.m#L515-L586- reference geometry and uilisttools/visual_parity/cases.json#L745- existing capture caseProposed Fix
Copy EEGLAB's geometry exactly: add the
[1]spacer row and split the 7-column rows the same way. Remove thesize/content_margins/row_spacingoverrides soinputguisizes the window from content. Label latency/duration buttonslatency (sec)((ms)when epoched). Makeoriginala blank, centered text. Then recapture withtools/visual_parityagainst EEGLAB. Estimated <60 lines.Needed before implementing
arnodelorme commentedon Nov 29, 2026
🤖 The event value editor now uses EEGLAB’s spacer and button rows. The field buttons show the units used for latency and duration. All captions fit, including Append event.
Pull request #844.
Editable Word report · PDF report
Verification
164 GUI, event editor and importer tests passed, with 138 subtests and six deselected MATLAB reference cases. Ruff, ty and pre-commit passed. Windows CI previously measured field-button starts at 239 and 242 px. A long custom field reproduced a 41 px offset locally. The regression now passes with both buttons at the same x and the original window width. The final Xvfb recapture matched the attached PNG and all control coordinates byte for byte. The four sample edit boxes start at x = 377 px and the 135 px Append event caption fits. A separate one-pixel Windows row-height check is tracked in #834 and its proposed fix. CI for the final branch.
— EEGPrep worker (Codex)
arnodelorme commentedon Nov 29, 2026
🤖 pop_editeventvals: keep field buttons aligned under Windows and with longer event names. #859
— EEGPrep worker (Codex)
arnodelorme commentedon Nov 29, 2026
Pull request #878 (dialogs laid out as EEGLAB's supergui does) was merged into develop on November 29, 2026. pop_editeventvals is not on the new layout yet; it will be moved with the Edit menu and checked in the full rerun on jamming.
— orchestrator
arnodelorme commentedon Nov 29, 2026
At Arno's request (email of November 29, 2026), pull request #844 was closed without merging: instead of fixing the geometry on the earlier layout, pop_editeventvals will be moved to the new supergui layout merged in #878 with the Edit menu. This issue stays open until that is done and checked in the full rerun on jamming.
— orchestrator
arnodelorme commentedon Nov 29, 2026
🤖 Pull request #885 moves pop_editeventvals to the supergui layout merged in #878, with EEGLAB's geometry and control list (empty row above Event Num, field buttons such as
Latency (ms), EEGLAB'soriginally Nline). On Linux the window is 697 x 326 pixels against 695 x 326 in MATLAB (396 high on develop). It is stacked on #884, which brings the button label rule of supergui.m. It replaces the closed #844.