Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Remove a non-ascii file extension from QFileDialog filter #22270

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

mrclary
Copy link
Contributor

@mrclary mrclary commented Jul 19, 2024

Description of Changes

A non-ascii character in the list of file extensions appears to cause issues for the QFileDialog filter on macOS. This may be a bug in PyQt. Nevertheless, removing the offending extension resolves the issue.

Before save as

Screenshot 2024-07-18 at 5 31 41 PM

Before open

Screenshot 2024-07-18 at 10 48 34 PM

After save as

Screenshot 2024-07-18 at 10 37 37 PM

After open

Screenshot 2024-07-18 at 10 38 07 PM

Issue(s) Resolved

Fixes #22248

@mrclary mrclary self-assigned this Jul 19, 2024
@mrclary mrclary requested review from ccordoba12 and dalthviz July 19, 2024 05:52
@ccordoba12 ccordoba12 added this to the v5.5.6 milestone Jul 22, 2024
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mrclary for your help with this!

Small question for you, otherwise looks good to me.

spyder/plugins/editor/plugin.py Outdated Show resolved Hide resolved
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me now, thanks @mrclary!

Copy link
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mrclary ! Gave this a check over my macOS setup and seems like things are working as expected 👍

Left a single comment pointing some info about the non-ascii file extension possible source (mojo language).

Anyhow, this LGTM!

spyder/config/utils.py Show resolved Hide resolved
@dalthviz dalthviz merged commit 5c23422 into spyder-ide:5.x Jul 22, 2024
23 checks passed
dalthviz added a commit that referenced this pull request Jul 22, 2024
@mrclary mrclary deleted the saveas branch July 24, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants