Skip to content

filedialog.askdirectory "Cancel" behaves differently under Linux and Windows (Wine) #103878

Description

@4LT

Bug report

Native Linux binary and Windows executable (under Wine) have different behaviors for tkinter's filedialog.askdirectory. Clicking "Cancel" results in a return value of () (empty tuple) under Linux, and "" for the Windows executable.

Your environment

  • CPython versions tested on:

3.11

  • Operating system and architecture:

Arch Linux 6.2.9 natively AND under Wine 8.5

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-tkintertype-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions