vscode-cmake-tools icon indicating copy to clipboard operation
vscode-cmake-tools copied to clipboard

[Bug][Regression] Incomplete display of items in CMake pin command drop-down list

Open Amy-Li03 opened this issue 1 year ago • 4 comments

Brief Issue Summary

Environment:

VS Code 1.99.2+ CMake Tools v1.21.14 (pre-release)

More info:

  1. Repro on Windows, Linux, Mac
  2. This is not repro on v1.21.12 and starts repro from v1.21.13 to latest v1.21.14, so it's a regression issue

Repro steps:

  1. Unzip the project and open it with VS Code test_project.zip
  2. Open the command palette (F1 or Ctrl+Shift+P)
  3. Enter and select the command 'CMake: Configure'
  4. Select "Custom configure preset 1"
  5. Click the CMake icon in the navigation bar
  6. In the PINNED COMMANDS window click on the "+"

Expected Result:

The drop-down list for CMake command to pin should be display correctly Image

Actual Result:

The drop-down list for CMake command to pin displayed incompletely Image

CMake Tools Diagnostics

N/A

Debug Log

N/A

Additional Information

No response

Amy-Li03 avatar Apr 15 '25 08:04 Amy-Li03

I was not able to reproduce this, if you reset the state of the extension, does this reproduce?

gcampbell-msft avatar Apr 17 '25 11:04 gcampbell-msft

Hi @gcampbell-msft, verified this on latest CMake Tools v1.21.16(pre-release), after running command CMake: Reset CMake Tools Extension State, we still can repro this issue, please see the following video. Image

Amy-Li03 avatar Apr 18 '25 01:04 Amy-Li03

I'm having the same/similar bug, ours goes 1 step further and sometimes creates a graphical glitch if you then try to scroll wheel through it leaving all shorts of text artifacts making the list unreadable until you close and reopen the command list.

Image

VS Code 1.101.0-insider+ CMake Tools v1.21.29 (pre-release)

rvarone avatar Jun 10 '25 06:06 rvarone

@rvarone thanks for the update, I had the same phenomenon as you when trying to scroll the wheel.

Amy-Li03 avatar Jun 11 '25 01:06 Amy-Li03

I found that this issue only repro when using the English language, and it doesn't repro with any of the other 13 localized languages.

Amy-Li03 avatar Jun 18 '25 09:06 Amy-Li03

Verified this on VS Code 1.101.2 & CMake Tools 1.21.33(pre-release), this issue has been fixed.

Image

yanghhhhhhh avatar Jun 27 '25 06:06 yanghhhhhhh