PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

Visual Studio 2022 UI problem on menu for Python Project

Open vsfeedback opened this issue 8 months ago • 2 comments

This issue has been moved from a ticket on Developer Community.


Visual Studio 2022 Version 17.13.6

Step 1.
Create a Python Application.

Step 2.
Focus the item of project in Solution Explorer.

Step 3.
Click "PROJECT" button on menu, and the “Properties” button display “4294967294 Properties”.
image.png


Original Comments

Feedback Bot on 4/16/2025, 11:15 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

vsfeedback avatar May 07 '25 19:05 vsfeedback

Here's the missing image

Image

gramster avatar May 22 '25 23:05 gramster

Thanks for reporting the issue. When Visual Studio builds the Project menu, it asks each project for the text to display for the "Properties" menu item. The PythonProjectNode class wasn't handling this request, so Visual Studio was displaying a default/error value (4294967294 = 0xFFFFFFFE in hex, which is -2 as an unsigned integer). I think this can be fixed by overriding the QueryStatusOnNode method in PythonProjectNode.cs to handle the properties command.

StellaHuang95 avatar May 30 '25 22:05 StellaHuang95