Backlog
Labels
gui-parityWindow of EEGPrep against EEGLAB's (Arno's report comments)laterParked until Arno removes the label
Description
EEGPrep checks each EEGLAB function on its own, in one issue, for both the window and the numbers (Arno, November 26, 2026). This issue is pop_selectevent, the Edit menu item "Select epochs or events", from the Edit menu report of November 26, 2026 (EEGPrep develop df89e80 against EEGLAB develop 16cc13212, jamming under Xvfb).
- Where it stands: compared with EEGLAB, the window has different controls, wording or defaults; 5 findings of the Edit menu report to settle.
- Numerical tests: N16 to N22: all 7 identical.
- Report and pull request: the Edit menu report issue EEGPrep versus EEGLAB, Edit menu: side-by-side captures on jamming, numerical tests and PDF and Word report #711, no pull request yet for this function; the findings summary is EEGPrep versus EEGLAB, Edit menu: side-by-side captures on jamming, numerical tests and PDF and Word report #711 (comment)
- Progress tracking: in
adelorme-assistant/project_eegprep, not here: https://github.com/adelorme-assistant/project_eegprep/blob/main/tracking/functions.md - Next step: waits for Arno's comments on the Edit menu Word file; the Edit menu is parked (
later) while he works on the File menu.
Findings of the report for this function
- F15: Edit boxes and checkboxes do not line up vertically (rule 9 of the GUI rules).
- F16: The window is taller than its content, and the text of the edit boxes is left aligned (rule 7).
- F18: A ticked checkbox is drawn as a tick with no box. To check on the Mac.
- F20: Field buttons show the field name, not its description.
- F24: History: no
eeg_storeline after an edit in place,pop_newsetshown or not, and EEGLAB writes invalid lines on Ok with nothing typed.
F15, F16, F18, F21 and F24 are shared by several windows: fix them here only for this function's window, under the GUI rules of project_eegprep (rules/gui-parity.md).
Files
- Report (PDF and Word): https://github.com/adelorme-assistant/project_eegprep/tree/main/reports/edit-menu-2026-11-26
- Edit menu issue: EEGPrep versus EEGLAB, Edit menu: side-by-side captures on jamming, numerical tests and PDF and Word report #711
- Captures and numerical outputs:
/mnt/v1/arno/menu_tests/editon jamming.ucsd.edu (numerical/results.mdlists every quantity).
Metadata
Metadata
Assignees
Labels
gui-parityWindow of EEGPrep against EEGLAB's (Arno's report comments)laterParked until Arno removes the label
Activity
claude commentedon Nov 27, 2026
🤖 Plan:
laterand says it waits for Arno's comments on the Edit menu Word file. It also covers 5 GUI findings, 4 of them shared with other windows, so it is larger than a small fix. No PR opened.Research
N16–N22 numerical tests already match, so only the dialog and history need work. The dialog is built in
pop_selectevent_dialog_spec, which uses per-row geometry weights that differ by field type. That is why the edit and checkbox columns do not line up (F15). It also sets a fixed window size (F16). The history command is built withouteeg_store/pop_newsethandling (F24).Relevant code
pop_selectevent.py#L101-L150: per-row geometry, different weights for latency/duration, type, and other fields (F15)pop_selectevent.py#L208-L210:size=(960, max(500, 210 + 34*n))gives a window taller than its content (F16)pop_selectevent.py#L217-L227: help button labeled withfield, and the description only appears in its popup (F20)pop_selectevent.py#L32-L66:_history_commandreturns a bare command; Ok with nothing typed still builds options (F24)src/eegprep/functions/guifunc/, not from this module.Proposed Approach (for review, not implemented)
EEG.eventdescriptionhas one, and fall back to the field name, as EEGLAB does.eeg_store/pop_newsetlines belong in the menu callback (EEGPrepSession) rather thanpop_selectevent.Open questions: F18 Mac check result. F24 history choice. Whether renderer-level fixes (F16 alignment, F18) may be global or must be scoped per window.
suraj-ranganath commentedon Nov 28, 2026
On develop (
aa81d9ab), loadeeglab_data_epochs_ica.set, open Edit > Select epochs or events, enter typertand position1, then click Ok. The confirmation offers only Cancel. The same selection from the console returns 38 epochs and 76 events.EEGLAB passes Cancel, Ok and a third argument naming Ok as the default. EEGPrep passes two arguments, so Ok becomes the default and disappears from the choices. Pass both choices and the default. Accepting should produce the same 38 epochs and 76 events and record the selection once. Cancel and closing the window should keep all 80 epochs, 157 events and the original history. This stays with the parked Edit work in #711. pop_selectevent.m L533 · questdlg2.m L77 · pop_selectevent.py L230