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

Missing spyder_light.ico icon in Windows' menuitem (reset Spyder settings) #146

Open
1 task done
bkreider opened this issue Aug 24, 2023 · 2 comments
Open
1 task done
Labels

Comments

@bkreider
Copy link
Contributor

bkreider commented Aug 24, 2023

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

The menuitem for "Reset Spyder Settings" is missing on windows, because the icon is never included in the bld.bat.

Screen Shot 2023-08-24 at 6 22 34 PM

I would update the bld.bat with this:

copy %SRC_DIR%\img_src\spyder_reset.ico %MENU_DIR%\

And the menu_windows.json: https://github.com/conda-forge/spyder-feedstock/blob/main/recipe/menu-windows.json#L15

{
    "menu_name": "${DISTRIBUTION_NAME}",
    "menu_items":
    [
        {
            "name": "Spyder",
            "pywscript": "${PYTHON_SCRIPTS}/spyder-script.py",
            "workdir": "${PERSONALDIR}/Python Scripts",
            "icon": "${PYTHON_SCRIPTS}/spyder.ico"
        },
        {
            "name": "Reset Spyder Settings",
            "pyscript": "${PYTHON_SCRIPTS}/spyder-script.py --reset",
            "workdir": "${USERPROFILE}",
            "icon": "${PYTHON_SCRIPTS}/spyder_light.ico" <<<<<<<<<<<<<<<<<<<
        }
    ]
}

Change this to spyder_reset.ico which is what the file was renamed to.

Cheers.

Installed packages

n/a

Environment info

n/a
@bkreider bkreider added the bug label Aug 24, 2023
@dalthviz
Copy link
Member

Hi @bkreider thank you for the feedback! Indeed seems like a bug! The proposed solution makes sense to me 👍 but just in case, what do you think @ccordoba12 ?

@ccordoba12
Copy link
Contributor

ccordoba12 commented Aug 30, 2023

Yep, I agree that we need to replace that icon name. Thanks for bringing this up to our attention @bkreider!

However, spyder_reset.ico is using our old icon and not the new one. Since we don't have a new special icon for resetting (we'll see if we can come up with one in the coming months), for now let's use spyder.ico for that menu entry too.

@dalthviz, please do that change in PR #147.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants