Skip to content

pop_editoptions (File > Preferences): graphical parity with EEGLAB #741

Backlog
2 of 2 issues completed
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_editoptions, File menu: Preferences. It stays open until the window and the numbers are both acceptably close to EEGLAB's, even when a pull request is merged or closed.

Graphics

The Preferences window (issue 709): EEGLAB, EEGPrep before, EEGPrep after.

709

Captured on jamming under a virtual screen (EEGLAB with getframe, EEGPrep with the Qt widget grab), and on the Mac where said.

The window: what differs from EEGLAB
  • Ten options with no meaning in Python are removed, and the header of the function says why for each (rule 12).
  • The list sits on the blue background (rule 10). The change is in the shared code, so the two other scrolling dialogs are blue too.
  • The sentence on disabled preferences now reads: The greyed options have no effect in EEGPrep yet.
  • Six options are shown greyed. Five are stored but not connected to anything yet: MATLAB v6.5 file format, precompute ICA activations, remember the previous folder, check for new versions at startup, STUDY cache size. The sixth, the MATLAB toolbox option, has no meaning without MATLAB. Arno, November 26: "Remove the toolbox. But actually keep the MATLAB 6.5 format and ungrey it. Should be functional." The four others stay greyed.
  • Two-file datasets still load, and a script can still set the option (rule 24).
The numbers: same file in both programs
  • None: the window only stores options.
Files

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

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

    @claude
    Contributor

    🤖 Plan:

    Research

    What's left in this issue is three items. They overlap #719 or need a decision before anyone can code them, so a parallel PR would conflict with #719.

    1. Grey panel. This is a shared-renderer bug, not specific to pop_editoptions. _apply_eeglab_style sets EEGLAB_BACKGROUND only on QDialog. When spec.scrollable is set, the controls sit in a QScrollArea. Its viewport and content widget keep the default palette, so they show grey. The same bug affects pop_studywizard and bids_tools, which also use scrollable=True.
    2. Sentence. "Disabled preferences are not supported in EEGPrep; see Help for details." is set at pop_editoptions.py L150 on the [GUI] Remove options with no meaning in Python from Preferences #719 branch. The issue doesn't give the new wording.
    3. Greyed options. These are option_saveversion6 and option_donotusetoolboxes. Arno decides whether they stay.

    Relevant code

    Proposed Fix

    Panel: add the rule below to the base stylesheet in _apply_eeglab_style. Then check pop_editoptions, pop_studywizard, and the BIDS dialog against EEGLAB using the visual-parity loop.

    QScrollArea#content_scroll, QScrollArea#content_scroll > QWidget > QWidget { background: transparent; }

    This is a small change, but it alters three dialogs. It should be its own [GUI] PR after #719 merges, with captures. I couldn't run Python or Qt in this automation run, so I didn't open an untested PR.

    Sentence: suggested wording is "Greyed-out options have no effect in EEGPrep (see Help)." Please confirm or give the exact text. It can go into #719 or a follow-up PR.

    Greyed options: waiting for Arno. If they go, move them into the "removed" list in #719's header and help page, the same way as the other ten.

  3. arnodelorme commented on Nov 27, 2026

    @arnodelorme
    CollaboratorAuthor

    Arno's answer (email of November 26, 2026): "Remove the toolbox. But actually keep the MATLAB 6.5 format and ungrey it. Should be functional."

    • Toolbox option: "Do not use additional MATLAB toolboxes" (option_donotusetoolboxes) leaves the window, with its line in the header of the function saying why (rule 12).
    • MATLAB v6.5 format: "Write files in MATLAB v6.5 format" (option_saveversion6) stays, is no longer greyed, and must do something: pop_saveset follows it as EEGLAB's pop_saveset.m does (v6.5 format when checked, v7.3 when unchecked; check EEGLAB's code for the exact rule). A file saved either way must load again in EEGPrep and in EEGLAB, and a test saves and reloads one dataset in both formats.
    • The other greyed options (precompute ICA activations, remember the previous folder, check for new versions at startup, STUDY cache size) were not in his answer: they stay as they are until he says.
    • One sub-issue and one small pull request, which says whether it sits on top of [GUI] Remove options with no meaning in Python from Preferences #719.

    — orchestrator

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

    function-parity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions