sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: opencv
Issue: Can not use cv2.videocapture in MAC OS SEQUOIA 15.0.1
Labels: bug,platform: ios/osx

### System Information

OpenCV version: 4.10.0
Operating System: Mac OS 15.0.1
Python Version Python 3.11.10


### Detailed description

If you try to call cv2.Videocapture on a Mac running Sequoia 15.0.1 you are presented with the following error and not able to access the camera:

AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras. Please use AVCaptureDeviceTypeContinuityCamera and add NSCameraUseContinuityCameraDeviceType to your Info.plist.

### Steps to reproduce

webcam_video_stream = cv2.VideoCapture(0)

### 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: flutter
Issue: Windows arm64 bots in devicelab are restarting during tests
Labels: team-infra,P1,triaged-infra

For example: https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/vm-win-debug-arm64/1115/infra

per @aam the system logs say:

```
The process C:\WINDOWS\SYSTEM32\shutdown.exe (FLUTTER-WIN-19) has initiated the restart of computer FLUTTER-WIN-19 on behalf of user flutter-win-19\swarming for the following reason: No title for this reason could be found
 Reason Code: 0x800000ff
 Shutdown Type: restart
 Comment:
```

And the reboots seem to coincide with

```
Successfully scheduled Software Protection service for re-start... Reason: RulesEngine
```

in Windows logs.
Repository: pytorch
Issue: TD skips relevant tests
Labels: module: ci,triaged,module: correctness (silent)

### 🐛 Describe the bug

I expect commit https://github.com/pytorch/pytorch/pull/137899/commits/03015dd53503a7acdc8ea7d4690a9d7e4e982ac3 of https://github.com/pytorch/pytorch/pull/137899 fail while running `test_dtypes_special_i1e_cpu`m but CI signal is green, as target determinator decided this test is irrelevant

### Versions

CI

cc @seemethere @pytorch/pytorch-dev-infra
Repository: godot
Issue: WebXR: Objects rendered transparent when in immersive-ar on Android
Labels: bug,platform:web,topic:xr

### Tested versions

- Reproducible in Godot 4.3 (stable) and Godot 4.4.dev3

### System information

Sony Xperia 10 III - Andorid 13 - Compatibility - Google Chrome Version 129.0.6668.100 (latest as of time of writing)

### Issue description

I try to create a minimal WebXR AR application that shows 3D models to the user, blended with the real world environment. To do so, I followed the instructions on the [tutorial in the docs](https://docs.godotengine.org/en/stable/tutorials/xr/index.html#basic-tutorial) especially the [AR / Passthrough](https://docs.godotengine.org/en/stable/tutorials/xr/ar_passthrough.html), as well as David Snopke's tutorials.

However, when I run the app and enter AR, objects are rendered transparent, the closer their color is to black. (Reading the WebXR standard and checking the environment blend modes, it looks like the rendering behaves as "additive" used for see-through devices (like the Holo Lens). However, it should behave like environment blend mode "alpha-blend", i.e. use the alpha channel to determine transparency). The blend mode reported by WebXR, however, in fact is "alpha-blend" which to my knowledge is correct.

Actual outcome:

![godot_webxr_transparent_1](https://github.com/user-attachments/assets/a6050573-c486-422b-ac65-7eedf7114fe7)

Expected outcome (hacked together in Gimp):

![godot_webxr_transparent_1_expected](https://github.com/user-attachments/assets/16e8183f-66eb-4fd0-b105-b6abd8d15959)

Since I'm fairly new to WebXR in Godot it may also me doing something wrong :upside_down_face: However, I tried many different things, settings, renders, configuration suggested at different places and always get the same result. I also talked to @dsnopek at GodotCon 24 (shamelessly tagging you here, hope you have had / will have a safe trip back home :) ) about this and he mentioned it _could_ be a regression. Searched the closed issues and this sounds kinda related to me: https://github.com/godotengine/godot/issues/75581


### Steps to reproduce

I have hosted the MRP at github pages on https://www.simonkerler.de/godot-webxr-mrp/dist/ :
- Open the link with Chrome on your smartphone
- Hit the "Enter AR" button
- Wait for the scene being blended on the camera pass-through
- See that the boxes are not opaque but transparent

If you run the MRP from within the editor, don't forget to expose the web server to 0.0.0.0 and turn on HTTPS to make it accessible from your smartphone.

### Minimal reproduction project (MRP)

I created an MRP here: https://github.com/namelessvoid/godot-webxr-mrp

Just open it in the editor. There is a single scene, containing four boxes of different color, world environment, lighting and WebXROrigin with an WebXRCamera.
Repository: godot
Issue: "Run instances" uses default main scene instead of main scenes defined by feature tags
Labels: bug,discussion,topic:editor

### Tested versions

- v4.4.dev3.mono
- v4.4.dev3

### System information

Godot v4.4.dev3.mono - Windows 10.0.19045 - Single-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4060 Ti (NVIDIA; 32.0.15.6094) - AMD Ryzen 7 7800X3D 8-Core Processor (16 threads)

### Issue description

Instances defined in "Run instances" use default main scene instead of main scenes defined by feature tags, when those feature tags are applied to the instances.

### Steps to reproduce

* Define export targets with custom feature tags
* Add project settings overrides for `application/run/main_scene` for each feature tag
* Add respective feature tags to each instance in `Debug > Customize Run Instances...`
* Run in editor
* See both instances using the default main scene

### Minimal reproduction project (MRP)

[testfeaturescenes.zip](https://github.com/user-attachments/files/17369118/testfeaturescenes.zip)
Repository: rust
Issue: contextless autocompletions for rustdoc search
Labels: C-enhancement,A-rustdoc-search,T-rustdoc-frontend

recently i've come up with a "stateful prefix search" algorithm that allows fast prefix-based autocompletions from a pool of identifiers.

this algorithm should be fast enough to be responsive even on old devices.

this would provide a autocompletion popover with ~6 possibilites for identifiers.

these identifiers would be built from all crate names in the documentation workspace, all identifiers in the search index, and all rustdoc kind filters.
Repository: tauri
Issue: [bug] Scaling Tauri webview window on windows 11
Labels: type: bug,platform: Windows,status: needs triage

### Describe the bug

On windows 11 Tauri webview window size is not the same as define in config.

Size in tauri config:  715x505 
When I run app on my client's windows 11 pc, tauri window has size around 590x400.  Looks like problem with scaling on that machine. When running app on windows 10 (different pc) its working good. On macos its working good.
Im running on windows applicaiton builded on GH actions (target windows-latest)

Im not sure if thats the reason but found that there was a bug on windows webview2 -> https://github.com/MicrosoftEdge/WebView2Feedback/issues/1700

Currently my workaround for that is checking size on of react container and resizing window if size is less than definied in config.

I was trying:
- to change scale on windows 11 - still not work
- change resolution - not work
- disconected external monitor and run on laptop's screen - not work



### Reproduction

Run application with window size 715x505 on windows 11.

### Expected behavior

Tauri window should be the same as in tauri.config.json

### Full `tauri info` output

```text
[⚠] Environment
    - OS: Mac OS 14.3.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.80.1 (3f5fd8dd4 2024-08-06) (Homebrew)
    ✔ cargo: 1.80.1
    ⚠ rustup: not installed!
      If you have rust installed some other way, we recommend uninstalling it
      then use rustup instead. Visit https://rustup.rs/
    ⚠ Rust toolchain: couldn't be detected!
      Maybe you don't have rustup installed? if so, Visit https://rustup.rs/
    - node: 20.10.0
    - pnpm: 9.1.1
    - yarn: 1.22.22
    - npm: 10.2.3

[-] Packages
    - tauri [RUST]: 1.6.6
    - tauri-build [RUST]: 1.5.2
    - wry [RUST]: 0.24.10
    - tao [RUST]: 0.16.9
    - @tauri-apps/api [NPM]: 1.5.6 (outdated, latest: 2.0.2)
    - @tauri-apps/cli [NPM]: 1.5.14 (outdated, latest: 1.6.3)

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:1420/
    - framework: React
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

Discord support post: https://discord.com/channels/616186924390023171/1294718226109956160
Repository: godot
Issue: `Control::set_offsets_preset` ignores custom minimum size of the control
Labels: bug,topic:gui

### Tested versions

v4.3.stable.mono.official [77dcf97d8]

### System information

archlinux

### Issue description

[Relevant code](https://github.com/godotengine/godot/blob/af77100e394dcaca609b15bef815ed17475e51ed/scene/gui/control.cpp#L1191)

In the method linked above, `get_minimum_size` method is used instead of combined minimum size, resulting in erroneous offset state after method call. Other methods that call this method with preset mode other than `PRESET_MODE_KEEP_SIZE`, notably `set_anchors_and_offsets_preset`, may also be affected by this issue.

### Steps to reproduce

Try to call the method on control with custom minimum size.

### Minimal reproduction project (MRP)

[offset-thing.zip](https://github.com/user-attachments/files/17369146/offset-thing.zip)

Simple side-by-side setup showing two rectangles being programmatically aligned with `set_anchors_preset` and `set_offsets_preset` call on `_ready`. (This is essentially identical to calling `set_anchors_and_offsets_preset`.) White area show the intended position of the rectangles getting aligned.

The red rectangle has custom min size of (100, 100) and default min size. The blue rectangle has no custom min size, but has min size of (100, 100) defined in code. The blue one is able to produce desired result, while the red one produces odd behavior.

![Screenshot_20241015_053214](https://github.com/user-attachments/assets/99d0be3b-5277-43bd-97c0-4ed6e98ded9c)
Repository: bitcoin
Issue: wallet: rpc: `settxfee` sets the wallet feerate not fee
Labels: Wallet,RPC/REST/ZMQ

The wallet RPC `settxfee` sets the fee rate for a wallet. 

Current help text:
```
Set the transaction fee rate in BTC/kvB for this wallet. Overrides the global -paytxfee command line parameter.
Can be deactivated by passing 0 as the fee. In that case automatic fee selection will be used by default.

Arguments:
1. amount    (numeric or string, required) The transaction fee rate in BTC/kvB

Result:
true|false    (boolean) Returns true if successful
```
This is a misnomer, as stated here https://github.com/bitcoin/bitcoin/pull/29278#discussion_r1526664705 so should instead be `setfeerate`


@jonatack suggested a safer approach to avoid breaking things
 
(see: https://github.com/bitcoin/bitcoin/pull/20484#issuecomment-734786305). I think this is better approach than just renaming the `settxfee` RPC to `setfeerate`?

- Add  `setfeerate` RPC which is a mirror of `settxfee` but in `sat/vB`.
- Keep `settxfee`  hidden, but prefer the `setfeerate` RPC in future use.
- Eventually deprecate `settxfee`.

This issue is limited to fixing the ambiguity in  `settxfee`.
Repository: flutter
Issue: [ios][engine]add integration tests for platform view touches
Labels: platform-ios,a: platform-views,P2,team-ios,triaged-ios

The platform view touch gesture has pretty complex logic but it has no integration test. 

A few possible ideas: 

- able to enable/disable some/all gestures on platform view
- GestureDetector able to get the touch callbacks 
- if flutter side consumes all the touches, platform view shouldn't receive any touches
- if flutter side consumes some gestures (e.g. swipe up/down), platform view should receive remaining touches (pinch to scale)
- if flutter side doesn't consume touches, then platform view should handle them

See context: https://github.com/flutter/engine/pull/55724
Repository: terminal
Issue: [1.23] PatternTree crash after closing two panes in oen tab
Labels: Area-Output,Issue-Bug,Severity-Crash,Product-Terminal

### Windows Terminal version

Canary 2851

### Windows build number

_No response_

### Other Software

_No response_

### Steps to reproduce

Dunno - closed two shells inside panes in the same tab with `^D` 

### Expected Behavior

_No response_

### Actual Behavior

```
 	Microsoft.Terminal.Control.dll!Microsoft::Console::Render::Renderer::TriggerRedraw(const Microsoft::Console::Types::Viewport & region) Line 262	C++
 	Microsoft.Terminal.Control.dll!Microsoft::Terminal::Core::Terminal::_InvalidateFromCoords(const til::point start, const til::point end) Line 808	C++
 	[Inline Frame] Microsoft.Terminal.Control.dll!Microsoft::Terminal::Core::Terminal::_InvalidatePatternTree::__l2::<lambda_1>::operator()(const interval_tree::Interval<til::point,unsigned __int64> &) Line 774	C++
>	[Inline Frame] Microsoft.Terminal.Control.dll!std::for_each(std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<interval_tree::Interval<til::point,unsigned __int64>>>>) Line 435	C++
 	Microsoft.Terminal.Control.dll!interval_tree::IntervalTree<til::point,unsigned __int64>::visit_all<`Microsoft::Terminal::Core::Terminal::_InvalidatePatternTree'::`2'::<lambda_1>>(Microsoft::Terminal::Core::Terminal::_InvalidatePatternTree::__l2::<lambda_1> f) Line 308	C++
 	[Inline Frame] Microsoft.Terminal.Control.dll!Microsoft::Terminal::Core::Terminal::_InvalidatePatternTree() Line 771	C++
 	Microsoft.Terminal.Control.dll!Microsoft::Terminal::Core::Terminal::UpdatePatternsUnderLock() Line 1192	C++
 	Microsoft.Terminal.Control.dll!winrt::Microsoft::Terminal::Control::implementation::ControlCore::_setupDispatcherAndCallbacks::__l2::<lambda_1>::operator()() Line 200	C++
 	[Inline Frame] Microsoft.Terminal.Control.dll!std::_Func_class<void>::operator()() Line 920	C++
 	[Inline Frame] Microsoft.Terminal.Control.dll!std::invoke(std::function<void __cdecl(void)> &) Line 1704	C++
 	[Inline Frame] Microsoft.Terminal.Control.dll!std::_Apply_impl(std::function<void __cdecl(void)> &) Line 1076	C++
 	[Inline Frame] Microsoft.Terminal.Control.dll!std::apply(std::function<void __cdecl(void)> &) Line 1087	C++
 	[Inline Frame] Microsoft.Terminal.Control.dll!til::throttled_func<1,0>::_trailing_edge() Line 196	C++
 	Microsoft.Terminal.Control.dll!til::throttled_func<1,0>::_timer_callback(_TP_CALLBACK_INSTANCE * __formal, void * context, _TP_TIMER * __formal) Line 184	C++
```
Repository: flutter
Issue:  Change alignment of last item in CarouselView.weighted
Labels: f: material design,P2,team-design,triaged-design

### Use case

b/372578986

For example, if `flexWeights` is [3, 2, 1] and `consumeMaxWeight` is false, the last child can never get full size which consumes weight 3. 



### Proposal

When the last item is in "preview" (with weight 1) and we continue to scroll, we should support a reversed layout so the last item can show its "full size" (with weight 3).

https://github.com/user-attachments/assets/2ef0ff31-122e-483e-a2e3-1686ed5871a7
Repository: vscode
Issue: Configurable fast scroll to keys other than Alt
Labels: feature-request,editor-scrollbar

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
Currently, fast scrolling is only possible with the Alt key. There should be an option to use other keys, such as Ctrl, for fast scrolling, ideally as a configurable keybinding

[Reference to the hardcoded use of Alt](https://github.com/microsoft/vscode/blob/e13f1fdf43892980a5b463a2cdc12befa5e4b70c/src/vs/base/browser/ui/scrollbar/scrollableElement.ts#L434)
```typescript
	if (e.browserEvent && e.browserEvent.altKey) {
		// fastScrolling
		deltaX = deltaX * this._options.fastScrollSensitivity;
		deltaY = deltaY * this._options.fastScrollSensitivity;
	}
```
Repository: deno
Issue: Renaming repo root folder makes installed npm packages unfindable
Labels: needs investigation

Version: Deno 2.0.0

`deno init` a repo., `deno install` at least an npm package into the repo that is used in `main.ts`

`deno run main.ts` works.

cd out of folder, rename folder, cd into folder again

`deno run main.ts` now yields 

error: Could not find "zod" in a node_modules folder. Deno expects the node_modules/ directory to be up to date. Did you forget to run `deno install`?

Executed `deno install`. No feedback is given in the CLI.

Rerunning main gives the same error.

Current workaround: delete folder `node_modules` and then run `deno install`
Repository: godot
Issue: CSG collision is broken
Labels: topic:core,topic:physics

### Tested versions

-tested in 4.3 stable, 4.2.2 stable, partially tested in 4.4 dev 3

### System information

Windows 10

### Issue description

CSG collision gives all sorts of inconsistent results or no results at all: collision tests starting inside CSG shapes do not show a result with both ray cast and shape cast and using the nodes and by code. Collision tests starting from outside CSG shapes work with raycast and shapecast nodes, but not by code. Replace the CSG with a staticmesh box and everything works fine.

BTW I don't know what you guys did to godot, but I blue screened 5 times while trying to test this in 4.3 and 4.4, I'm not able to fully test all combinations of CSG and physics tests any further due to blue screens. I'm still on 4.2.2 because of regressions in 4.3 and onward.

### Steps to reproduce

Open the minimal reproduction project and hit run, see the printed results. Move the CSG shape in the -z direction by 2 meters and hit run, see the results. Replace the CSG with a staticmesh box at the origin and hit run, see the results.

### Minimal reproduction project (MRP)

[csgcollisiontest.zip](https://github.com/user-attachments/files/17369944/csgcollisiontest.zip)
Repository: vscode
Issue: Copy Relative Path With Line Number
Labels: feature-request,editor-clipboard

Requesting to revisit - https://github.com/microsoft/vscode/pull/118509
Repository: rust
Issue: Tracking Issue for `const_sockaddr_setters`
Labels: T-libs-api,C-tracking-issue

Feature gate: `#![feature(const_sockaddr_setters)]`

This is a tracking issue using the `set_ip` and `set_port` methods on `SocketAddr` types in `const` contexts.

### Public API

```rust
// core::net

impl SocketAddr {
    pub const fn set_ip(&mut self, new_ip: IpAddr);
    pub const fn set_port(&mut self, new_port: u16);
}

impl SocketAddrV4 {
    pub const fn set_ip(&mut self, new_ip: Ipv4Addr);
    pub const fn set_port(&mut self, new_port: u16);
}

impl SocketAddrV6 {
    pub const fn set_ip(&mut self, new_ip: Ipv6Addr);
    pub const fn set_port(&mut self, new_port: u16);
}
```

### Steps / History

- [x] Implementation: https://github.com/rust-lang/rust/pull/131715
- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

### Unresolved Questions

- None yet.

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: kubernetes
Issue: [FG:InPlacePodVerticalScaling] Add UpdatePodSandboxResources CRI method
Labels: sig/node,kind/feature,priority/important-longterm,triage/accepted

See https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/1287-in-place-update-pod-resources/README.md#cri-changes for more detail

/kind feature
/sig node
/milestone v1.32
/priority important-longterm
/triage accepted
Repository: kubernetes
Issue: [FG:InPlacePodVerticalScaling] Implement resize for sidecar containers
Labels: sig/node,kind/feature,priority/important-longterm,triage/accepted

Resize of sidecar containers should work the same as resize of regular containers. Resize of non-restartable init containers is still not allowed.

/kind feature
/sig node
/priority important-longterm
/milestone v1.32
/triage accepted
Repository: kubernetes
Issue: [FG:InPlacePodVerticalScaling] Add kubelet_resize_requests_total metric
Labels: sig/node,kind/feature,sig/instrumentation,priority/important-longterm,triage/accepted

See https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/1287-in-place-update-pod-resources/README.md#instrumentation for details.

The KEP uses the name `kubelet_container_resize_requests_total`, but I think we should drop the `container` part, since it's measured at the pod level. KEP should be updated to match this.

/kind feature
/sig node instrumentation
/priority important-longterm
/milestone v1.32
/triage accepted
Repository: pytorch
Issue: Bazel builds intermittently fail while trying to download mkl from anaconda %)
Labels: module: ci,triaged

### 🐛 Describe the bug

See this [log](https://github.com/pytorch/pytorch/actions/runs/11334452938/job/31520699526) for example:
```

2024-10-14T20:31:02.4058502Z   /var/lib/jenkins/.cache/bazel/_bazel_jenkins/fdf6d09bf4b4f04a71e2a7dfceb40620/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in <toplevel>
2024-10-14T20:31:02.4653140Z [35mWARNING: [0m/var/lib/jenkins/.cache/bazel/_bazel_jenkins/fdf6d09bf4b4f04a71e2a7dfceb40620/external/cpp-httplib/BUILD.bazel:3:11: in includes attribute of cc_library rule @cpp-httplib//:cpp-httplib: ignoring invalid absolute path '/'. Since this rule was created by the macro 'cc_library', the error might have been caused by the macro implementation
2024-10-14T20:31:15.8188119Z [32mAnalyzing:[0m 31 targets (84 packages loaded, 11640 targets configured)
2024-10-14T20:31:15.8260044Z [32mINFO: [0mRepository mkl instantiated at:
2024-10-14T20:31:15.8260663Z   /var/lib/jenkins/workspace/WORKSPACE:183:13: in <toplevel>
2024-10-14T20:31:15.8261241Z Repository rule http_archive defined at:
2024-10-14T20:31:15.8262300Z   /var/lib/jenkins/.cache/bazel/_bazel_jenkins/fdf6d09bf4b4f04a71e2a7dfceb40620/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in <toplevel>
2024-10-14T20:31:15.8285868Z [35mWARNING: [0mDownload from https://anaconda.org/anaconda/mkl/2020.0/download/linux-64/mkl-2020.0-166.tar.bz2 failed: class java.io.IOException GET returned 503 Service Unavailable
2024-10-14T20:31:15.8333905Z [31m[1mERROR: [0mAn error occurred during the fetch of repository 'mkl':
2024-10-14T20:31:15.8334558Z    Traceback (most recent call last):
2024-10-14T20:31:15.8335790Z 	File "/var/lib/jenkins/.cache/bazel/_bazel_jenkins/fdf6d09bf4b4f04a71e2a7dfceb40620/external/bazel_tools/tools/build_defs/repo/http.bzl", line 132, column 45, in _http_archive_impl
2024-10-14T20:31:15.8337024Z 		download_info = ctx.download_and_extract(
```

Which comes from those lines
https://github.com/pytorch/pytorch/blob/aef3591998f4e46f7ade3914e6ad758619954672/WORKSPACE#L183-L191

### Versions

CI

cc @seemethere @pytorch/pytorch-dev-infra