sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: [RFC] Disable CMake find_library(libm) on Windows, and solve libm conflict to MSVC runtime lib(ucrt.lib).
Labels: module: build,module: windows,triaged

### 🚀 The feature, motivation and pitch

Original issue is https://github.com/pytorch/pytorch/issues/134989 
After debug work, I found that `libm` is not should exist on Windows. On Windows, Microsoft already provided math libraries in its runtime library. If we called find_library(libm) from CMake file on Windows, it should occurred `libm` math functions conflict to MSVC runtime lib(ucrt.lib).

### Solution:
Currently, I debugged and found `XNNPACK` and `sleef` called  find_library(libm) from their CMake files. So I submit PRs to them to add CMake build option to turn off find_library(libm).

**XNNPACK:**
1. I submitted PR to add build option to disable `libm`: https://github.com/google/XNNPACK/pull/7456, and it was accepted and merged.
2. I occurred some build issue on `static_assert`: https://github.com/google/XNNPACK/issues/7534, I worked with Google engineers and fixed it now: https://github.com/google/XNNPACK/issues/7534#issuecomment-2513677937 
3. We have a PyTorch PR to update `XNNPACK` and turn off `libm` on Windows: https://github.com/pytorch/pytorch/pull/141943

**Sleef:**
1. I have submitted PR to add build option to disable `libm`: https://github.com/shibatch/sleef/pull/603 , I still discuss with maintainer now.
2. We have a PyTorch PR to update `Sleef` and turn off `libm` on Windows: https://github.com/pytorch/pytorch/pull/142245

cc @malfet @seemethere @peterjc123 @mszhanyi @skyline75489 @nbcsm @iremyux @Blackhex
```[tasklist]
### Tasks
- [ ] https://github.com/pytorch/pytorch/pull/142245
- [ ] https://github.com/pytorch/pytorch/pull/141943
- [ ] https://github.com/pytorch/pytorch/pull/144644
```
Repository: godot
Issue: Using too many tiles and a `Camera2D` will make `TileMapLayer` vanish on camera `zoom` + `offset`
Labels: bug,needs testing,topic:2d

### Tested versions

Version: 4.3.stable.mono



### System information

Godot v4.3.stable.mono - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce RTX 2080 SUPER (NVIDIA; 32.0.15.6603) - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)

### Issue description

At a specific number of tiles (in my test its 128 * 192 = 24 576 tiles) I have a problem when using a Camera2D. 
When I zoom out of the tilemaplayer and then move the camera around via the `Offset` property, on specific positions in a direction (for example moving down) - the tilemaplayer vanishes. If I keep moving a bit more, it appears again. Then vanishes again. Like on specific breakpoints or something. 

### Steps to reproduce

Download the example project and then zoom out to max zoom and keep holding, the down arrow. Then you will see the effect. 

### Minimal reproduction project (MRP)

