Skip to content

Organizer: Ctrl+click does not add to the selection (only Shift selects several) #290

Closed

Description

@ohlincha

9.0.0-beta.2, Linux (Debian 13, GNOME on X11). In the Organizer's tree view of calculations, Ctrl+click does not add a calculation to the selection; only Shift+click (a range) selects several.

Expected: Ctrl+click toggles one item in or out of the selection, keeping the rest; Shift+click selects a range. On macOS the same with Cmd.

Notes for whoever fixes it: the view uses the vendored wxTreeListCtrl (src/wxgui/ewxClasses/TreeListCtrl.C) with wxTR_MULTIPLE. Its mouse handler passes unselect_others = false for Ctrl, and the Shift anchor (m_shiftItem) is cleared when Shift is not held, so the control itself looks right. Check what the Organizer does on wxEVT_COMMAND_TREE_SEL_CHANGING/SEL_CHANGED (CalcMgr.C, the selection is rebuilt from p_currentSelection), whether the left tree (a separate control) is meant here, and whether GTK delivers the click with ControlDown() set. Check the right-click menu's multi-selection actions (Delete, Cut, Duplicate) once Ctrl works.

Activity

  1. ohlincha commented on Oct 12, 2026

    @ohlincha
    CollaboratorAuthor

    Checked on screen (Linux): Ctrl+click adds and removes, Shift+click selects a range. Fixed in b0617d7.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions