sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Fractional scaling makes cursor inaccurate on Chromebooks
Labels: bug,linux,editor-rendering

<!-- ⚠️⚠️ 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.71.0
- OS Version: ChromeOS 105

Steps to Reproduce:

On a computer with display scaling set to 125%:

1. Got to https://github.com/microsoft/vscode
2. Press `.` on keyboard
3. Open a code file, click the end of a long line and start typing.

Your cursor will be off by around 3 characters and it will be very difficult to tell what's happening. Using another browser like Edge won't help, as that would run on Wayland, which has the same problem:

https://github.com/microsoft/vscode/issues/136390
Bug happening to nearly all Chromebooks, comprising ~10% of US internet users during the school season.
Repository: pytorch
Issue: View consistency for PrimTorch+nvFuser tests
Labels: triaged,module: nvfuser,module: primTorch

### 🚀 The feature, motivation and pitch

`test/test_ops.py:_ref_test_helper` checks whether the output of a reference implementation returns the same `._is_view()` as eager.

The nvFuser execution function always returns a fresh copy currently so `tensor._is_view()` is False. These tests are currently skipped.
How important is view consistency? It's not yet clear whether it's feasible to implement for nvFuser execution and how difficult it is.

### Alternatives

_No response_

### Additional context

Latest master.

cc @ezyang @mruberry @ngimel @Lezcano @fdrocha
Repository: pytorch
Issue: torch.utils.checkpoint (with use_reentrant=False) doesn't work with all PyTorch features that set TLS
Labels: module: checkpoint,triaged,module: __torch_dispatch__,tensor subclass

## Issue description

torch.utils.checkpoint (with use_reentrant=False) returns silently incorrect results with some PyTorch features that set TLS. This includes: functorch (see https://github.com/pytorch/functorch/issues/993), torch_dispatch Mode, and possibly also more.

The root of the issue is that:
- checkpoint needs to re-run the function passed to it to compute intermediates
- This function must be re-run with the same global state as the original function was run
- checkpoint hard-codes some the state it needs:(https://github.com/pytorch/pytorch/blob/2698f99dc7a2efe6d60fffa43beb545901a57c9b/torch/utils/checkpoint.py#L398-L408)

## Code example

Repro for torch_dispatch Mode:
```py
import torch
from torch.utils._python_dispatch import TorchDispatchMode
import torch.utils.checkpoint

class NoRandomnessMode(TorchDispatchMode):
    def __torch_dispatch__(self, func, types, args=(), kwargs=None):
        if kwargs is None:
            kwargs = {}
        import pdb; pdb.set_trace()
        if func == torch.ops.aten.rand.default:
            return torch.ones(*args, **kwargs) / 2
        rs = func(*args, **kwargs)
        return rs

def f(x):
  y = torch.rand(x.shape)
  return x.clone() * y

def g(x):
  return torch.utils.checkpoint.checkpoint(f, x, use_reentrant=False)

x = torch.ones([], requires_grad=True)

with NoRandomnessMode():
  y = g(x)

y.backward()

# assertion failure
assert torch.allclose(x.grad, y)
```

## Resolution

The implication for torch_dispatch mode is that checkpointing needs to somehow save the mode stack at the time of the forward pass and then restore it when it re-runs the forward pass.

Robustness: this problem sounds similar to [Aten/ThreadLocalState.h](https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/ThreadLocalState.h) -- in ATen, there is one place that encapsulates all TLS. If we had something like that for Python, then if anyone comes along to add some TLS in the future, checkpoint would automatically work with it.


cc @Chillee @ezyang @albanD @samdow
Repository: vscode
Issue: Given VS Code processes unique icons and titles on Windows
Labels: feature-request,windows,workbench-os-integration

Task manager shows this on Edge Dev:

![image](https://user-images.githubusercontent.com/2193314/189698407-315b7c06-f10b-4cb2-a9d4-226fc8c4c9a4.png)

It would be very helpful to ID the processes for VS Code this way as well. Currently they all use the same icon and title so they're hard to differentiate with the large command lines:

![image](https://user-images.githubusercontent.com/2193314/189698675-7f2b8bc1-a810-46b3-a497-2e51a8ae36da.png)
Repository: PowerToys
Issue: PowerToys Run limitations (not finding apps)
Labels: Needs-Triage

### Description of the new feature / enhancement

Ideally PowerToys Run would be able to start any application installed on a machine, where "installed" means any of-

1. An exe or lnk file in a folder that is listed in the PATH environment variable
2. A lnk file in any subfolder of the standard locations for start menu entries (i.e. installed per-person or for any user)
3. An exe path in the two standard registry locations defined by Microsoft (see BugID #20244)
4. Optional additional locations (e.g, for portable apps run from their app root folder, which might be transient. e.g. on a USB stick)

Currently this is not the case. I have any number of apps on my machine, installed using their vendors respective standard MSI installers, that PowerToys Run can't "see". Affinity Designer, Affinity Photo, Steam are 3 examples.

PowerToys Run would be more useful if it could access a higher proportion of the apps on a typical PC.

It would be great of PT could actually help fix the problem, e,g, by finding all the executables on a machine and giving the user the option to selectively add them to the appropriate registry app path key, but maybe that's beyond what PT is aimed to do.


### Scenario when this would be used?

Whenever PT Run is used

### Supporting information

See also-

#20244 PT does not register itself in the standard app path locations?

#20498 PowerToys Run custom locations
Repository: rust
Issue: Add help suggestion for incorrect placement of `unsafe` for trait declaration
Labels: A-diagnostics,T-compiler

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.

If you cannot produce a minimal reproduction case (something that would work in
isolation), please provide the steps or even link to a repository that causes
the problematic output to occur.
-->

Given the following code: [link](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=fd39227fcb966a74964eaefce4930c23)

```rust
trait unsafe Trait {}

fn main() {
    
}
```

The current output is:

```
   Compiling playground v0.0.1 (/playground)
error: expected identifier, found keyword `unsafe`
 --> src/main.rs:1:7
  |
1 | trait unsafe Trait {}
  |       ^^^^^^ expected identifier, found keyword

error: expected one of `:`, `<`, `=`, `where`, or `{`, found `Trait`
 --> src/main.rs:1:14
  |
1 | trait unsafe Trait {}
  |              ^^^^^ expected one of `:`, `<`, `=`, `where`, or `{`

error: could not compile `playground` due to 2 previous errors
```

<!-- The following is not always necessary. -->
Ideally the output should suggest switching the order of `trait` and `unsafe`. Thanks.

<!--
If the problem is not self-explanatory, please provide a rationale for the
change.
-->

<!--
If dramatically different output is caused by small changes, consider also
adding them here.

If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions. The output might also be
different depending on the Edition.
-->
Repository: PowerToys
Issue: Temporarily suspend running PowerToys processes
Labels: Needs-Triage

### Description of the new feature / enhancement

When updating PowerShell on my PC just now, I was asked to turn off several running PowerToys processes (e.g. PowerToys.AlwaysOnTop and PowerToys.Awake). Please consider building a temporary (e.g. 15 minutes) suspension capablity, so that users can make such system changes without having to manually kill, then restart, various processes. Thanks!
--Ed--

### Scenario when this would be used?

While installing or upgrading system tools or utilities such as PowerShell.

### Supporting information

_No response_
Repository: flutter
Issue: Framework should be able to load assets from the "current package" using a package prefix
Labels: c: new feature,tool,framework,P3,team-framework,triaged-framework

Today the framework and asset load system makes a distinction between assets that are dependencies and assets that come from the current packge. Assets from the current package can be loaded with just the asset path as a key, where as dependenices require a `packages/<package-name>/` prefix.

This would be a fine feature, but we disallow loading from the "current package" using the package prefix, this unnecessarily complicates testing for packages which are not intended to be used as applications. For instance, see https://github.com/flutter/flutter/pull/111350

When running a test we add a mocked asset loaded that allows loading with or without the package prefix. We should just fold this functionality into the regular asset loader. This could be done by adding more information to the asset_manifest.json. Then we can delete the special handling in the framework
Repository: rust
Issue: Tracking Issue for De-RFC 3307: Remove type ascription
Labels: B-RFC-approved,T-lang,C-tracking-issue,F-type_ascription,S-tracking-remove-implementation

This supersedes https://github.com/rust-lang/rust/issues/23416


This is a tracking issue for the RFC "3307" (rust-lang/rfcs#3307).

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps


- [ ] Implement the RFC:
    - [x] Remove type ascription from the parser and diagnostics
    - [ ] @rust-lang/compiler: Do y'all have a preference as to how far the removal should go? Unparseable AST nodes could be left in the code, for example (perhaps only instantiable by internal macro)
- [ ] Adjust documentation: Remove it from the unstable book
- [x] (No stabilization PR necessary)
- [ ] Remove the feature gate.

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs

### Unresolved Questions

 - [ ] Should this be completely removed by the compiler, or left behind in a way that cannot be directly accessed through Rust syntax (or requires using a wrapper macro)?
 - [ ] 

### Implementation history


<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

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

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: TypeScript
Issue: If typings field is used to resolve module name, errors arent reported with forceConsistentCasingInFileNames
Labels: Needs Investigation

@sheetalkamat I can still reproduce this in TS 4.8, with a slightly different test case. You will need to run `yarn add fp-ts` or `npm install fp-ts`.

```ts
import * as xs1 from "fp-ts/lib/struct";
// Error as expected ✅
import * as xs2 from "fp-ts/lib/Struct";

import * as xs3 from "fp-ts/struct";
// Expected error, but got none ❌
import * as xs4 from "fp-ts/Struct";
```


`fp-ts/struct` maps to `fp-ts/lib/struct`:

```sh-session
❯ cat node_modules/fp-ts/struct/package.json
{
  "main": "../lib/struct.js",
  "module": "../es6/struct.js",
  "typings": "../lib/struct.d.ts",
  "sideEffects": false
}
```

_Originally posted by @OliverJAsh in https://github.com/microsoft/TypeScript/issues/49470#issuecomment-1243633321_
Repository: rust
Issue: Tracking Issue for `rustdoc::missing_doc_code_examples`
Labels: T-rustdoc,C-tracking-issue

This is a tracking issue for the lint `rustdoc::missing_doc_code_examples`.
The feature gate for the issue is `#![feature(rustdoc_missing_doc_code_examples)]`.

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps

- [x] Implement the lint https://github.com/rust-lang/rust/pull/54349
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs

### Unresolved Questions
* https://github.com/rust-lang/rust/issues/77230
* https://github.com/rust-lang/rust/issues/87858

### Implementation history

* https://github.com/rust-lang/rust/pull/54349
* https://github.com/rust-lang/rust/pull/74855
* https://github.com/rust-lang/rust/pull/75776
* https://github.com/rust-lang/rust/pull/76212
* https://github.com/rust-lang/rust/pull/76716
* https://github.com/rust-lang/rust/pull/80527
* https://github.com/rust-lang/rust/pull/88735
* https://github.com/rust-lang/rust/pull/88745
* https://github.com/rust-lang/rust/pull/90098
Repository: flutter
Issue: [flutter_tools] stop logging lldb backtrace on slow observatory port
Labels: tool,P2,team-tool,triaged-tool

From: https://github.com/flutter/flutter/issues/106753#issuecomment-1243953111

We added this to help diagnose devicelab flakes, but we no longer need it.
Repository: vscode
Issue: Hang on merge conflicts
Labels: bug,merge-editor

- VS Code Version: 
```
Version: 1.71.0
Commit: 784b0177c56c607789f9638da7b6bf3230d47a8c
Date: 2022-09-01T07:36:10.600Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.22000
Sandboxed: No
```
- OS Version:
Windows 11.

Steps to Reproduce:

1. Open and try to merge conflicts. Only hang for this specific one:
    ![MergeConflictHang](https://user-images.githubusercontent.com/3674549/189723490-5368f52d-36be-4c14-9bd3-84bdf4eaf754.gif)
1. Not repro in Visual Studio:
    ![image](https://user-images.githubusercontent.com/3674549/189723598-fd975e1f-e11a-4063-90b0-78ab001aba7c.png)

### Conflict
Incoming:
https://github.com/xiaomi7732/ApplicationInsights-Kubernetes/blob/f00d06cc228dace35adc1f2f7c806361a292fa5e/src/ApplicationInsights.Kubernetes/Extensions/KubernetesServiceCollectionBuilder.cs

Current:
https://github.com/microsoft/ApplicationInsights-Kubernetes/blob/faf5ef526fa432caab6926b336aaffc6b299a5d4/src/ApplicationInsights.Kubernetes/Extensions/KubernetesServiceCollectionBuilder.cs
Repository: stable-diffusion-webui
Issue: Include img2img source image name in output metadata
Labels: enhancement,upstream,gradio

**Is your feature request related to a problem? Please describe.**
Sometimes you might want to recreate similar variations of an img2img result that you created in the past. However in order to do so, you need the original image as well.

**Describe the solution you'd like**
Include the file name (not the path, which in HTML/JS isn't available anyways) of the originally specified input image, for example `Input image: 1655082901918.jpg`.
Many websites and social networks (eg. reddit, tumblr, twitter, 4chan, transferred camera/phone photos...) name their images so that they can be identified by their file name alone, and it should be fairly simple for the user to find the original image on their local file systems (assuming they haven't deleted it).

**Describe alternatives you've considered**
Manually keep track of the input images you've ever used for img2img, which however is time-consuming and error-prone.
Repository: material-ui
Issue: [Dark Theme] Using Dark Theme when theme is in a separate file?
Labels: support: question,customization: theme

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

I am not sure if this should be labeled as a bug, since it could just be my organizations use of MUI Theme that is weird and I can't find a proper guide in the theming & dark theme docs for our case.

Currently, we have a theme set up in a seperate file, where we export it from, and then send it into our theme provider. In all examples on dark theme usage in the docs (https://mui.com/material-ui/customization/dark-mode/) the examples show the theme and app being in the same file which allows you to toggle between dark and light mode. Is it a work around for our case, or do we need to re-work the way we set up our themes from scratch?

Context: We're a component library theme for an organization and have multiple micro front end teams that use our components and would like to implement dark mode in the near future.

Our greenTheme.tsx file, in this file we import and spread in styles form { standardTheme } which is where we style components accordingly to our design. For instance we override the styles of mui button there by using (pseudocode) `MuiButton { styleOverrides: root { OurStylingHere } }`

<img width="389" alt="Screenshot 2022-09-12 at 20 27 21" src="https://user-images.githubusercontent.com/52638038/189728914-709cf7c8-82cd-4501-b9ea-8f497431254d.png">


Then we have our ThemeProvider which we use this way as seen in the screenshot, this is only our Storybook example, but basically our front end teams import and render the ThemeProvider and the greenTheme in their root <App> as shown in our Storybook example here. 
<img width="398" alt="Screenshot 2022-09-12 at 20 32 45" src="https://user-images.githubusercontent.com/52638038/189729865-e00208da-4a0a-4cbc-89fc-2a1102c51562.png">

What would be the best approach to handle dark mode in our case? 

Thanks in advance, and any input **if** anyone has built their themes in separate files and solved the dark mode functionality would be appreciated.


### Expected behavior 🤔

_No response_

### Steps to reproduce 🕹

Steps:

1.
2.
3.
4.


### Context 🔦

_No response_

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>
Repository: PowerToys
Issue: Can't switch between Excel windows when one is "always on top"
Labels: Issue-Bug,Product-Always On Top,Priority-2

### Microsoft PowerToys version

0.62.0

### Running as admin

- [ ] Yes

### Area(s) with issue?

Always on Top

### Steps to reproduce

Open two instances of Excel viewing two different spreadsheets.
Click Ctrl-Win-T on one to keep it on top.
hit Alt-tab to select the "other" one.

Workaround:
in the top Excel instance, hit ctrl-win-T again to turn off keep on top.
now alt-win will let you get to the other instance.


### ✔️ Expected Behavior

Expected result:  focus switches to the 'bottom' instance of Excel


### ❌ Actual Behavior

Actual result: focus stays on the top instance.


### Other Software

MS Excel 365:
"Microsoft® Excel® for Microsoft 365 MSO (Version 2208 Build 16.0.15601.20072) 64-bit "
Repository: nvm
Issue: can nvm be used to created a sort of sandboxed npm install?
Labels: feature requests

<!-- Thank you for being interested in nvm! Please help us by filling out the following form if you‘re having trouble. If you have a feature request, or some other question, please feel free to clear out the form. Thanks! -->

I'm new but it seems nvm keeps the global environment of npm installs separate.  So it seems like it would be a short jump to
have a couple different nvm installs of the same version with different names and different environments.  I didn't see options
to do this, is it possible?

#### Operating system and version:

#### `nvm debug` output:
<details>
<!-- do not delete the following blank line -->

```sh

```
</details>

#### `nvm ls` output:
<details>
<!-- do not delete the following blank line -->

```sh

```
</details>

#### How did you install `nvm`?
<!-- (e.g. install script in readme, Homebrew) -->

#### What steps did you perform?

#### What happened?

#### What did you expect to happen?

#### Is there anything in any of your profile files that modifies the `PATH`?
<!--  (e.g. `.bashrc`, `.bash_profile`, `.zshrc`, etc) -->

<!-- Please remove the following section if it does not apply to you -->
#### If you are having installation issues, or getting "N/A", what does `curl -I --compressed -v https://nodejs.org/dist/` print out?
<details>
<!-- do not delete the following blank line -->

```sh

```
</details>
Repository: ant-design
Issue: Menu inlineIndent 功能优化
Labels: Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/cai-dan-suo-jin-rrw51q)

### Steps to reproduce

设置 inlineIndent 参数

### What is expected?

忽略顶级菜单缩进，分组标签按照正常菜单逻辑缩进

### What is actually happening?

顶级菜单未忽略缩进，分组标签忽略了缩进参数

| Environment | Info |
| --- | --- |
| antd | 4.23.1 |
| React | React 18 |
| System | WIN11 |
| Browser | Chrome 105 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->

原 issues: https://github.com/ant-design/ant-design/issues/36811

新 PR: https://github.com/react-component/menu/pull/500
Repository: godot
Issue: Initial value for exported Resource type doesn't show up in the inspector
Labels: bug,topic:editor

### Godot version

v3.5.stable.official [991bb6ac7]

### System information

Windows 10, 64bit

### Issue description

![image](https://user-images.githubusercontent.com/35988767/189798092-06797126-d7b2-4768-9bf8-46464d4c7f2b.png)


### Steps to reproduce

/

### Minimal reproduction project

[CusResTest2.zip](https://github.com/godotengine/godot/files/9553170/CusResTest2.zip)
Repository: three.js
Issue: LDrawLoader: Incorrect normals in function smoothNormals
Labels: Bug,Loaders

<!-- Ignoring this template may result in your bug report getting deleted -->

**Describe the bug**

I loaded part 6156.dat in example webgl_loader_ldraw, LDrawLoader renders black normals while enabled 'Smooth Normals' option, actually the calculated normals are incorrect. And if disabled the option, LDrawLoader renders correctly.


<img width="714" alt="iShot_2022-09-13_12 02 48" src="https://user-images.githubusercontent.com/29625655/189804921-e816c24f-fc3e-4a67-ae2b-ccf35a87616c.png">
<img width="681" alt="iShot_2022-09-13_12 03 07" src="https://user-images.githubusercontent.com/29625655/189804933-69039b9b-2bb7-48c5-bcab-d4d8db4a8a79.png">
[6156.dat_Packed.mpd.txt](https://github.com/mrdoob/three.js/files/9553431/6156.dat_Packed.mpd.txt)