[TestTilemap.zip](https://github.com/user-attachments/files/17989255/TestTilemap.zip)
Repository: vscode
Issue: tools menu
Labels: feature-request,menus


Type: <b>Feature Request</b>

Hello,
integrate a tools menu in visual studio code please

for example tools > nuget package manager

Thanks.
HR

VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22000
Modes:


<!-- generated by issue reporter -->
Repository: vscode
Issue: no copy and paste
Labels: feature-request,issue-reporter


Type: <b>Bug</b>

Hello,

after all these updates you don't even have a copy and paste feature in the Issue Reporter, that's poor.
What are You doing the whole day?

Thanks.
HR

VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22000
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|AMD E-350D APU with Radeon(tm) HD Graphics (2 x 1597)|
|GPU Status|2d_canvas: unavailable_software<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: disabled_software<br>multiple_raster_threads: disabled_off<br>opengl: disabled_off<br>rasterization: disabled_software<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: disabled_software<br>video_encode: disabled_software<br>vulkan: disabled_off<br>webgl: unavailable_software<br>webgl2: unavailable_software<br>webgpu: unavailable_software<br>webnn: unavailable_software|
|Load (avg)|undefined|
|Memory (System)|3.60GB (0.68GB free)|
|Process Argv|--crash-reporter-id 88eee6e2-f681-494d-99e7-f471763957bc|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (26)</summary>

Extension|Author (truncated)|Version
---|---|---
npm-intellisense|chr|1.4.5
path-intellisense|chr|2.10.0
vscode-eslint|dba|3.0.10
vscode-solution-explorer|fer|0.8.8
linter-gfortran|for|3.2.0
copilot|Git|1.246.0
copilot-chat|Git|0.22.4
gc-excelviewer|Gra|4.2.62
csdevkit|ms-|1.9.55
csharp|ms-|2.39.29
vscode-dotnet-runtime|ms-|2.2.3
debugpy|ms-|2024.12.0
python|ms-|2024.14.0
vscode-pylance|ms-|2024.8.1
cpptools|ms-|1.21.6
vscode-versionlens|pfl|1.14.5
java|red|1.33.0
node-pack|Swe|0.1.16
intellicode-api-usage-examples|Vis|0.2.9
vscodeintellicode|Vis|1.3.2
vscode-gradle|vsc|3.16.4
vscode-java-debug|vsc|0.58.1
vscode-java-dependency|vsc|0.24.1
vscode-java-pack|vsc|0.29.0
vscode-java-test|vsc|0.43.0
vscode-maven|vsc|0.44.0

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
0ee40948:31013168
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
impr_priority:31102340
nativerepl1:31139838
pythonrstrctxt:31112756
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
j44ff735:31181874

```

</details>

<!-- generated by issue reporter -->
Repository: vscode
Issue: Attached text hover paddings
Labels: bug,verification-found,panel-chat

Testing #234962

The line between title and content is too close to the content:
![Image](https://github.com/user-attachments/assets/0c8e34c1-c36b-43dc-a890-cc19823bf8d5)
Repository: vscode
Issue: Color attached code in hover
Labels: bug,panel-chat

Testing #234962

The syntax coloring is missing:

![Image](https://github.com/user-attachments/assets/0c8e34c1-c36b-43dc-a890-cc19823bf8d5)
Repository: vscode
Issue: Wrong file type icon for attached code
Labels: bug,panel-chat

Testing #234962

It shows the plaintext icon instead of the TS one:
![Image](https://github.com/user-attachments/assets/22abfca3-7e46-49dc-9f76-3153f30de9e4)
Repository: vscode
Issue: Undo show hide paste menu
Labels: bug,panel-chat

Testing #234962

- paste code into chat panel
- undo
- paste menu stays 🐛
Repository: vscode
Issue: Selecting a completion entry doesn't do anything
Labels: feature-request,terminal-suggest

Testing #235021

* trigger completions with ctrl+space
* arrow down to an entry
* select Enter
* :bug: suggestion close but nothing is inserted

https://github.com/user-attachments/assets/fcb573a5-1ce3-4292-802a-a40fcda7bc9f
Repository: langchain
Issue: langchain_chroma similarity_search_with_score pass two metadata It's not OK
Labels: Ɑ: vector store

### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

```python
from langchain_chroma import Chroma

from conf import vectorStores_dir
from embeddings.BgeEmbeddings import BgeEmbedding

a = Chroma(
    collection_name="test_meta",
    embedding_function=BgeEmbedding,
    persist_directory=vectorStores_dir + "test_meta"
)
# It's not OK
# q = a.similarity_search_with_score("home", 2, {"pageId": "test", "id": "1"})
# It's OK
# q = a.similarity_search_with_score("家", 2, {"pageId": "test"})

# It's OK to pass one metadata, but it's not OK to pass two metadata.

```

### Error Message and Stack Trace (if applicable)

raise ValueError(f"Expected where to have exactly one operator, got {where}")
ValueError: Expected where to have exactly one operator, got {'pageId': 'test', 'id': '1'} in query.

### Description

langchain and langchain-chroma is latest version
langchain_chroma similarity_search_with_score pass two metadata It's not OK

### System Info

embedding:BAAI/bge-large-zh-v1.5
langchain:0.3.9
langchain-chroma:0.1.4
Repository: rust
Issue: `allow_internal_unstable` valid on non proc-macros
Labels: A-attributes,T-compiler,C-bug

This bug was technically noticed before, in #69399. That issue was closed without fixing the issue (instead fixing another issue).

Found the bug looking at this gem of a function:

![Image](https://github.com/user-attachments/assets/945da6c4-c40a-4c58-85d6-2649df02f93d)

if it's a function;
look if it's a proc macro and return
if it's not a proc macro, also return.....

Anyway, I'll fix this with the attribute handling rework (#131229), I'm just opening the issue to track the fact that this is now a known bug.

@rustbot claim
@rustbot label +A-Attributes


<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"jdonszelmann"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: vscode
Issue: Allow to configure the editor split on drop target threshold
Labels: feature-request,workbench-editor-grid

I want to reopen #116502 that was closed a few years ago as it is still highly relevant. I find the default behavior of vscode annoying.

---

I would like an option to configure the split offering threshold on drag. In Atom editor I was used to a value around 66%

This settings could be named as "splitOnDragOfferingThreshold".

I think the code below does this feature. Currently it is fixed as 33%
[src/vs/workbench/browser/parts/editor/editorDropTarget.ts](https://github.com/microsoft/vscode/blob/42221c900ba1b5a06ccf7d439104381a5b13d885/src/vs/workbench/browser/parts/editor/editorDropTarget.ts#L406)

```ts
const splitWidthThreshold = editorControlWidth / 3;		// offer to split left/right at 33%
const splitHeightThreshold = editorControlHeight / 3;	// offer to split up/down at 33%
```

![til](https://user-images.githubusercontent.com/28688421/108058585-86704300-7054-11eb-9f40-a5e4dc666c32.gif)


A bigger threshold could provide a much smoother user experience when someone split tabs very often by dragging.
Repository: vscode
Issue: Unclear why filing an issue affordance is so prominent
Labels: under-discussion,notebook-statusbar

Testing #235051

* run a NB cell
* hover over execution times
* the message lists v e r y prominently that I should file an issue
* IMO that's too strong because generally times are just interesting and nothing that should be followed with by an issue report. Can this be just a little icon after the extension/renderer?

![Image](https://github.com/user-attachments/assets/1e4d8464-aee5-48e8-915b-8c30fca4e620)
Repository: vscode
Issue: Extensions Warning: Dismiss button is not using custom hover
Labels: debt,extensions

Testing #234993

![Image](https://github.com/user-attachments/assets/271a4d73-2a01-4b04-9eec-c2117a732146)

You can add a custom hover with: `hoveService.showDelayedHover(...)`
Repository: svelte
Issue: Svelte's usage of the `:where` CSS selector breaks sites in Safari 12 and 13
Labels: css

### Describe the bug

Svelte uses the `:where` CSS selector when you use a CSS selector like `li.main-menu:hover ul`. Svelte turns that into `.main-menu.svelte-13eihuy:hover ul:where(.svelte-13eihuy)`.

This `:where` selector has only been added to Safari in version 14.

The fix is to change `li.main-menu:hover ul` into `li.main-menu:hover :global(ul)`, but this is not obvious and you won't notice that your CSS doesn't work in older browsers unless you specifically test your site in them. 

Now obviously I know that Safari 12 and 13 are quite old, but aren't they supported by Svelte? What is the list of supported browsers anyway?

### Reproduction

I have an extremely simple version here in the playground:

https://svelte.dev/playground/ca3a0989871744e7b2d43959c9d6f574?version=5.4.0

When you inspect the generated css, you will see this:

``` css
	.main-menu.svelte-13eihuy ul:where(.svelte-13eihuy) {
		display: none;
	}

	.main-menu.svelte-13eihuy:hover ul:where(.svelte-13eihuy) {
		display: block;
	}
```

This will not work in Safari 12 or 13.

### Logs

_No response_

### System Info

```shell
System:
    OS: macOS 15.1.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 161.03 MB / 32.00 GB
    Shell: 3.7.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 20.17.0 - ~/Library/pnpm/node
    npm: 10.8.2 - ~/Library/pnpm/npm
    pnpm: 9.13.2 - ~/Library/pnpm/pnpm
  Browsers:
    Safari: 18.1.1
  npmPackages:
    svelte: ^5.2.4 => 5.2.4
```


### Severity

annoyance
Repository: deno
Issue: Support compile `deno serve --parallel server.ts` into a single executable
Labels: suggestion,compile,serve

I am currently unable to compile the serve function into a single executable with the `parallel` option enabled.
Repository: godot
Issue: [Windows on Snapdragon ARM] GUI goes double in popup windows
Labels: bug,platform:windows,topic:rendering,topic:thirdparty,needs testing,topic:gui

### Tested versions

v4.3 stable


### System information

Godot v4.3.stable - Windows 10.0.26100 - GLES3 (Compatibility) - D3D12 (Qualcomm(R) Adreno(TM) X1-85 GPU) - Snapdragon(R) X Elite - X1E78100 - Qualcomm(R) Oryon(TM) CPU (12 Threads) -  16GB RAM - 10 touchscreen points - 2944x1840 resolution with 200% GUI scaling

### Issue description

I think this may be a resolution or CPU architecture issue, as on my gaming PC (which doesnt use ARM i think, has a RTX 3050 iirc, and is 1920x1080 with 100% scaling) there are no gui bugs.

on popup windows, whenever i click/tap on an interactable element,
![Image](https://github.com/user-attachments/assets/8b8597b6-9493-4d4d-84e7-d16cde4feacb)
![Image](https://github.com/user-attachments/assets/9a9c6ed3-253e-4ada-b6a6-f69eee183614)
![Image](https://github.com/user-attachments/assets/9b443a95-bef2-40d1-a5b9-7e3c7683edd8)

### Steps to reproduce

how to replicate: go on godot and open any popup window (e.g. the create new project), then click on an interactable element (e.g. a button, text box.).

### Minimal reproduction project (MRP)

N/A. there is no bug replication project, because this happens on all projects.
Repository: vscode
Issue: Test filter is hard to follow
Labels: bug,testing

re https://github.com/microsoft/vscode/issues/228195


* vscode sources, all test extensions 
* disable fuzzy match
* search for `IPC, Child Process`
* :bug: I cannot make any sense of the results


We have one suite that's called "IPC, Child Process" and I expect that to be the only result. There seems to be totally unrelated results from terminal and why too many from IPC


https://github.com/user-attachments/assets/36fb1be4-5761-4287-92e6-fd7d043aed96
Repository: ant-design
Issue: tabs-使用renderTabBar UI闪烁 右侧操作栏目不固定
Labels: Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/fglsnz)

### Steps to reproduce

https://codesandbox.io/p/sandbox/fglsnz

### What is expected?

期望使用自定义渲染后 超出长度右侧操作栏固定，新增tab会默认 滚动到最新的位置

### What is actually happening?

使用自定义渲染后 超出长度右侧操作栏不固定，需要手动滑倒最后才展示，，新增tab会默认 滚动到最前面的tab

| Environment | Info |
| --- | --- |
| antd | 5.22.3 |
| React | 18.0 |
| System | mac |
| Browser | 128.0.6613.138 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: vscode
Issue: Allow List: Should target specific versions be supported when extension has not been released traget specific?
Labels: feature-request,extensions

Testing #234993

What if an extension releases a version without specific targets. Should adding a target to the specific version still work? Currently it doesn't and I do understand why, however, we could still support it such that companies can specify that a version of an extension can only be used on a specific platform. This is currently not possible if the extension did not publish a version for each target.

In the example bellow `dbaeumer.vscode-eslint` published the version `3.0.8`without being target specific. Because of this, it is not possible to specify that this extension should only be allowed on windows and not on other platforms:
![Image](https://github.com/user-attachments/assets/eec53ea5-cf61-40b9-b0d6-06e48291fb64)
Repository: vscode
Issue: Opening find widget in editor throws an exception
Labels: bug,accessibility,editor-find

Latest VS Code insiders, macOS

1. Open Dev Tools
2. Editor > cmd+f -> find widget is opened
3. Notice exception in Dev Tools console 🐛 

"Blocked aria-hidden on a <textarea> element because the element that just received focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden. "
```html
<textarea class=​"input" autocorrect=​"off" autocapitalize=​"off" spellcheck=​"false" wrap=​"off" aria-label=​"Find" placeholder=​"Find" style=​"background-color:​ inherit;​ color:​ var(--vscode-input-foreground)​;​ width:​ calc(100% + 0px)​;​ height:​ 23px;​">​</textarea>​
```
Repository: vscode
Issue: No default agent contributed: CodeExpectedError: No default agent contributed
Labels: bug

1. VS Code, open dev tools, sign-out of GH Copilot
2. Reload. Notice error in dev tools console

" ERR No default agent contributed: CodeExpectedError: No default agent contributed
    at Lqe.R (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1951:25105)"

Here's the minified code place where it throws
![Image](https://github.com/user-attachments/assets/57ce6e1a-bbf4-49bf-bbfd-5213d3d18948)

If I am not logged in to GH Copilot ideally we would not throw any console errors.
Repository: vscode
Issue: Copilot Chat - attached code block hover feedback
Labels: feature-request,panel-chat

Testing #234962

* It would be nice if we could include the file-type icon in from the of the file name
* The file name does not seem to be vertically centered in the header of the hover
* Not sure about using bold for the file name. I think that being in the header is distinct enough
* The main body of the hover should have consistent padding at the top/bottom
* Would be nice to remove the white-space from the beginning of the line

![Image](https://github.com/user-attachments/assets/71b929a0-5ba6-46d9-861e-abb430100b3d)

* There should be a visual indicator (ex: ...) if the hover does not contain the complete code block

![Image](https://github.com/user-attachments/assets/ba4b74a0-9db5-41a8-8214-a86a1f5d2930)
Repository: vscode
Issue: `notebook.addFindMatchToSelection` keeps looping
Labels: bug,editor-highlight,notebook-cell-editor

Testing #235047

When pressing <kbd>Cmd D</kbd> in a regular editor, find results keep getting added to the multiple selection collection. It will be a noop, once all find results are covered by selections.

🐛 In notebooks, <kbd>Cmd D</kbd> will never stop looping around find results.

https://github.com/user-attachments/assets/70dccdb2-1d20-4c52-95bf-d7733e64d97e
Repository: vscode
Issue: Selection Highlighting in notebooks doesn't work after a few scroll passes
Labels: bug,editor-highlight,notebook-cell-editor

Testing #235047

1. Select a word. Notice it's correctly highlighted in other editors.
2. Scroll around. All is good until...

🐛 ... it isn't. 🙈 

https://github.com/user-attachments/assets/50bfa81e-57f1-42c3-a9fb-7d86a13edf2d
Repository: vscode
Issue: Remote SSH: Participant is not aware of the SSH remotes I have setup/configured in VS Code
Labels: feature-request,ssh

Testing #235037

Maybe having a tool which enables the participant to get the configured SSH remotes I have configured could help it answer some questions.

![Image](https://github.com/user-attachments/assets/e4bcd0b4-0cc9-41be-975f-520439071db7)
Repository: vscode
Issue: Selection Highlighting in notebooks is indistinguishable from actual multi cursor
Labels: bug,editor-highlight,notebook-cell-editor

Testing #235047

In the regular editor, selection highlights are a faded out color of selection decorations. This lets the user keep track of which selection highlights are already part of the selection.

🐛 There seems to be no distinction in notebooks:

https://github.com/user-attachments/assets/3ad9648f-5f23-4b37-a3ef-d3318be20c65
Repository: vscode
Issue: `notebook.addFindMatchToSelection` needs one extra invocation
Labels: bug,editor-highlight,notebook-cell-editor

Testing #235047

When pressing <kbd>Cmd D</kbd> in a regular editor after selecting a word, the next find match will be added to the selection. 

🐛 In notebooks, the first <kbd>Cmd D</kbd> will do nothing. Only the second one will select the next find match.