Skip to content

pop_adjustevents (Edit > Adjust event latencies): graphical and numerical parity with EEGLAB #726

Backlog

Description

@arnodelorme

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_adjustevents, the Edit menu item "Adjust event latencies", from the Edit menu report of November 26, 2026 (EEGPrep develop df89e80 against EEGLAB develop 16cc13212, jamming under Xvfb).

Findings of the report for this function
  • F8: With an empty event box EEGLAB does nothing ("Not enough parameters selected") although the label says "all by default", EEGPrep shifts all events. EEGLAB has no Help button. The fix may be on the MATLAB side.
  • F16: The window is taller than its content, and the text of the edit boxes is left aligned (rule 7).

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

Activity

  1. added
    later
    gui-parity
    on Nov 27, 2026
  2. claude commented on Nov 27, 2026

    @claude
    Contributor

    🤖 Plan:

    • Read issue, AGENTS.md, fix-issue and pull-request skills
    • Locate code; duplicate-work preflight (no open PRs for pop_adjustevents)
    • Implementation: on hold, no PR opened. The issue is labeled later and its stated next step is to wait for Arno's comments on the Edit menu Word file. F8 also needs a parity decision before anyone writes code.

    Research

    With an empty event box, EEGPrep's GUI path passes eventtypes="" → _normalize_eventtypes returns [] → _event_indices selects all events. That matches the label "all by default", but EEGLAB stops with "Not enough parameters selected". F16 (window too tall, edit text left aligned) comes from the hard-coded dialog size and margins.

    Relevant code

    Information needed before a PR

    1. F8: Should EEGPrep match EEGLAB and refuse an empty event box, or keep shifting all events as the label says? The issue says the fix may belong in EEGLAB instead.
    2. Help button: EEGLAB has none. Should EEGPrep remove it for parity, or keep it as a standalone improvement?
    3. F16: What target window height and edit-box alignment do the project_eegprep rules/gui-parity.md (rule 7) specify? That file is not in this repo.

    Once Arno answers and the later label is removed, this is a small change of fewer than about 30 lines.

  3. arnodelorme commented on Dec 1, 2026

    @arnodelorme
    CollaboratorAuthor

    🤖 The new Linux comparison, captures and verified GUI fix are in #899 and PR #898.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gui-paritylater

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions