sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: ui
Issue: [bug]: Duplicate classNames(border) in checkbox, radio group
Labels: bug

### Describe the bug

If I install checkbox in CLI, I encountered duplicate border-color issue.
<img width="500" alt="image" src="https://github.com/user-attachments/assets/ac3fc068-328a-451a-aeaf-6cfdf31ce8aa">

[PR#1089](https://github.com/shadcn-ui/ui/pull/1089) said that this problem has fixed... I found accurate [comment](https://github.com/shadcn-ui/ui/issues/692#issuecomment-1605357192) on related first bug issue, and I checked Input, Alert, TextArea, Select's bug was fixed. But I still encountered same error when I install checkbox, radio group.

`transform-css-vars.ts`'s `applyColorMapping: function - border => border border-border` may cause problem, but I don't know what border-border is... There's anyone knows about what border-border means? 😢 

I created this issue because the issue was closed even though the bug was not resolved perfectly.

### Affected component/components

Checkbox, Radio Group

### How to reproduce

1. enter `pnpm dlx shadcn-ui@latest add checkbox or radio-group` on your project.
2. go to ui/checkbox...ui/radio-group
3. you'll see the error.

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Mac M1 Pro Max, Latest Chrome
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: go
Issue: x/mobile,runtime: missing stack trace on Android crash
Labels: help wanted,NeedsInvestigation,mobile,compiler/runtime

### Go version

go version go1.22.6 darwin/arm64

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/brien/Library/Caches/go-build'
GOENV='/Users/brien/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/brien/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/brien/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.22.6'
GCCGO='gccgo'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/r3/v_3z60rx2cxg0s1r9tl9fbmw0000gn/T/go-build4289722356=/tmp/go-build -gno-record-gcc-switches -fno-common'
```


### What did you do?

Create a go module and build it with gomobile. For example, the build command below will produce an AAR file that can be bundled into an Android app.

```
cd /path/to/my/package
gomobile bind \
		-target=android/arm64 -androidapi 24 \
		-javapkg my.package \
		-trimpath \
		-gcflags="-dwarf=true" \
		-ldflags="-compressdwarf=false -B gobuildid" \
		-o build/android/MyPackage.aar \
	package/name
```

The build AAR can be bundled into an Android app with the build.gradle lines:

```
dependencies {
    compileOnly fileTree(dir: "/path/to/my/package/build/android", include: ['*-sources.jar'])
    implementation fileTree(dir: "/path/to/my/package/build/android", include: ['*.aar', '*.jar'])
}
```



### What did you see happen?

Now if there is a crash from a goroutine inside the library, the following is printed to the Android logs. e.g. a nil pointer deference

```
2024-08-27 22:33:02.495 22477-22547 AndroidClassName                  my.package                I  init
2024-08-27 22:33:02.497 22477-0     Go                      my.package                E  panic: runtime error: invalid memory address or nil pointer dereference
--------- beginning of crash
2024-08-27 22:33:02.497 22477-0     Go                      my.package                E  [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x6f9cee6a0c]
2024-08-27 22:33:02.497 22477-22537 libc                    my.package                A  Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 22537 (y.package), pid 22477 (y.package)
```


### What did you expect to see?

I would expect to see a full stack trace similar to what happens when a go binary crashes. This is much more useful for crash logging and debugging.
Repository: node
Issue: Adding TCP_FASTOPEN_CONNECT prevents compiling on older systems
Labels: cares

### Version

v22.7.0

### Platform

```text
Linux static1 3.19.4-1.g51ddeac-desktop #1 SMP PREEMPT Mon Apr 13 13:20:55 UTC 2015 (51ddeac) x86_64 GNU/Linux
```


### Subsystem

_No response_

### What steps will reproduce the bug?

Attempt to compile nodejs on an older system that lacks support for TCP_FASTOPEN_CONNECT.

### How often does it reproduce? Is there a required condition?

All the time.

### What is the expected behavior? Why is that the expected behavior?

Be able to compile/build nodejs from source.

### What do you see instead?

error: ‘TCP_FASTOPEN_CONNECT’ undeclared (first use in this function)

Multiple instances of this

### Additional information

Please implement an option to disable this feature if the target platform does not support it.

Also, read this: https://blog.apnic.net/2021/07/05/tcp-fast-open-not-so-fast/
Repository: opencv
Issue: Parallel support for filter engine
Labels: optimization,feature

### Describe the feature and motivation

The role of filter engine is to deal with border and apply row and column filter or a 2D filter. Current logic is allocating a (kernel_height + 3) * (image_width +border_width) buffer, copying (kernel_height + 3) lines to buffer, adding borders according to the border type, applying row filter to those lines and applying column filter. Then add next 3 lines rollingly and repeat. The benefit is to save memory. The disadvantage is unable to add parallel logic.

A special case of GaussianBlur takes advantage of parallel when type is `uint8_t` or `uint16_t` and source matrix isn't a submatrix or `BORDER_ISOLATED`. In `fixedSmoothInvoker`, every thread calculates lines assigned to it plus (kernel_height - 1) lines, which causes duplicate calculation.

So, why not adding a buffer to store whole image with border and applying the filter in parallel? Takes more memory and less time.

Related discussion: https://github.com/opencv/opencv/issues/11012

### Additional context

_No response_
Repository: PowerToys
Issue: Use "Remove display from desktop" for arbitrary Apps
Labels: Needs-Triage

### Description of the new feature / enhancement

Windows 10 (and 11) have the following switch hidden in the extended display settings:
![grafik](https://github.com/user-attachments/assets/e49991af-485f-4c9a-9d7b-b0f0fa306e94)

As far as I know, this makes a display that is connected to your computer available exclusively for certain apps. Unfortunately, I was not able to find any app making use of this, so I could not really test it. Apparently it needs some special API calls integrated into the applications code.

My idea would be to somehow make PowerToys able to "wrap" an application in order to make it able to use this feature.

### Scenario when this would be used?

I myself have three normal monitors as well as a large wall display connected to my computer. I would like to switch my large display into this mode and have e.g. Edge use it in fullscreen mode to display a dashboard.

### Supporting information

Maybe https://learn.microsoft.com/en-us/windows/win32/gdi/multiple-display-monitors, but I find it hard to find concrete information on how to make use of such displays.
Repository: vscode
Issue: CodeLens - Actual Command Not Found Error
Labels: bug,code-lens

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
We are developing an extension using `CodeLensProvider`, and we want to refresh our lenses every 5 seconds. To achieve this, we use `onDidChangeCodeLenses` and fire it with `setInterval`.

After `onDidChangeCodeLenses` runs, and `resolveCodeLens` doesn't respond fast enough, the following error pops up:

<img width="450" alt="image" src="https://github.com/user-attachments/assets/8ea8b82a-cbe7-46da-b212-ee3526cf56df">

Does this issue occur when all extensions are disabled?: **Yes**/No

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.92.2
- OS Version: Darwin arm64 23.4.0

Steps to Reproduce:

1. Use the sample [CodeLens](https://github.com/microsoft/vscode-extension-samples/blob/main/codelens-sample/src/CodelensProvider.ts) example.
2. In the provider constructor, add:
   `setInterval(() => { this._onDidChangeCodeLenses.fire(); }, 5000);`
3. In `resolveCodeLens`, change the function to `async` and add:
    `await new Promise((resolve) => setTimeout(resolve, 3000));`
4. Run the extension.
5. Open a file which is scrollable.
6. Wait for the CodeLens to show.
7. Scroll down and wait 5 seconds.
8. Scroll back up and click on a lens (faster than 3 seconds).

https://github.com/user-attachments/assets/5c4a9e6d-efce-4272-a225-07e686cc622f

Changing `scheduler.schedule()` in this [line](https://github.com/microsoft/vscode/blob/fb831a6a73f7c94630a5184a63daf26903ac8d97/src/vs/editor/contrib/codelens/browser/codelensController.ts#L163) to `this._onModelChange()` fixed it for me, although I'm not sure that's the correct solution because it makes the lens unclickable.
Would appreciate your support
Repository: next.js
Issue: Wrong segment rendered when quickly reload page and navigate through browser history in Next.js 13+.
Labels: bug,Navigation,Pages Router

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/snowy-platform-7k39wy

### To Reproduce

1. Run the preview of provided SandBox code.
2. Open it in a separate browser tab.
3. Navigate between `Page 1` and `Page 2` routes to create `window.history records` to be able to go back via `browser arrow`.
4. Try to `reload` page via `browser reload button` or `keyboard`  and `go back` to `previous route`(make it as fast as possible)
5. If you did it fast enough you can see `updated URL` and the content from previous page (`segment`) .
6. If you did it not fast enough you can try it again from `step 3`.


### Current vs. Expected behavior

**Actual result:** page content is still from previous route and URL is correct.
**Expected result:** page content where I go back and URL must be correct.

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
  Available memory (MB): 4102
  Available CPU cores: 2
Binaries:
  Node: 20.9.0
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.10.2
Relevant Packages:
  next: 15.0.0-canary.132 // Latest available version is detected (15.0.0-canary.132).
  eslint-config-next: N/A
  react: 19.0.0-rc-eb3ad065-20240822
  react-dom: 19.0.0-rc-eb3ad065-20240822
  typescript: 5.3.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Navigation, Pages Router

### Which stage(s) are affected? (Select all that apply)

next dev (local), next start (local), Vercel (Deployed), Other (Deployed)

### Additional context

That issue exists in all `Next.js 13+` that I tried to reproduce bug. 

- Our QA firstly found it in our self-deploy website, then I checked official Next.js examples and official Vercel website(I suppose it uses last Next.js version). Also I tried Sandbox with minimal app configuration. The problem was reproduced on each case.
- Then I tried to reproduce it in our self-deploy project that uses `Next.js 12` and the issue doesn't exist there.

[Here is the screen record from official Vercel website that also reproduces that issue.](https://www.loom.com/share/af8dfdedf0f04b018aa26941db76214d?sid=78e7f58d-5676-4162-81e7-74f9e42b1959)

**Current way to fix.**
To fix that bug, I check for actual rendered segment, then check for what actually  I have in URL and use `router.push` to URL with rendered segment. As I tested it's not possible to correctly change segment according to URL but it's possible to change URL according to rendered segment. But you need to configure that logic manually for a lot of segments so it's not the best option of course but at least we show correct content and URL for user.
Repository: neovim
Issue: with 'autoindent', cursor moves to wrong position virtualedit=all and ^ mark
Labels: bug-vim,marks,insert-mode

### Problem


https://github.com/user-attachments/assets/556a006f-4d29-42df-842f-8f31d15501e7



### Steps to reproduce

1. prepare two files:

`debug.vim`

```
set virtualedit=all
autocmd InsertLeave * :normal `^
```

`abc.txt`

```
vim and emacs
```

2. run command `nvim -u debug.vim abc.txt`

3. move cursor to "s" in "emacs", press `i<CR><Esc>`

### Expected behavior

the cursor should be positioned at letter `s`, but it's actually on the right of `s`

vim's behaviour is correct

### Neovim version (nvim -v)

NVIM v0.10.1

### Vim (not Nvim) behaves the same?

NONONO 9.1

### Operating system/version

ArchLinux 6.10.6-arch1-1

### Terminal name/version

st 0.8.5

### $TERM environment variable

st-256color

### Installation

AUR
Repository: ollama
Issue: actively retrieves the content returned from the web page
Labels: feature request

expected that ollama can automatically identify the model, and then when the problem exceeds the capacity of the model, ollama actively retrieves the content returned from the web page to the model, and the model analyzes the content returned and finally gives the answer.
Repository: material-ui
Issue: [docs-infra] Remove `https://mui.com/` from API descriptions links
Labels: dx,enhancement,scope: docs-infra

> In the future, I think that we want to automatically remove `https://mui.com/` from those links to have relative URLs.

_Originally posted by @oliviertassinari in https://github.com/mui/material-ui/pull/43472#discussion_r1733661761_
            

**Search keywords**:
Repository: pytorch
Issue: Questions about CVE-2022-3171, CVE-2022-3509 and CVE-2022-3510
Labels: module: onnx,module: protobuf,triaged,module: third_party,security

### 🐛 Describe the bug

Description
Summary
The version of protobuf in .github/requirements/pip-requirements-macOS.txt is 3.20.2, this version of protobuf contains vulnerabilities
CVE-2022-3171, CVE-2022-3509 and CVE-2022-3510, which may pose security and performance risks to the PyTorch project.

Details
CVE-2022-3171
Severity: Medium
Url: https://www.cve.org/CVERecord?id=CVE-2022-3171
Description: A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.
Impact: If the PyTorch project uses the affected version of Protobuf and processes maliciously crafted messages during data serialization/deserialization, it could lead to prolonged pauses during garbage collection, affecting performance and potentially making the service unavailable.

CVE-2022-3509
Severity: High
Url: https://www.cve.org/CVERecord?id=CVE-2022-3509
Description: A parsing issue similar to https://github.com/advisories/GHSA-h4h5-3hr4-j3g2, but with textformat in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.
Impact: If PyTorch processes Protobuf data in text format containing maliciously crafted messages, it may cause abnormal garbage collection behavior, affecting system stability and performance, especially in scenarios where large volumes of Protobuf data are handled.

CVE-2022-3510
Severity: High
Url: https://www.cve.org/CVERecord?id=CVE-2022-3510
Description: A parsing issue similar to https://github.com/advisories/GHSA-h4h5-3hr4-j3g2, but with Message-Type Extensions in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.
Impact: If PyTorch uses the affected Protobuf version and processes maliciously crafted messages with extension fields, it could lead to garbage collection issues, affecting system stability.
Repository: PowerToys
Issue: Global sort modifier correctly modifies order but NOT selection
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.83.0

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Set a 'Global sort order modifier' for Windows search leaving all others at their default zero to make Windows search be the primary use function of PowerToys Run.

### ✔️ Expected Behavior

Results from Windows search should be listed at the top of the list **and closest match should be 'auto-selected'**.

### ❌ Actual Behavior

Results from Windows search are correctly listed at the top of the list but **web search is selected even though it has a lower priority and is lower in the list.**
![image](https://github.com/user-attachments/assets/a2123a4b-8e43-403b-b872-0c1f71069ea6)


### Other Software

_No response_
Repository: PowerToys
Issue: Mouse Utilities: Find My Mouse: Shake Mouse to display a much larger size of cursor and then resize to normal.
Labels: Needs-Triage

### Description of the new feature / enhancement

Mouse Utilities: Find My Mouse: Shake Mouse
When I shake the mosue, I prefer to display a much larger size of cursor and then resize to normal automatically.
I don't like the default behavior of "find my mouse". Now I have to extra click to dispear the effect of dark screen. I prefer no extra action to find my mouse after I shake the mouse.
thanks

### Scenario when this would be used?

find my mouse.

### Supporting information

_No response_
Repository: godot
Issue: `EditorDebuggerPlugin` does not receive messages or respond to requests.
Labels: bug,topic:editor

### Tested versions

- Reproduceable in Godot 4.3

### System information

Windows 10

### Issue description

Following the official [example](https://docs.godotengine.org/en/stable/classes/class_editordebuggerplugin.html#class-editordebuggerplugin-private-method-capture) on how to use the `EditorDebuggerPlugin` I stumbled across some problems.

- The message was only received whenever I resaved the debugger script.
- The message was never received, but it didn't push a warning for unknown message.

### Steps to reproduce

1. Open the MRP.
2. Run the example scene
3. It should print("Pong"), but it doesn't.

I wasn't able to reproduce the bug of having to resave the file. Can provided full project file, if needed.

### Minimal reproduction project (MRP)

[editordebuggerbugmrp.zip](https://github.com/user-attachments/files/16781954/editordebuggerbugmrp.zip)
Repository: opencv
Issue: fitEllipse returns a very far ellipse
Labels: bug

### System Information

OpenCV python version: 4.10.0
Operating System / Platform: Windows 11
Python version: 3.11.9

### Detailed description

When running `cv2.fitEllipse` on a the points below i got an ellipse that is very far and not related to them.
Subset of the points did not result with same problem.
<img src="https://github.com/user-attachments/assets/032c95f4-0124-405f-8362-f17db8500844" width=300/>


### Steps to reproduce

```python
import cv2
import numpy as np
import matplotlib.pyplot as plt
points = [
    [1434, 308], [1434, 309], [1433, 310], [1427, 310], [1427, 312], [1426, 313], [1422, 313], [1422, 314],
    [1421, 315], [1415, 315], [1415, 316], [1414, 317], [1408, 317], [1408, 319], [1407, 320], [1403, 320], 
    [1403, 321], [1402, 322], [1396, 322], [1396, 323], [1395, 324], [1389, 324], [1389, 326], [1388, 327], 
    [1382, 327], [1382, 328], [1381, 329], [1376, 329], [1376, 330], [1375, 331], [1369, 331], [1369, 333], 
    [1368, 334], [1362, 334], [1362, 335], [1361, 336], [1359, 336], [1359, 1016], [1365, 1016], [1366, 1017], 
    [1366, 1019], [1430, 1019], [1430, 1017], [1431, 1016], [1440, 1016], [1440, 308]
]
ellipse = cv2.fitEllipse(np.array(points))
points = np.array(points)  
center, axes, angle = ellipse
ellipse_points = cv2.ellipse2Poly((int(center[0]), int(center[1])), (int(axes[0] // 2), int(axes[1] // 2)), int(angle), 0, 360, 1)
plt.figure(figsize=(8, 8))
plt.scatter(points[:, 0], points[:, 1], c='blue', label='Points')
ellipse_polygon = plt.Polygon(ellipse_points, fill=None, edgecolor='red', label='Fitted Ellipse')
plt.gca().add_patch(ellipse_polygon)
plt.gca().set_aspect('equal', adjustable='box')
plt.legend()
plt.show()
```

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: three.js
Issue: Parse mesh url to load in threejs editor via search query/urlparam
Labels: Editor

### Description

It would be useful for the threejs editor to support importing mesh files on load, by parsing a search-query or urlparam. The simplest solution would simply to load a single mesh file, but this could be extended to loading an arbitrary threejs project, or collection of meshes files via their urls. 


### Solution

The mesh urls could be parsed via a `meshes` array search query like https://threejs.org/editor?meshes=[{mesh_url}]. The threejs project could be parsed via a `threejs_project` urlparam. This would probably happen inside the [dev/editor/index.html](https://github.com/mrdoob/three.js/blob/dev/editor/index.html)

### Alternatives

Equivalent feature requested on [f3d web viewer](https://github.com/f3d-app/f3d/issues/1595). 
3dviewer.net does it this way https://3dviewer.net/#model=${mesh_url}, but this does not work with every mesh url.

### Additional context

This would make it easier to inspect mesh files lying accessible on the web via a server endpoint using the threejs editor. My interest is integrating a mesh viewer within STAC-browser (Spartio-Temporal Asset Catalogs) which is made to explore and standardize geospatial assets, among which meshes are an important part - see PR https://github.com/radiantearth/stac-browser/pull/465 for context