sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: Acrylic background doesn't work if foreground is invisible
Labels: Area-Rendering,Issue-Bug,Product-Terminal,Priority-3

### Windows Terminal version

Latest nightly

### Windows build number

10.0.19045.3448

### Other Software

_No response_

### Steps to reproduce

1. Enable background transparency and acrylic material in settings.
2. Run the script below:
```
@echo off

echo [1m bold[m
echo [2m faint[m
echo [3m italic[m
echo [4m underline[m
echo [9m strikeout[m
echo [53m overline[m
echo [5m blink[m
echo [7m inverse[m
echo [8m invisible[m

pause
```
\- where  is \x1b

### Expected Behavior

![image](https://github.com/microsoft/terminal/assets/11453922/95df0270-308d-45b2-8e1e-105b0a8b7a65)


### Actual Behavior

![image](https://github.com/microsoft/terminal/assets/11453922/65a97640-eb16-45ec-ba4e-9d52ca30c065)

\- "Invisible" foreground causes the background to be fully opaque.

Looking at the code, it seems to be here:
https://github.com/microsoft/terminal/blob/9e86c9811f2cf0ad53c9c543b886274b1079dd00/src/renderer/base/RenderSettings.cpp#L205-L207

The ` || attr.IsInvisible()` bit was added here:
https://github.com/microsoft/terminal/pull/12127/files#diff-0f336e9fd3608b43380ed0ad16fc625c4f1e2a681c70fc627f9df7239e1b6d54R252-R253

Looks like it wasn't in the original code:
https://github.com/microsoft/terminal/pull/12127/files#diff-f9112caf8cb75e7a48a7b84987724d754181227385fbfcc2cc09a879b1f97c12L90-L91

The change wasn't reflected in the comment / mentioned elsewhere in the PR (or at least I can't find it), so, is it intentional / a bug?
Repository: angular
Issue: Scoped Slots (similar to Vue)
Labels: feature,area: core,core: content projection,feature: under consideration

### Which @angular/* package(s) are relevant/related to the feature request?

core

### Description

https://vuejs.org/guide/components/slots.html#scoped-slots

I know Angular has something similar to Vue slots in content projection, however, those cannot take arguments like Vue's scoped slots. It would be great if Angular could support scoped slots.

### Proposed solution

Something like (if A is a component that accepts slots, and B is using A)

```
A:
<ng-content select="my-slot" let-var="var">
</ng-content>
B:
<AComponent>
  <p my-slot let-slotProps>
    {{slotProps.var}}
  </p>
</AComponent>
```

Again this is only a suggestion

### Alternatives considered

None as far as I'm aware.
Repository: pytorch
Issue: Add docs for __tensor_flatten__ / __tensor_unflatten__
Labels: module: docs,triaged,module: __torch_dispatch__,tensor subclass,oncall: pt2,module: pt2-dispatcher

### 🚀 The feature, motivation and pitch

My understanding is that the `__tensor_flatten__` / `__tensor_unflatten__` API introduced here https://github.com/pytorch/pytorch/pull/105308 make it easier to support tensor subclassing with torch.compile, but there don't seem to be (external) docs for it.


### Alternatives

_No response_

### Additional context

_No response_

cc @svekars @carljparker @Chillee @ezyang @zou3519 @albanD @samdow @msaroufim @wconstab @bdhirsh @anijain2305
Repository: neovim
Issue: NetBSD: man.lua fails to find manpage
Labels: bug,plugin,complexity:low

### Problem

In NetBSD, pressing `K` with the cursor on top of a call to `open` (2) gives the following error:

> man.lua: "Could not determine man directories from: 'man -w', 'manpath' or $MANPATH"

The `FIND_ARG` in `runtime/lua/man.lua` is `-w`, so I tried running the command manually to check the output:

```
$ man -w open
/usr/share/man/man2/open.2
```

Additionally, inputing a section before pressing K, for example `2K` (which would bring the page for open(2)) gives the error

> E481: No range allowed

Both commands work as expected in vim 9.0.




### Steps to reproduce

Example code:

```
open()
```

Place the cursor on top of `open` and execute the `K` command in normal mode.

### Expected behavior

The manual page for the `open(2)` system call is opened.

### Neovim version (nvim -v)

NVIM v0.9.0

### Vim (not Nvim) behaves the same?

No. VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct  6 2023 02:53:08) 

### Operating system/version

NetBSD 10.99.10 (GENERIC64)

### Terminal name/version

wezterm 20230712-072601-f4abf8fd

### $TERM environment variable

tmux-256color

### Installation

Installed with pkg_add (system package manager)
Repository: flutter
Issue: [Impeller] `FilterInput::GetSnapshot` needs a docstring
Labels: P2,c: tech-debt,e: impeller,team-engine,triaged-engine

It's unclear what `coverage_limit` is for.  `TextureFilterInput::GetSnapshot` doesn't ever read the `coverage_limit` argument.  It also never uses the `renderer` argument.
Repository: angular
Issue: Defer syntax doesn't create lazy chunks when component imported from a barrel
Labels: area: core,core: defer

### Which @angular/* package(s) are the source of the bug?

compiler

### Is this a regression?

No

### Description

When using the new defer syntax with component imported from a barrel file (like a `index.ts` with re-exports) the expected lazy-loaded chunks are not created. Instead, the component is included in the main bundle, which contradicts the intended lazy loading behavior.

### Steps to Reproduce

- Create two components
- Create index.ts file which re-exports them both
- Import both components to the parent using index.ts file
- Add both components to the imports section of parent component
- Use both components in the template
- Wrap one of them to defer block

### Expected behavior

After the build process, the dist directory should contain a lazy-loaded chunk that includes the component wrapper to the defer block.

### Actual Behavior

No lazy-loaded chunks are created. Both components is bundled in the main chunk.

### Please provide a link to a minimal reproduction of the bug

https://github.com/mdafanasev/angular-defer-barrel-file-issue

### Please provide the exception or error you saw

_No response_

### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 17.0.0-rc.3
Node: 18.18.2
Package Manager: npm 9.7.2
OS: linux x64

Angular: 17.0.0-rc.2
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.0-rc.3
@angular-devkit/build-angular   17.0.0-rc.3
@angular-devkit/core            17.0.0-rc.3
@angular-devkit/schematics      17.0.0-rc.3
@angular/cli                    17.0.0-rc.3
@schematics/angular             17.0.0-rc.3
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.2
```


### Anything else?

_No response_
Repository: neovim
Issue: Using "addr" without "range" in nvim_create_user_command leads to confusing behavior
Labels: api

### Problem

Using `addr` without `range` in `nvim_create_user_command` leads to confusing behavior that is different from using `-addr` without `-range` in `:command`.

### Steps to reproduce

1. Run `:command -addr=other Test1 :`.
2. Run `:1,2Test1`, which doesn't give an error.
3. Run `:call nvim_create_user_command('Test2', ':', #{addr: 'other'})`.
4. Run `:1,2Test2`, which gives `E481: No range allowed`. This is confusing as it is different from the behavior of `:command`, and such a difference is not documented.

### Expected behavior

Less confusing behavior or a documentation update to suggest that "addr" should be used with "range".

### Neovim version (nvim -v)

v0.10.0-dev-1487+g88ed9ffcd

### Vim (not Nvim) behaves the same?

N/A

### Operating system/version

Arch Linux

### Terminal name/version

kitty 0.30.1

### $TERM environment variable

xterm-kitty

### Installation

build from repo
Repository: opencv
Issue: Opencv OpenGL support 
Labels: category: documentation,incomplete

I am trying to use OpenCV display window with OpenGL support.

I couldn't find any minimal example that displays an image and draw rectangles, lines, text on top of the display (unlike cv::rectangle, cv::PuText ...etc ) that draw on top of the image.  I am able to display the image, but I have no idea how to draw on top of it. 

This is my attempt : 

I create a callback function to draw : 

```
void on_image_update_clbk(void* param) {

	/*draw image */
	cv::ogl::Texture2D* backgroundTex = (cv::ogl::Texture2D*)param;
	glEnable(GL_TEXTURE_2D);
	backgroundTex->bind();
	cv::ogl::render(*backgroundTex);
	glDisable(GL_TEXTURE_2D);

	/*draw rectangle*/
	

       /*draw text /

}

```
I initialize the window. 

```
cv::setOpenGlContext(DISPLAY_WINDOW_NAME);
cv::setOpenGlDrawCallback(DISPLAY_WINDOW_NAME, on_image_update_clbk, &cvGLTexture);
```

and this is how I update the window  :

```
img = cv::imread("Path_to_Dir\\test.jpg");
if (!img.empty()) {
	//Convert to OpenGL texture
	cvGLTexture = cv::ogl::Texture2D(img);
       // update the window
	cv::updateWindow(DISPLAY_WINDOW_NAME);
}  
```
Repository: PowerToys
Issue: Laptop with touch screen
Labels: Needs-Triage,Needs-Team-Response

### Description of the new feature / enhancement

Hi I have a old Asus TP300L Series with touch screen functionality, this function only  works on windows 8, works on windows 10 but with specific version, I would like to ask if can you add a feature that can disable mouse and keyboard so that I can use my touch screen functionality in any time I want it, hope this will add to your features, this helps us old user laptops with windows driver issue, I have some more ideas on your Powertoys and I guess this is the first one.

### Scenario when this would be used?

If I disable mouse and keyboard I can use my touch screen even if I accidentally touch the keys on my keyboard or mousepad.

### Supporting information

Due to windows updates, other laptop with the best features dont function well, others twicks it via bios but others dont have that functionality and uses 3rd party software, and this creates another issue due to the function they want is that accurate to what they need.
Repository: bitcoin
Issue: getaddrmaninfo RPC: add Transport v1/v2 to `tried` for ipv4 & ipv6
Labels: RPC/REST/ZMQ

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current behaviour

Would be nice if the transport version is added to `getaddrmaninfo` RPC for ipv4 and ipv6, so the user can see how many Transport v1/v2 one's node has connected to.
current:

`getaddrmaninfo`

{
  "ipv4": {
    "new": x,
    "tried": x,
    "total": x
  },
  "ipv6": {
    "new": x,
    "tried": x,
    "total": x
  },
  "onion": {
    "new": x,
    "tried": x,
    "total": x
...

### Expected behaviour

`getaddrmaninfo`

{
  "ipv4": {
    "new": x,
    "tried": x, {
      "transportv1": x,
      "transportv2": x, }
    "total": x
  },
  "ipv6": {
    "new": x,
    "tried": x, {
      "transportv1": x,
      "transportv2": x, }
    "total": x
  },
  "onion": {
    "new": x,
    "tried": x,
    "total": x
...

or something like this

### Steps to reproduce

.

### Relevant log output

_No response_

### How did you obtain Bitcoin Core

Compiled from source

### What version of Bitcoin Core are you using?

v26.0.rc2

### Operating system and version

.

### Machine specifications

_No response_
Repository: pytorch
Issue: Add tests for ProcessGroupGloo::reduce_scatter_base and allgather_base
Labels: oncall: distributed

### 🚀 The feature, motivation and pitch

These are added as fallback APIs in https://github.com/pytorch/pytorch/pull/112144, but require unittests to be added.

### Alternatives

_No response_

### Additional context

_No response_

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin
Repository: tauri
Issue: [bug] npm run tauri dev crashes on saving main.tsx
Labels: type: bug,status: needs triage

### Describe the bug

I'm creating a multi-window app using Tauri. When I'm in dev I run `npm run tauri dev` to start the dev environment.

I use rust to create a window in runtime and close the first window. When I'm working on this newly created window, I hit `save` on frontend's entry `main.tsx`, the app crashes, and the command exits immediately without any warnings or errors, nothing.

### Reproduction

1. Create a new app using react as frontend
2. Add create window code in rust and make jump logic
3. Enter dev env using `npm run tauri dev` 
4. Save `main.tsx` file

### Expected behavior

Live-load changes to my source code as expected

### Platform and versions

```text
[✔] Environment
    - OS: Mac OS 14.0.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.73.0 (cc66ad468 2023-10-03)
    ✔ cargo: 1.73.0 (9c4383fb5 2023-08-26)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 18.17.1
    - pnpm: 8.6.6
    - npm: 9.6.7
    - bun: 1.0.7

[-] Packages
    - tauri [RUST]: 1.5.2
    - tauri-build [RUST]: 1.5.0
    - wry [RUST]: 0.24.4
    - tao [RUST]: 0.16.5
    - tauri-cli [RUST]: 1.5.6
    - @tauri-apps/api [NPM]: 1.5.1
    - @tauri-apps/cli [NPM]: 1.5.6

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:1420/
    - framework: React
    - bundler: Vite
```
```


### Stack trace

```text
None
```


### Additional context

_No response_
Repository: pytorch
Issue: Allow to construct distributed Work object from Future
Labels: oncall: distributed

### 🚀 The feature, motivation and pitch

While we still have work in addition to future in the distributed codebase, it would be useful to allow creating `Work` from `Future`. This is so that we can use future chaining in APIs that currently require us to return ProcessGroup::Work objects. 

### Alternatives

_No response_

### Additional context

_No response_

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin
Repository: godot
Issue: OpenGL - depth clear issue in directional shadow atlas
Labels: bug,topic:rendering,confirmed,topic:3d

### Godot version

4.2.dev 5ee983188de97ae027f9b9c1443438063f708a7e

### System information

Windows - OpenGL

### Issue description

I may have introduced this in the work I'm doing right now but just in case this is a more serious issue I don't want to loose track of it. Don't have time to investigate it right now.

In `LightStorage::update_directional_shadow_atlas` the code:
```
glDepthMask(GL_TRUE);
glBindFramebuffer(GL_FRAMEBUFFER, directional_shadow.fbo);
RasterizerGLES3::clear_depth(1.0);
glClear(GL_DEPTH_BUFFER_BIT);
```

Results in:
```
ERROR: GL ERROR: Source: OpenGL Type: Undefined behavior  ID: 131222  Severity: Medium
Message: Program undefined behavior warning:
The current GL state uses a sampler (0) that has depth comparisons enabled,
with a texture object (1018) with a depth format,
by a shader that samples it with a non-shadow sampler.
Using this state to sample would result in undefined behavior
```
(edited for readability)

### Steps to reproduce

Create a project using the compatibility renderer with a directional light, and turn it on.

### Minimal reproduction project

n/a
Repository: next.js
Issue: Exports is undefined in dev if add "next" to transpilePackages
Labels: bug

### Link to the code that reproduces this issue

https://github.com/Noitidart/self-transpile

### To Reproduce

1. Using `{ node: 'v18.13.0', npm: '8.19.3' }`
2. Run `npx create-next-app@latest`
3. Accept all defaults except for "App Router" choose no (this may not matter).
4. Once complete, go to `package.json` and add `"browserslist": ["supports es5"]`
5. Go to `next.config.js` and add `transpilePackages: ['next']`
6. Do `npm run dev`.
7. You will see page errors with "exports is not defined"

### Current vs. Expected behavior

Dev should work.

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:22 PDT 2023; root:xnu-8796.121.3~7/RELEASE_X86_64
Binaries:
  Node: 18.13.0
  npm: 8.19.3
  Yarn: 1.22.19
  pnpm: N/A
Relevant Packages:
  next: 14.0.2-canary.17
  eslint-config-next: 14.0.1
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

SWC transpilation

### Additional context

_No response_
Repository: vscode
Issue: Process explorer does not show memory usage on remote server
Labels: bug,workbench-diagnostics,confirmed

<!-- ⚠️⚠️ 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. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 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.84.1
- OS Version: Windows_NT x64 10.0.19045(local) Linux x64 4.15.0-208-generic(remote)
Steps to Reproduce:
1. open process explorer 
![image](https://github.com/microsoft/vscode/assets/14952735/46504326-620d-4035-bc8d-86746d1608dc)

the CPU(%) is working (it shows 0 only because it's not working right now) but the memory usage on remote server stays at 0 all the time
Repository: opencv
Issue: OpenGL support (drawing functions).
Labels: feature

### Describe the feature and motivation

As the option of using OpenGL based display exists ( cv::WINDOW_OPENGL) , it's more convenient to have the drawing primitives as well.  

For now, displaying an image using opengl support means creating a  callback function and using glu.h or  gut.h for text , point , line ...  rendering.   

I think it's more convenient to have for example cv::ogl::putText , cv::ogl::Line , cv::ogl::Rectangle ...etc

### Additional context

_No response_
Repository: flutter
Issue: Can SelectionArea support text drawn in the canvas of CustomPainter?
Labels: c: new feature,framework,c: proposal,P3,f: selection,team-framework,triaged-framework

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

I have used TextPainter to display some text on the Canvas. Now I want to select it.

### Proposal

Can we consider enabling text drawn using TextPainter on the canvas to support selection, similar to a text widget?
Repository: pytorch
Issue: Request to create a tutorial for loading a model dumped by `torch.export`
Labels: triaged,docathon-h2-2023,oncall: export

### 📚 The doc issue

With the `torch.compile` feature, users can export the model out with `torch.export` function to a file. However, there seems to be no tutorials/docs introducing how to load the model back from file and apply it to inference/fine-tuning.

Request to cover this content in the docs/tutorials.

### Suggest a potential alternative/fix

_No response_

cc @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4
Repository: rust
Issue: Only with `all` or `split-debuginfo` can `-Zremap-path-scope` remap `SO` symbols on macOS
Labels: O-macos,A-debuginfo,C-bug,F-trim-paths

### Problem

It's very clear in RFC that 

* Remaps for `split-debuginfo` only happen in split debuginfo files.
* Remaps for `unsplit-debuginfo` only happen in compiled executables or libraries.
* Remaps for `split-debuginfo-path` only remap paths pointing to split debuginfo files.

However, on macOS even you have split debuginfo, `SO` symbols is still there in the executable.


```shell
# Neither `SCOPE=unsplit-debuginfo` or `SCOPE=object` work.
rustc main.rs -g -C -Zunstable-options split-debuginfo=packed \
    -Zremap-path-scope="${SCOPE}" \
    --remap-path-prefix="${HOME}"=

rm -rf main.dSYM # we don't need this

dsymutil -s main | rg N_SO # You'll see absolute paths to `main.rs`
```

Although it seems like expected as scope `object` is a union of `unsplit-debuginfo | split-debuginfo-path | macro`. However, since absolute paths are still embedded in executables, the doc lies on _"This ensures all paths in compiled executables or libraries are remapped_.

### `rustc --version --verbose`

```
rustc 1.75.0-nightly (189d6c71f 2023-11-06)
binary: rustc
commit-hash: 189d6c71f3bb6c52113b5639a80839791974fd22
commit-date: 2023-11-06
host: aarch64-apple-darwin
release: 1.75.0-nightly
LLVM version: 17.0.4
```
Repository: PowerToys
Issue: mouse without borders wired connection？
Labels: Needs-Triage,Product-Mouse Without Borders

### Description of the new feature / enhancement

I have noticed that there is a picture in the settings interface of mouse without borders tool :
<img width="126" alt="屏幕截图 2023-11-07 124731" src="https://github.com/microsoft/PowerToys/assets/48362309/f841dbb4-7e7a-4a06-abb4-de62d3e835ce">
seems like this tool supports wired connection, but I cant find any option for that. Is there anyway I can use physical connection instead of Internet connection to improve the quality? 

### Scenario when this would be used?

Just want to make sure the inter-device operation is smooth.

### Supporting information

_No response_
Repository: bitcoin
Issue: Make -stopatheight work with background sync
Labels: Feature

### Please describe the feature you'd like to see added.

When a background chainstate is present and `-stopatheight` is set below the assumeutxo height, stop when the background sync reaches that height.

### Is your feature related to a problem, if so please describe it.

Currently the node will stop as soon as the tip grows, because of `m_stop_at_height && index.nHeight >= m_stop_at_height`.

### Describe the solution you'd like

_No response_

### Describe any alternatives you've considered

_No response_

### Please leave any additional context

_No response_