Skip to content

IDLE: support Command-click on window title on macOS #88516

Closed

Description

@aivarannamaa
BPO 44350
Nosy @terryjreedy, @ronaldoussoren, @ned-deily, @aivarannamaa

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 2021-06-08.18:13:50.362>
labels = ['OS-mac', 'expert-IDLE', '3.11']
title = 'IDLE: support Command-click on window title on macOS'
updated_at = <Date 2021-06-08.21:25:08.906>
user = 'https://github.com/aivarannamaa'

bugs.python.org fields:

activity = <Date 2021-06-08.21:25:08.906>
actor = 'terry.reedy'
assignee = 'terry.reedy'
closed = False
closed_date = None
closer = None
components = ['IDLE', 'macOS']
creation = <Date 2021-06-08.18:13:50.362>
creator = 'Aivar.Annamaa'
dependencies = []
files = []
hgrepos = []
issue_num = 44350
keywords = []
message_count = 3.0
messages = ['395348', '395349', '395363']
nosy_count = 4.0
nosy_names = ['terry.reedy', 'ronaldoussoren', 'ned.deily', 'Aivar.Annamaa']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue44350'
versions = ['Python 3.11']

Linked PRs

Activity

  1. aivarannamaa commented on Jun 8, 2021

    aivarannamaamannequin
    MannequinAuthor

    Many macOS apps show location info about current document on command-clicking on window title.

    I just found out how to do it in Tkinter, so I wanted to share it in case someone wants to add it for IDLE: https://sourceforge.net/p/tcl/mailman/tcl-mac/thread/CAEbkakfc%2B5hUGMyWpjGF2DO7dWOX-3AyR8UOjGfbP8djWWtG-A%40mail.gmail.com/#msg37298382

  2. changed the title [-]Support[/-] [+]Support Command-click on window title on macOS[/+] on Jun 8, 2021
  3. changed the title [-]Support[/-] [+]Support Command-click on window title on macOS[/+] on Jun 8, 2021
  4. aivarannamaa commented on Jun 8, 2021

    aivarannamaamannequin
    MannequinAuthor

    In short:

    window.wm_attributes("-titlepath", stringContainingTheAbsolutePathOfTheDocument)

    Passing empty string as the second argument turned the feature off.

  5. changed the title [-]Support Command-click on window title on macOS[/-] [+]Make IDLE support Command-click on window title on macOS[/+] on Jun 8, 2021
  6. changed the title [-]Support Command-click on window title on macOS[/-] [+]Make IDLE support Command-click on window title on macOS[/+] on Jun 8, 2021
  7. changed the title [-]Make IDLE support Command-click on window title on macOS[/-] [+]IDLE: support Command-click on window title on macOS[/+] on Jun 8, 2021
  8. 13 remaining items

  9. added
    type-featureA feature request or enhancement
    and removed
    type-bugAn unexpected behavior, bug, or error
    on Dec 27, 2023
  10. terryjreedy commented on Feb 3, 2024

    @terryjreedy
    Member

    To be clearer than I was before, I support adding mac specific things, but I am opposed to removing cross-platform features when that makes IDLE on mac harder to use by a non-Mac user, such as me.

    My memory of looking at file-proxy icons on other Mac Catalina apps is that there was hardly consistent behavior, but TextEdit and Script Editor both show the path components after control- or command-click. The problem is discoverability. The IDLE doc should gain an IDLE on Mac section, or maybe 'OS Differences'.

    Save state: Neither TextEdit nor Script Editor put a dot in the upper left red close circle. Both add -- edited to the (short) filename. A little black dot does not seem standard, and it might be hard to see, and would not be visible to non-Mac users. Add it but please leave *s.

  11. ronaldoussoren commented on Feb 10, 2024

    @ronaldoussoren
    Contributor

    To be clearer than I was before, I support adding mac specific things, but I am opposed to removing cross-platform features when that makes IDLE on mac harder to use by a non-Mac user, such as me.

    My memory of looking at file-proxy icons on other Mac Catalina apps is that there was hardly consistent behavior, but TextEdit and Script Editor both show the path components after control- or command-click. The problem is discoverability. The IDLE doc should gain an IDLE on Mac section, or maybe 'OS Differences'.

    Save state: Neither TextEdit nor Script Editor put a dot in the upper left red close circle. Both add -- edited to the (short) filename. A little black dot does not seem standard, and it might be hard to see, and would not be visible to non-Mac users. Add it but please leave *s.

    I've reverted that part of the change, I agree that keeping them is nicer for cross platform consistency.

    Long term it might be nicer to look into using some other way to indicate change (such as one of the unicode bullet characters like ●, possibly with a different colour), but that's for a different issue and would require cross platform testing.

  12. added a commit that references this issue on Feb 23, 2024
  13. added 2 commits that reference this issue on Feb 23, 2024
  14. added 2 commits that reference this issue on Feb 23, 2024
  15. added a commit that references this issue on Feb 23, 2024
  16. added a commit that references this issue on Mar 4, 2024
  17. added a commit that references this issue on Apr 17, 2024
  18. added a commit that references this issue on Jan 22, 2025
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