sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: terminal
Issue: Killing DWM hangs the Terminal on 22000
Labels: Area-Rendering,Issue-Bug,Product-Terminal,Priority-2

This is likely due to the renderer refactor for atlas engine.

Repro is fairly consistent:

```
taskkill /f /im dwm.exe
```

from an elevated Terminal. 

* **weird thing 1**: If you're using the Atlas engine, you'll get a `ContentDialog` with an Unspecified Error from the renderer. This isn't the normal per-control warning, this is the window-level dialog. The renderer keeps chooching along though...?
* **crash 2**: while outputting text with the DxEngine, the whole terminal will crash. 

<details>
<summary>Stack</summary>

```
 178  Id: 4d78.cf0c Suspend: 1 Teb: 00000051`5195a000 Unfrozen "Rendering Output Thread"
 # Child-SP          RetAddr               Call Site
00 00000051`524fda90 00007ff8`81998879     KERNELBASE!RaiseFailFastException+0x152 [minkernel\kernelbase\xcpt.c @ 1198] 
01 00000051`524fe070 00007ff8`819950ac     Microsoft_Terminal_Control!wil::details::WilDynamicLoadRaiseFailFastException+0x49 [C:\a\_work\1\s\dep\wil\include\wil\result_macros.h @ 1841] 
02 00000051`524fe0a0 00007ff8`81995090     Microsoft_Terminal_Control!wil::details::WilRaiseFailFastException+0x18 [C:\a\_work\1\s\dep\wil\include\wil\result_macros.h @ 1781] 
03 00000051`524fe0d0 00007ff8`819958bf     Microsoft_Terminal_Control!wil::details::WilFailFast+0xa8 [C:\a\_work\1\s\dep\wil\include\wil\result_macros.h @ 3619] 
04 00000051`524fe1a0 00007ff8`81995284     Microsoft_Terminal_Control!wil::details::ReportFailure_NoReturn<3>+0x23f [C:\a\_work\1\s\dep\wil\include\wil\result_macros.h @ 3662] 
05 00000051`524ff6a0 00007ff8`8199567f     Microsoft_Terminal_Control!wil::details::ReportFailure_Base<3,0>+0x30 [C:\a\_work\1\s\dep\wil\include\wil\result_macros.h @ 3687] 
06 00000051`524ff700 00007ff8`819e3c38     Microsoft_Terminal_Control!wil::details::ReportFailure_Hr<3>+0x5f [C:\a\_work\1\s\dep\wil\include\wil\result_macros.h @ 3848] 
07 00000051`524ff780 00007ff8`81984f87     Microsoft_Terminal_Control!wil::details::in1diag3::_FailFast_Hr+0x18 [C:\a\_work\1\s\dep\wil\include\wil\result_macros.h @ 4925] 
08 00000051`524ff7d0 00007ff8`8194b3d0     Microsoft_Terminal_Control!Microsoft::Console::Render::DxEngine::Present+0x42cb7 [C:\a\_work\1\s\src\renderer\dx\DxRenderer.cpp @ 1579] 
09 00000051`524ff810 00007ff8`8194b626     Microsoft_Terminal_Control!Microsoft::Console::Render::Renderer::_PaintFrameForEngine+0x20c [C:\a\_work\1\s\src\renderer\base\renderer.cpp @ 179] 
0a 00000051`524ff8b0 00007ff8`8194b6d5     Microsoft_Terminal_Control!Microsoft::Console::Render::Renderer::PaintFrame+0x4a [C:\a\_work\1\s\src\renderer\base\renderer.cpp @ 79] 
0b 00000051`524ff8e0 00007ff8`f1e51474     Microsoft_Terminal_Control!Microsoft::Console::Render::RenderThread::_ThreadProc+0x71 [C:\a\_work\1\s\src\renderer\base\thread.cpp @ 214] 
0c 00000051`524ff910 00007ff8`f31a3258     KERNEL32!BaseThreadInitThunk+0x14 [clientcore\base\win32\client\thread.c @ 75] 
0d 00000051`524ff940 00000000`00000000     ntdll!RtlUserThreadStart+0x28 [minkernel\ntdll\rtlstrt.c @ 1166] 
```

</details>
Repository: vscode
Issue: runTest is not honoring the launchArg '--new-window'
Labels: bug,extensions-development

I have a test with 2 calls to runTests, the first one opens a folder, does it's thing and finishes.  The second one is opening vscode with this 
```
await runTests({
	vscodeExecutablePath,
	extensionDevelopmentPath,
	extensionTestsPath:path.resolve(__dirname, './suite'),
	launchArgs: ['--new-window', '--disable-gpu'] });
```

but the new vscode instance comes up with the previous folder opened again which is not what I want.  If I run the same .vscode-test  version of code.exe manually with `--new-window` it works properly and no previous folder is opened.
Repository: go
Issue: x/build: clean up the dev.typeparams branch
Labels: Builders,NeedsFix

As observed in https://go.dev/cl/388494, we still have infrastructure around to support the `dev.typeparams` branch. This is no longer necessary. Filing this issue as a reminder to clean up. Not a big deal -- I defer to the release team to prioritize.

CC @golang/release @griesemer
Repository: pytorch
Issue: Mention docker build process in RELEASE.md and automate building those for release
Labels: module: ci,triaged,enhancement,module: docker

### 🐛 Describe the bug

https://hub.docker.com/r/pytorch/pytorch/tags is not regularly updated and we often forget to do it

Is there a big demand for this usecase? If not, should we stop doing it. If there is it should be automated

### Versions

N/A

cc @seemethere @malfet @pytorch/pytorch-dev-infra
Repository: PowerToys
Issue: Shaking cursor while having crosshair enabled dislocates the crosshair position
Labels: Issue-Bug,Needs-Repro,Priority-3,Product-Mouse Utilities

### Microsoft PowerToys version

0.56.1

### Running as admin

- [X] Yes

### Area(s) with issue?

Mouse Utilities

### Steps to reproduce

- Enable Mouse Pointer Crosshairs in settings
- With it enabled and showing, quickly shake the mouse and bring it to halt.
- Observe that the crosshair is no longer positioned to the actual position of the cursor.
- Moving the cursor again fixes it.

![New Project](https://user-images.githubusercontent.com/51435948/156053693-58dfa433-4063-476f-9e6f-f14a93b60291.png)


### ✔️ Expected Behavior

The crosshair should always have the cursor at its center.

### ❌ Actual Behavior

The crosshair does not have the cursor at its center when shaken and stopped.

### Other Software

_No response_
Repository: vscode
Issue: Can't read deeply nested files in narrow explorer
Labels: feature-request,file-explorer

This view isn't great:
<img width="1106" alt="image" src="https://user-images.githubusercontent.com/8586769/156057624-0a89baed-76b5-496e-9327-3f2fffdb7ad5.png">

It'd be cool to somehow shift the contents over when no shallow resources are visible

cc @joaomoreno
Repository: vscode
Issue: Cannot drag a view into a side bar (or panel) that has only a webview view
Labels: bug,verification-found,workbench-views,webview-views

If you have a side bar or panel that just has a webview, you can't drag and drop another view into it -- even hovering over the view header.

I swear at one point this used to work, but I've tried on stable and insiders.

/cc @sbatten
Repository: TypeScript
Issue: Use more specific Go to Type Definition message than "no type definition found" on literal values
Labels: Suggestion,Experience Enhancement

*TS Template added by @mjbvz*

**TypeScript Version**: 4.6

**Search Terms**
- definitionAndBoundSpan
- definitions
- f12

---

<!-- ⚠️⚠️ 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. -->

Asking VS Code to go to type definition on a primitive such as `true` or `"hello"` in TypeScript gives the general `No type definition found for '{0}'` message:

![Screenshot of 'No type definition found for 'true' on a line of code saying true;](https://user-images.githubusercontent.com/3335181/151685631-62fd8f55-7a32-48aa-8eef-1cdfdcde44a7.png)

It would be a little more accurate -and less misleading in the case of a user misclicking when they'd meant to select something else- to give an error message tailored to the value in question being a literal.

How about... `'{0}' is the built-in {1} type`, where `{1}` would be `boolean`, `string`, etc.?

I'd be happy to send this PR myself. 🙂
Repository: flutter
Issue: AnimatedScale hit test miss
Labels: a: tests,framework,has reproducible steps,P2,found in release: 2.10,found in release: 2.11,team-framework,triaged-framework

Having an animated scale with an inkwell makes hit test miss

Repro repository:

https://github.com/cedvdb/flutter_repros/tree/animated_scale_hit_test   <= branch animated_scale_hit_test

Then run:

`flutter test`

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const ScaledCard(
      key: ValueKey('tap-me'),
    );
  }
}

class ScaledCard extends StatelessWidget {
  const ScaledCard({
    Key? key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return AnimatedScale(
      scale: 1.05,
      duration: const Duration(seconds: 1),
      child: Card(
        child: InkWell(
          onTap: () {},
          child: const Text('tap me'),
        ),
      ),
    );
  }
}
```

test

```dart
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

import 'package:flutter_repros/main.dart';

void main() {
  testWidgets('Counter increments smoke test', (WidgetTester tester) async {
    // Build our app and trigger a frame.
    await tester.pumpWidget(const MyApp());

    await tester.pumpAndSettle();
    await tester.tap(find.byKey(const ValueKey('tap-me')));
    await tester.pumpAndSettle();
  });
}

```
Repository: flutter
Issue: fix(State): improve setState documentation
Labels: framework,d: api docs,P3,team-framework,triaged-framework

The `setState` documentation is currently lacking two key information from its documentation:

  - the fact that it should be called on leaves to minimize the rebuild cost
  - the fact that `Listenable`s (along with `AnimatedBuilder`) is more performant option

These information can be found in the `AnimatedBuilder` and `StatelessWidget`/`StatefulWidget` docstrings but there are no references or links. The reader might not even be aware of it so we should add at least some references
Repository: pytorch
Issue: Investigate why tensor shapes are not populated when printing WorkNCCL for broadcast
Labels: high priority,triage review,oncall: distributed,better-engineering,module: c10d,module: ddp

### 🐛 Describe the bug

When creating a `WorkNCCL` with `broadcast` OpType, sometimes the tensor shapes are not populated which results in the shape not being printed in logs making things harder to debug, we should look into why this is the case and fix.

### Versions

Main

cc @ezyang @gchanan @zou3519 @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang
Repository: pytorch
Issue: Build failure using GCC 11.2.0
Labels: module: build,triaged,module: mkldnn,module: third_party

### 🐛 Describe the bug

Steps used:

```
git clone --depth 1 --branch v1.10.2 --recurse-submodule https://github.com/pytorch/pytorch.git
mkdir build
cmake3 -DBUILD_SHARED_LIBS=ON -DPYTHON_LIBRARY='' -DBUILD_PYTHON=OFF -DBUILD_BINARY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$VAST/pytorch-install ../pytorch
make -j4
```

Output:

```
/vast/scratch/users/fakeuser.m/pytorch-1.10.2/pytorch/third_party/ideep/mkl-dnn/src/common/primitive_cache.cpp: In member function ‘virtual void dnnl::impl::lru_primitive_cache_t::update_entry(const key_t&, const dnnl::impl::primitive_desc_t*)’:
/vast/scratch/users/fakeuser.m/pytorch-1.10.2/pytorch/third_party/ideep/mkl-dnn/src/common/primitive_cache.cpp:155:60: error: no match for ‘operator!=’ (operand types are ‘const std::thread::id’ and ‘const std::thread::id’)
  155 |     if (it == cache_mapper_.end() || it->first.thread_id() != key.thread_id())
      |                                      ~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~
      |                                                         |                  |
      |                                                         |                  const std::thread::id
      |                                                         const std::thread::id
In file included from /stornext/System/data/apps/gcc/gcc-11.2.0/include/c++/11.2.0/utility:70,
                 from /stornext/System/data/apps/gcc/gcc-11.2.0/include/c++/11.2.0/tuple:38,
                 from /stornext/System/data/apps/gcc/gcc-11.2.0/include/c++/11.2.0/mutex:38,
                 from /stornext/System/data/apps/gcc/gcc-11.2.0/include/c++/11.2.0/future:38,
                 from /vast/scratch/users/fakeuser.m/pytorch-1.10.2/pytorch/third_party/ideep/mkl-dnn/src/common/primitive_cache.hpp:20,
                 from /vast/scratch/users/fakeuser.m/pytorch-1.10.2/pytorch/third_party/ideep/mkl-dnn/src/common/primitive_cache.cpp:17:
/stornext/System/data/apps/gcc/gcc-11.2.0/include/c++/11.2.0/bits/stl_pair.h:496:5: note: candidate: ‘template<class _T1, class _T2> constexpr bool std::operator!=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)’
```

Build is successful with GCC 9.1.0.

### Versions

pytorch 1.10.2
python 3.8.3
gcc 11.2.0
Centos 7.9.2009 

cc @malfet @seemethere @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @VitalyFedyunin
Repository: tauri
Issue: [feat] Global Shortcut support on Wayland
Labels: type: feature request,status: upstream

### Describe the problem

Global Shortcut on Linux only works on x11 because wayland-protocols hasn't define anything yet.
There's a [RFC](https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/56) about this.

### Describe the solution you'd like

While we can use some workaround or implement one our own, it won't be supported by all DEs.
We'll have to wait wayland decide to add this.

### Alternatives considered

_No response_

### Additional context

Tracking issue in tao: https://github.com/tauri-apps/global-hotkey/issues/28
Repository: flutter
Issue: [go_router] Sub route does not restore the state
Labels: package,has reproducible steps,P2,found in release: 2.10,found in release: 2.11,p: go_router,team-go_router,triaged-go_router

I have a parent and child route : Login > Signup. When using RestorationMixin i am able to restore the login form state in LoginScreen but in the SignupScreen its not able to restore the form state.

go_router is able to restore the sub route but unable to restore the state . In my case the value RestorableString was not able to restore.
Repository: PowerToys
Issue: Grow mouse as option vs spotlight
Labels: Idea-Enhancement,Product-Mouse Utilities

### Description of the new feature / enhancement

Right now with PowerToys you either press control twice (welcome to excluding sooo many apps) or shake the mouse (as of the latest version) to get an annoying spotlight effect centred on the mouse pointer, that dims the rest of the screen till you click somewhere.

Why not just… well, sorry, but why not just copy the more sensible, way less annoying method in macOS that lets you turn on temporary enlargement of the mouse pointer if you shake it? That's quick, less visually annoying, and goes away in a second without needing to do anything - perfect!

### Scenario when this would be used?

Temporarily enlarging the mouse pointer when shaken is way more elegant, is far less annoying when accidentally activated, and requires no second step to dismiss the result.

### Supporting information

https://support.apple.com/en-qa/guide/mac-help/mchlp2920/mac
Repository: flutter
Issue: [Windows]SystemMouseCursors grab, grabbing and verticalText aren't working on Desktop
Labels: framework,platform-windows,a: desktop,a: mouse,has reproducible steps,P2,found in release: 2.10,found in release: 2.11,team-windows,triaged-windows

I tried to change the cursor to grab, grabbing and verticalText, but in windows platforms these changes are not reflecting. It works fine in web, macos.

On further analyzing, found that windows and windows uwp entries missing in flutter docs.

Grab - 
    Android: TYPE_GRAB
    Web: grab
    Linux: grab
    macOS: openHandCursor

Grabbing - 
    Android: TYPE_GRABBING
    Web: grabbing
    Linux: grabbing
    macOS: closedHandCursor

VerticalText - 
    Android: TYPE_VERTICAL_TEXT
    Web: vertical-text
    Linux: vertical-text
    macOS: IBeamCursorForVerticalLayout

For other cursors mode,

    Android: TYPE_HAND
    Web: pointer
    **Windows: IDC_HAND
    Windows UWP: CoreCursorType::Hand**
    Linux: pointer
    macOS: pointingHandCursor

## Steps to Reproduce

Code:
```
MouseRegion(
                    cursor: SystemMouseCursors.grab, // issue in windows only
child:child)
```

**Expected results:** Like web and macos, grab symbol must be shown.

**Actual results:** basic cursor symbol is shown

<details>
<summary>Code sample</summary>

<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```dart
```

</details>

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

```
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
```

</details>


<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
-->
Repository: neovim
Issue: Better man page syntax highlighting
Labels: enhancement,plugin

### Feature already in Vim?

Yes

### Feature description

Current limitations in current man page syntax highlighting:

* flag titles are identified by `'^\s\+\%(+\|-\)\S\+` regex. 
  * For aliased flags i.e. `-a, --all`, only the `-a` is highlighted. (Can be partiallly fixed by https://github.com/neovim/neovim/pull/17558. The PR discussion shows there are still use cases where not everything is highlighted)
  * Flags that are not titles, but are the first word in a line, are incorrectly highlighted. For example, the `-L` in the [tmux man page](https://man7.org/linux/man-pages/man1/tmux.1.html) paragraph for `-S socket-path` is highlighted, because its the first character in its line (varies by terminal dimensions).
* subcommand titles are not highlighted. For example, it would be nice to highlight tmux titles for `attach` and `detach`, and systemctl section titles for `start` and `stop`. Neovim bolds these titles based on roff formatting, but does not color highlight them.

The current syntax highlighting is done by per-line regex. Due to the nature of man pages being mostly plain text without symbols, it can be difficult to differentiate between a title and a paragraph using regex. Some possible solutions:

* Someone smarter than me comes up with the correct regexes.
* Parse the man page, instead of relying on regex. For example, [fish shell implements man page parsing internally](https://github.com/fish-shell/fish-shell/blob/master/share/tools/create_manpage_completions.py).
* Use external tool to parse man pages, such as [jroff](https://github.com/roperzh/jroff). This introduces a dependency.
* Don't do this. This can be an external plugin. Probably doesn't make sense for treesitter, since man pages are read only and would not benefit from incremental parsing, but a standalone plugin can be created.
Repository: vscode
Issue: Dialog asking to copy or add workspace folder could mention target
Labels: feature-request,ux,file-explorer

I was testing drag and drop interaction with the explorer and found that the following dialog does not really tell me where the folder would be copied into. Especially when I drop to the empty explorer area and have multiple folders in my multi root workspace, the destination is not clear to me: will it be the first or second folder?

![Recording 2022-03-01 at 08 19 35](https://user-images.githubusercontent.com/900690/156123128-cc0c7eb3-fd50-423f-b870-264b1b8f4c45.gif)


//cc @isidorn @misolori
Repository: opencv
Issue: Cuda_GpuMat () is generated by a pointer to zero copy data on the GPU
Labels: question (invalid tracker),category: gpu/cuda (contrib),incomplete,needs reproducer

I now have a cp.ndarray data and want to convert it to cuda_GpuMat. The size, type, and pointer of the data are provided according to the constructor, but it will prompt up to 2 arguments, but there are 3
Repository: create-react-app
Issue: CSS not being supported in older browsers
Labels: needs triage,issue: bug report

### Describe the bug

I have noticed certain CSS features not being supported in old browsers for example `gap`, `inset`, `overflow-x`, `clip`, `aspect-ratio`. My understanding is that Babel and PostCSS take care of supporting old browsers taking my code for me and I do not need to worry about using new CSS and Javascript. We do use emotion for CSS so I have tried creating a brand new Create React App from scratch today and building some CSS using things like gap and inset. When running in an older browser it still does not work.

Here is our current browser list:

```
{
"browserslist": {
		"production": [
			"> 0.1%",
			"not IE 11",
			"not op_mini all"
		],
		"development": [
			"last 1 chrome version",
			"last 1 firefox version",
			"last 1 safari version"
		]
	}
}
```

### Did you try recovering your dependencies?

The issue is still there even in a brand new set-up of CRA using no other libraries and plain CSS 

### Which terms did you search for in the User Guide?

Browser support and CSS

### Environment

The current project set up not the one from the test project we made today 

```
  current version of create-react-app: 4.0.3
  running from /Users/alexanderkaran/.npm/_npx/c67e74de0542c87c/node_modules/create-react-app

  System:
    OS: macOS 12.2.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
  Binaries:
    Node: 16.3.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.15.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 98.0.4758.109
    Edge: 98.0.1108.62
    Firefox: 96.0.3
    Safari: 15.3
  npmPackages:
    react: 17.0.2 => 17.0.2 
    react-dom: 17.0.2 => 17.0.2 
    react-scripts: 5.0.0 => 5.0.0 
  npmGlobalPackages:
    create-react-app: Not Found
```

(paste the output of the command here.)

### Steps to reproduce

(Write your steps here:)

1. Use any of the CSS properties above
2. Build production build
3. Serve it 
4. Access in older browsers for example Safari 14

### Expected behaviour

I thought PostCSS took care of making CSS backwards compatible and would produce something like this with the test project we made in an old browser

![Screen Shot 2022-03-01 at 4 17 28 pm](https://user-images.githubusercontent.com/47707063/156131361-15bee8b2-8db7-42af-8318-00fff017be28.png)


### Actual behaviour

Test project running in old browser

![image](https://user-images.githubusercontent.com/47707063/156131094-0879f01b-c78c-4621-898b-588bfadceb18.png)