Skip to content

IDLE - same menubar across application #69220

Open

Description

@roseman
mannequin
BPO 25032
Nosy @terryjreedy, @kbkaiser, @serwy, @roseman

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/terryjreedy'
closed_at = None
created_at = <Date 2015-09-08.17:22:33.304>
labels = ['expert-IDLE', 'type-feature', '3.10']
title = 'IDLE - same menubar across application'
updated_at = <Date 2020-06-07.22:06:49.636>
user = 'https://github.com/roseman'

bugs.python.org fields:

activity = <Date 2020-06-07.22:06:49.636>
actor = 'terry.reedy'
assignee = 'terry.reedy'
closed = False
closed_date = None
closer = None
components = ['IDLE']
creation = <Date 2015-09-08.17:22:33.304>
creator = 'markroseman'
dependencies = []
files = []
hgrepos = []
issue_num = 25032
keywords = []
message_count = 2.0
messages = ['250242', '296676']
nosy_count = 4.0
nosy_names = ['terry.reedy', 'kbk', 'roger.serwy', 'markroseman']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue25032'
versions = ['Python 3.10']

Activity

  1. roseman commented on Sep 8, 2015

    rosemanmannequin
    MannequinAuthor

    Right now the menubar is slightly different for the shell (has Debug) and the editor windows (has Format and Run). I'd like to suggest the same menubar be used for all windows.

    Rationale:

    1. Easier to use, especially for systems that share a single menubar visually across the top of screen.

    2. Later on we'll likely have situations where shell and one or more editors are part of the same toplevel window.

    Implementation Notes:

    1. Tk lets you reuse the same menubar across multiple toplevel windows (it actually creates a 'clone' every time it gets attached to the window).

    2. This will simplify code e.g. for managing help and windows menus, which now have to do the same thing for multiple menubars.

    3. Using tabbed windows, while it's possible to swap the menubar on the fly as you swap windows, it's not necessarily desirable to do so.

    4. I've mocked up a system for menu validation/dispatch that will simplify how menu commands are handled now depending on what window is in front, and makes it easier to ensure the right things are enabled/disabled based on context.

  2. terryjreedy commented on Jun 23, 2017

    @terryjreedy
    Member

    I agree. Better to gray-out inactive items. I believe bar is already somewhat shared on mac. We are working on other changes needed to use tabbed notebooks.

  3. self-assigned this
    on Jun 23, 2017
  4. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions