sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Partial Hebrew words in DatePickerDialog are reversed
Labels: framework,f: material design,a: internationalization,a: typography,has reproducible steps,found in release: 3.0,found in release: 3.1,team-design,triaged-design

## Steps to Reproduce

1. Execute `flutter run -d chrome --web-renderer html` on the code sample.
2. Press the button and you will see some Hebrew words are displayed correctly and some are reversed.
3. Pressing `tab` on your keyboard until reaching focusing the pencil icon will suddenly display the top right text correctly.
4. Pressing `tab` again and moving on with the focus will reverse the text.

<details>
<summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        colorSchemeSeed: Colors.indigo,
      ),
      localizationsDelegates: const [
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
        GlobalCupertinoLocalizations.delegate,
      ],
      supportedLocales: const [
        Locale('he', 'IL'),
      ],
      locale: const Locale('he', 'IL'),
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: MyWidget(),
        ),
      ),
    );
  }
}

class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return ElevatedButton(
        onPressed: () => showDatePicker(
              context: context,
              initialDate: DateTime.now(),
              firstDate: DateTime.now().subtract(Duration(days: 10)),
              lastDate: DateTime.now(),
            ),
        child: Text('test'));
  }
}
```

</details>

## Images of the bug

* Green arrows mean that the Hebrew text is displayed correct.
* Red arrows mean that the Hebrew text is displayed wrong.

<img width="502" alt="image" src="https://user-images.githubusercontent.com/26387823/177778098-073d0aff-3734-42c0-bcaf-6f4531ceb0d1.png">

When focusing the pencil icon using `tab` on the keyboard:
<img width="501" alt="image" src="https://user-images.githubusercontent.com/26387823/177778536-cd996005-1332-4fb0-b1c0-e0990b284e0c.png">


When executing `flutter run -d chrome --web-renderer canvaskit` it works great.
<img width="505" alt="image" src="https://user-images.githubusercontent.com/26387823/177778879-5b326519-0ea1-4dc6-b9ff-7b3eeec16ba9.png">
Repository: godot
Issue: `godot --editor --quit` hangs when project has fonts and cache is clean
Labels: bug,topic:editor,confirmed

### Godot version

3.4.4.stable

### System information

Arch Linux (as of issue opening date)

### Issue description

**When:** (godot cache is clean OR the project has never been opened before) AND project contains a font file
**Occurs:** godot -e -q hangs
**Instead of:** godot exits cleanly

### Steps to reproduce

* Go to the attached project folder
* Clean cache (`rm rf ~/.cache/godot`)
* `godot -e -q`

### Minimal reproduction project

[reprohang.zip](https://github.com/godotengine/godot/files/9064176/reprohang.zip)

### Context
This happens when a person has newly cloned the git repo and does godot -e -q to import assets.

### Output
```
Godot Engine v3.4.4.stable.arch_linux - https://godotengine.org
WARNING: XOpenIM failed
     at: initialize (platform/x11/os_x11.cpp:197)
Found discrete GPU, setting DRI_PRIME=1 to use it.
Note: Set DRI_PRIME=0 in the environment to disable Godot from using the discrete GPU.
WARNING: XCreateIC couldn't create xic
     at: initialize (platform/x11/os_x11.cpp:494)
OpenGL ES 2.0 Renderer: AMD Radeon HD 8600 / 8700M (oland, LLVM 14.0.6, DRM 3.46, 5.18.9-arch1-1)
OpenGL ES Batching: ON

WARNING: Scan thread aborted...
     at: _notification (editor/editor_file_system.cpp:1087)
```

NOTE: this is Wayland+XWayland, and all these warnings occur with clean exits too.
Repository: pytorch
Issue: three typing inconsistencies on Tensor methods
Labels: module: typing,triaged

### 🐛 Describe the bug

* `Tensor.aslist` is typed to return `def tolist(self) -> List: ...` but returns a scalar if Tensor is 0-dim
* `Tensor.unbind` is typed to return `def unbind(self, ...) -> List[Tensor]: ...` but returns a tuple in 1.12
* `Tensor.chunk` is typed to return `def chunk(self, ...) -> List[Tensor]: ...` but returns a tuple in 1.12
* There's probably more like these, including the torch namespace, but these were the breakers I found in my build after upgrading
* Use case for fixing: It breaks mypyc compilation (unless hacked via getattr).

### Versions

Collecting environment information...
PyTorch version: 1.12.0+cu116
Is debug build: False
CUDA used to build PyTorch: 11.6
ROCM used to build PyTorch: N/A

OS: Manjaro Linux (x86_64)
GCC version: (GCC) 12.1.0
Clang version: 13.0.1
CMake version: version 3.23.2
Libc version: glibc-2.35

Python version: 3.10.5 (main, Jun  6 2022, 18:49:26) [GCC 12.1.0] (64-bit runtime)
Python platform: Linux-5.15.50-1-MANJARO-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 11.7.64
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3080
Nvidia driver version: 515.57
cuDNN version: Probably one of the following:
/usr/lib/libcudnn.so.8.4.0
/usr/lib/libcudnn_adv_infer.so.8.4.0
/usr/lib/libcudnn_adv_train.so.8.4.0
/usr/lib/libcudnn_cnn_infer.so.8.4.0
/usr/lib/libcudnn_cnn_train.so.8.4.0
/usr/lib/libcudnn_ops_infer.so.8.4.0
/usr/lib/libcudnn_ops_train.so.8.4.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] mypy==0.950
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.22.3
[pip3] torch==1.12.0+cu116
[pip3] torch-lr-finder==0.2.1
[conda] Could not collect


cc @ezyang @malfet @rgommers @xuzhao9 @gramster
Repository: flutter
Issue: Make _MasterDetailFlow public
Labels: c: new feature,framework,f: material design,c: proposal,P3,team-design,triaged-design

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

The License Page uses _MasterDetailFlow which would be amazing to be made a public widget. At this moment there are some packages and tutorials for creating similar things, but nothing looks and feels like _MasterDetailFlow.

This could be used for creating custom license pages or a settings page that is responsive.

<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe the alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

## Proposal

Make _MasterDetailFlow public and usable. Maybe create a widget MasterDetailFlowItem that would be a ListItem with the parameter detailsChildren. detailsChildren would be the children that are shown on the details page in a ListView. Also, there could be a MasterDetailFlowTitle that would be just a container that could be used at the top of the list(like the space in LicensePage where is the app name and "Powered by Flutter" text).

I think a detailsBuilder would also be a great solution instead of detailsChildren.

![image](https://user-images.githubusercontent.com/42469755/177806389-ec29d3e5-e18a-48fb-a564-838a415d7abd.png)

<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching something showing what you are imagining:
      * images
      * videos
      * code samples

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->
Repository: storybook
Issue: Angular: stories are not sorted by their export
Labels: bug,needs triage

**Describe the bug**
Stories are not sorted according to their export instead, they are sorted alphabetically.:

![Screenshot 2022-07-07 at 16 03 02](https://user-images.githubusercontent.com/8397116/177806872-88c445cf-fe55-4ac2-aba3-0ae53ddc7ef4.png)

while it should be:
```
Button
  Primary
  Secondary
  Large
  Small
```

**To Reproduce**
Code to reproduce here: https://github.com/elenagarrone/sb-bug-ng

```
npm i
npm run storybook
```

**System**
```
Environment Info:

  System:
    OS: macOS 12.4
    CPU: (10) x64 Apple M1 Pro
  Binaries:
    Node: 14.17.0 - ~/.nvm/versions/node/v14.17.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v14.17.0/bin/yarn
    npm: 6.14.13 - ~/.nvm/versions/node/v14.17.0/bin/npm
  Browsers:
    Chrome: 103.0.5060.114
    Firefox: 102.0.1
    Safari: 15.5
  npmPackages:
    @storybook/addon-actions: ^6.5.9 => 6.5.9 
    @storybook/addon-essentials: ^6.5.9 => 6.5.9 
    @storybook/addon-interactions: ^6.5.9 => 6.5.9 
    @storybook/addon-links: ^6.5.9 => 6.5.9 
    @storybook/angular: ^6.5.9 => 6.5.9 
    @storybook/builder-webpack5: ^6.5.9 => 6.5.9 
    @storybook/manager-webpack5: ^6.5.9 => 6.5.9 
    @storybook/testing-library: 0.0.13 => 0.0.13 

```

**Additional context**
Using Angular `14.0.0` (reproduced also with `12.2.17`) and Webpack `5`.

This same issue was fixed for React: https://github.com/storybookjs/storybook/issues/15574
Repository: tauri
Issue: [feat] add window.set_level API
Labels: type: feature request,status: upstream,platform: macOS

### Describe the problem

I hope that the window layer can be set by setLevel.

### Describe the solution you'd like

```
#![cfg_attr(
    all(not(debug_assertions), target_os = "windows"),
    windows_subsystem = "windows"
)]

use tauri::{LogicalPosition, Manager, Position};

fn main() {
    let context = tauri::generate_context!();

    tauri::Builder::default()
        .setup(|app| {
            let main_window = app.get_window("main").unwrap();

            #[cfg(target_os = "macos")]
            {
                use cocoa::appkit::{NSMainMenuWindowLevel, NSWindow};
                use cocoa::base::id;
                let ns_win = main_window.ns_window().unwrap() as id;
                unsafe {
                    ns_win.setLevel_(((NSMainMenuWindowLevel + 1) as u64).try_into().unwrap());
                }
            } 
            // main_window.set_level(WindowLevel::MainMenu+1); // ideal setup
 
            Ok(())
        })
        .menu(tauri::Menu::os_default(&context.package_info().name))
        .run(context)
        .expect("error while running tauri application");
}

```

### Alternatives considered

_No response_

### Additional context

_No response_
Repository: rust
Issue: E0530 when using std::thread_local and a static named init
Labels: A-thread-locals,C-bug,T-libs

I tried this code ([Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=71846d918f58aba3eeced07718077089)):

```rust
thread_local!(static FOO: usize = 0);
static init: usize = 0;
```

I expected to see this happen: code compile. Instead, this happened:

```
error[[E0530]](https://doc.rust-lang.org/stable/error-index.html#E0530): function parameters cannot shadow statics
 --> src/lib.rs:1:1
  |
1 | thread_local!(static FOO: usize = 0);
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be named the same as a static
2 | 
3 | static init: usize = 0;
  | ----------------------- the static `init` is defined here
  |
  = note: this error originates in the macro `$crate::__thread_local_inner` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0530`.
```

The workaround is obvious, simply don't have a static named `init`. However, the broader issue is that this appears to violate macro hygienics: any change to the implementation to `thread_local` could break my code in the future.

### Meta

This happens on the playground for all channels (1.62.0, 1.63.0-beta.4, 1.64.0-nightly).


<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

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

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: neovim
Issue: defaults: improved 'tabline' (tab index, custom names)
Labels: enhancement,statusline

### Feature already in Vim?

_No response_

### Feature description

In (n)vim, tab pages are essentially workspaces/viewports for a collection of windows. The following assumes that tab pages are used like originally intended, and not "one tab per file" etc.

Currently, the default tabline looks something like this:

```
3+ file3.txt  file2.txt  2+ file3.txt  file1.txt
```

In my opinion, these are rather unintuitive names for workspaces, and providing better names could make tab navigation easier out-of-the-box. I'm aware there are many plugins for customizing the tabline and do all kinds of fancy things with them, but in my opinion it would still make sense to improve the current state directly in neovim, to make for a better out-of-the-box experience (given that they are easy to implement and don't introduce more complexity). I have two things in my mind:

### 1. Provide an easy way to assign custom names to tab pages

E.g. `:tabname <name>`

This would be useful if one is working with multiple projects in one neovim instance and keeping a project-tab 1:1 relationship, or if one uses tab pages for different tasks or contexts. One could quickly edit tab names to be something like:

```
main  testing  quickfix
```

or

```
project1  project2  scratchpad
```

etc.

### 2. Include the tab number (index) in the tab names.

Provide an option to prefix each tab name with its index (wether it's the default `3+ file2.txt` or a custom name). This would simplify keyboard-driven tab navigation if one has many tabs open (via `:tabn[ext] {count}`, `{count}gt`, etc).

Example:

```
1: [3+] file3.txt  2: file2.txt  3: [2+] file3.txt  4: file1.txt
```

or

```
1: main  2: testing  3: quickfix
```

Ideally, also provide a way to assign a custom color to the index to make it trivial to spot it. I'm not sure wether this requires an additional hightlight group...

Note: `:tabs` already lists tab pages using their indices, but it would add an additional delay to rely on it for switching tab pages, and also adds another visual representation of tabs. So it seems more natural to use the one that is already permanently displayed at the top.

What do you think?
Repository: vscode
Issue: editor.scrollbar.verticalScrollbarSize not respected
Labels: feature-request,notebook-cell-editor

### Applies To

- [X] Notebooks (.ipynb files)
- [ ] Interactive Window and\/or Cell Scripts (.py files with \#%% markers)

### What happened?

I dislike how tiny the scrollbars in vscode are by default. This was a common issue many people had, so they exposed a setting "editor.scrollbar.verticalScrollbarSize" to adjust this. However, the jupyter notebooks opened with your extension doesn't respect this setting. The scrollbars in the editor stay the default size when the setting is changed.

### VS Code Version

Version: 1.68.1 (user setup) Commit: 30d9c6cd9483b2cc586687151bcbcd635f373630 Date: 2022-06-14T12:48:58.283Z Electron: 17.4.7 Chromium: 98.0.4758.141 Node.js: 16.13.0 V8: 9.8.177.13-electron.0 OS: Windows_NT x64 10.0.19044

### Jupyter Extension Version

v2022.5.1001601848

### Jupyter logs

_No response_

### Coding Language and Runtime Version

Python 3.7

### Language Extension Version (if applicable)

v2022.8.1

### Anaconda Version (if applicable)

_No response_

### Running Jupyter locally or remotely?

Local
Repository: kubernetes
Issue: CSINode's driver count never updated
Labels: kind/bug,sig/storage,help wanted,needs-triage

### What happened?

After reconfiguring the openstack-cloud-provider (specifically Cinder CSI) to set new `node-volume-attach-limit` to 10, kubelet doesn't update the value held in `CSINode` object. The reason is most likely at [1] but [2] doesn't help either.

[1] https://github.com/kubernetes/kubernetes/blob/8174b0923cb60c13bd738f9baa6422f3445207d7/pkg/volume/csi/nodeinfomanager/nodeinfomanager.go#L525-L538
[2] https://github.com/kubernetes/kubernetes/blob/0f41aaf138a2ac45dc5435dd42ea7f7ee932b155/pkg/apis/storage/validation/validation.go#L308-L318

### What did you expect to happen?

I'd expect the `CSINode` to be updated with a new value so that scheduler can take it into account as specified in KEP [1]:

> Kubelet will periodically reconcile CSINode and overwrite the value.

[1] https://github.com/kubernetes/enhancements/blob/0e4d5df19d396511fe41ed0860b0ab9b96f46a2d/keps/sig-storage/554-maximum-volume-count/README.md#implementation-detail-for-all-csi-drivers

### How can we reproduce it (as minimally and precisely as possible)?

Deploy K8s on OpenStack with Cinder CSI driver. Then change the CSI driver configuration to set:

```
[BlockStorage]
node-volume-attach-limit = 10
```

After restarting the CSI driver check the `CSINode`. The value of `spec.drivers[0].allocatable.count` will stay 256.

### Anything else we need to know?

_No response_

### Kubernetes version

<details>
```console
$ kubectl version
Kubernetes Version: v1.24.0+9ddc8b1
```
</details>


### Cloud provider

<details>
OpenStack (Cinder CSI)
</details>


### OS version

_No response_

### Install tools

<details>
OpenShift
</details>


### Container runtime (CRI) and version (if applicable)

_No response_

### Related plugins (CNI, CSI, ...) and versions (if applicable)

_No response_
Repository: terminal
Issue: Marks on scrollbar: Highlight mark on scrollToMark
Labels: Area-TerminalControl,Product-Terminal,Issue-Task

> Unfortunately, the navigation isn't very smart yet. When jumping to the previous/next mark, the window area merely scrolls such that the marked line becomes visible.
> 
> It would be _much_ nicer if
> * the line was highlighted (briefly) after the navigation action – this would make it easy to immediately find the marked line visually.
>  A temporary highlight effect should be used to visually guide the user to the target line.


How do we reconcile this with FTCS style marks, with a prompt/command/output section? Do we select just the prompt? The command? The whole blob?

What about for multiline marks? 
* crawl: a rect with just from the start->end points of the mark, regardless of how ridiculous that looks
* walk: a bunch of rects for each line
* run: rects for each line, with intelligent borders so the border is only around the actual marked text

_originally posted by @jkuebart in #13449_
Repository: flutter
Issue: [Windows] Update scroll speed when OS settings change
Labels: engine,platform-windows,a: desktop,P2,team-windows,triaged-windows

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

Windows users can change their scroll speed in the OS settings:

![image](https://user-images.githubusercontent.com/737941/177831313-839d163f-c06f-409b-a9c5-2569a20e603b.png)

After https://github.com/flutter/engine/pull/32094, Flutter apps read this scroll speed setting once at startup. However, changing the scroll speed setting doesn't update Flutter apps that are already running.

## Proposal

Make Flutter apps' listen to changes in Windows's scroll speed setting changes. The app's message loop will need to handle `WM_SETTINGCHANGE` messages.
Repository: go
Issue: x/tools/gopls: Integration with other software for diagnostics
Labels: FeatureRequest,gopls,Tools

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### gopls version

```
Build info
----------
golang.org/x/tools/gopls v0.7.3
    golang.org/x/tools/gopls@v0.7.3 h1:Lru57ht8vtDMouRskFC085VAjBAZRAISd/lwvwOOV0Q=
    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
    github.com/google/go-cmp@v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
    golang.org/x/mod@v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo=
    golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
    golang.org/x/sys@v0.0.0-20210809222454-d867a43fc93e h1:WUoyKPm6nCo1BnNUvPGnFG3T5DUVem42yDJZZ4CNxMA=
    golang.org/x/text@v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M=
    golang.org/x/tools@v0.1.8-0.20211014194737-fc98fb2abd48 h1:hk7xRoeg0CG1nRLsd5BZLDUgVpA9bnKylGk1p2/BPH0=
    golang.org/x/xerrors@v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
    honnef.co/go/tools@v0.2.0 h1:ws8AfbgTX3oIczLPNPCu5166oBg9ST2vNs0rcht+mDE=
    mvdan.cc/gofumpt@v0.1.1 h1:bi/1aS/5W00E2ny5q65w9SnKpWEF/UIOqDYBILpo9rA=
    mvdan.cc/xurls/v2@v2.3.0 h1:59Olnbt67UKpxF1EwVBopJvkSUBmgtb468E4GVWIZ1I=
```
### go env

```
GO111MODULE=""
GOARCH="amd64"
GOBIN="/home/jorge/go/bin"
GOCACHE="/home/jorge/.cache/go-build"
GOENV="/home/jorge/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/jorge/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/jorge/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18.3"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2212720750=/tmp/go-build -gno-record-gcc-switches"
```

### feature request

Allow for integration with other software for diagnostics, i.e.: `golanci-lint`. My reasoning is that other tools can provide more complete diagnostics project-wide. I don't use vscode.