sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: react-native
Issue: 0.69+ SectionList jumps
Labels: Issue: Author Provided Repro,Component: SectionList,Needs: Triage :mag:

### Description

Something happening with SectionList at `react-native: 0.69+`
See videos for better understanding. It is something with huge lists (big amount of items)
It starts to jump and blink

Also, I've noticed that when I'm doing downgrade of `react-native` to `0.68` - it starts to work totally fine

Video:
https://user-images.githubusercontent.com/77282657/223980567-9bedf240-abd6-4eec-a912-9a7af1116ec3.mov



### React Native Version

0.69.6

### Output of `npx react-native info`

```
OS: macOS 12.5
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 240.36 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.16.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.5.0 - /usr/local/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.12.0 - /Users/denys/.rvm/rubies/ruby-2.7.6/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8815526
    Xcode: 14.1/14B47b - /usr/bin/xcodebuild
  Languages:
    Java: Not Found
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.0.0 => 18.0.0 
    react-native: 0.69.6 => 0.69.6 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
```

### Steps to reproduce

- Install fresh expo project or clone from git
- Scroll up and down to trigger pagination
- Scroll for about 1-2-4 minutes (can't upload full 3 minutes video)

### Snack, code example, screenshot, or link to a repository

https://github.com/DenysMoro/reactNativeSectionListJumps
Repository: rust
Issue: Projections fail to unify projections in related obligations
Labels: A-associated-items,T-compiler,C-bug,A-lazy-normalization,fixed-by-next-solver

I tried [this code](https://play.rust-lang.org/?code=trait%20Add%3CRhs%3E%20%7B%0A%20%20%20%20type%20Sum%3B%0A%7D%0A%0Aimpl%20Add%3C%28%29%3E%20for%20%28%29%20%7B%0A%20%20%20%20type%20Sum%20%3D%20%28%29%3B%0A%7D%0A%0Atype%20Unit%20%3D%20%3C%28%29%20as%20Add%3C%28%29%3E%3E%3A%3ASum%3B%0A%0Atrait%20Trait%3CC%3E%20%7B%0A%20%20%20%20type%20Output%3B%0A%7D%0A%0Afn%20f%3CT%3E%28%29%0Awhere%0A%20%20%20%20T%3A%20Trait%3C%28%29%3E%2C%0A%20%20%20%20%3CT%20as%20Trait%3C%28%29%3E%3E%3A%3AOutput%3A%20Sized%2C%0A%7B%7D%0A%0Afn%20g%3CT%3E%28%29%0Awhere%0A%20%20%20%20T%3A%20Trait%3CUnit%3E%2C%0A%20%20%20%20%3CT%20as%20Trait%3C%28%29%3E%3E%3A%3AOutput%3A%20Sized%2C%0A%7B%7D%0A%0Afn%20h%3CT%3E%28%29%0Awhere%0A%20%20%20%20T%3A%20Trait%3C%28%29%3E%2C%0A%20%20%20%20%3CT%20as%20Trait%3CUnit%3E%3E%3A%3AOutput%3A%20Sized%2C%0A%7B%7D):

```rust
trait Add<Rhs> {
    type Sum;
}

impl Add<()> for () {
    type Sum = ();
}

type Unit = <() as Add<()>>::Sum;

trait Trait<C> {
    type Output;
}

fn f<T>()
where
    T: Trait<()>,
    <T as Trait<()>>::Output: Sized,
{}

fn g<T>()
where
    T: Trait<Unit>,
    <T as Trait<()>>::Output: Sized,
{}

fn h<T>()
where
    T: Trait<()>,
    <T as Trait<Unit>>::Output: Sized,
{}
```

Function `g` is `f` with `()` replaced with `Unit` in first where clause, while function `h` is `f` with `()` replaced with `Unit` in second where clause. Since `Unit` is effectively a type alias for `()`, I expected all three functions to compile.

Instead, the compiler complains about `g`:

```
error[E0277]: the trait bound `T: Trait<()>` is not satisfied
  --> src/lib.rs:25:1
   |
25 | / fn g<T>()
26 | | where
27 | |     T: Trait<Unit>,
28 | |     <T as Trait<()>>::Output: Sized,
   | |____________________________________^ the trait `Trait<()>` is not implemented for `T`
   |
help: consider further restricting this bound
   |
27 |     T: Trait<Unit> + Trait<()>,
   |                    +++++++++++

error[E0277]: the trait bound `T: Trait<()>` is not satisfied
  --> src/lib.rs:25:4
   |
25 | fn g<T>()
   |    ^ the trait `Trait<()>` is not implemented for `T`
   |
help: consider further restricting this bound
   |
27 |     T: Trait<Unit> + Trait<()>,
   |                    +++++++++++
```

The compiler suggests adding `Trait<()>` on `T`, which should not be necessary since `Trait<Unit>` has exactly the same meaning as `Trait<()>` (and it actually works that way for `h`). Having `Unit` type alias is not essential, inlining it yields the same error.

(Also it complains about the same unsatisfied bound twice, but it is less of an issue, I guess)

### Meta

I used the latest stable at the moment, 1.67.1, but it can also be reproduced on the latest beta (`2023-03-06 b955c8271da80a1af8a1`) and latest nigthly (`2023-03-06 b955c8271da80a1af8a1`) at the moment.

Probably related to #43049.

@rustbot label: +A-associated-items
Repository: godot
Issue: RichTextLabel using [i] breaks when setting a Theme Type Variation.
Labels: bug,topic:gui

### Godot version

4.0

### System information

Windows 11, Vulkan

### Issue description

Using `[i]` in `RichTextLabels` works. But as soon as i specify a `Theme Type Variation` the `[i]` tag does nothing anymore.

### Steps to reproduce

Create two `RichTextLabel` controls. Add `[i]test[/i]` to both.
Assign a `Theme Type Variation` to one of the two `RichTextLabel` controls.


### Minimal reproduction project

[BUG.zip](https://github.com/godotengine/godot/files/10930460/BUG.zip)
Repository: material-ui
Issue: [material-ui][Dialog] Screen reader is not narrating role
Labels: bug 🐛,accessibility,waiting for 👍,component: dialog,package: material-ui,ready to take

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Link to live example: [nice-agnesi-s3wxpw - CodeSandbox](https://codesandbox.io/s/s3wxpw?file=/demo.js)

Steps:
1.Open URL: [nice-agnesi-s3wxpw - CodeSandbox](https://codesandbox.io/s/s3wxpw?file=/demo.js)
2.Focus lands on the code editor as soon as page gets opened
3.Press Ctrl+f6 key from keyboard then press 1 tab, then again press CTRL+M from keyboard and then press 1 tab to move focus out of editor pane.
4.Press 6 tabs to Navigate to Open dialog control.
5.Now turn on Screen reader, invoke the Open dialog control, and capture the screen reader narration.
6.Verify whether screen reader is announcing the role of the displayed dialog or not.


### Current behavior 😯

Once the model title dialog is displayed screen reader is not announcing role information of dialog.

Observation: once user invoked the open dialog control screen reader is announcing as 'Model title close'

### Expected behavior 🤔

Once the model tittle dialog is displayed screen reader should announce role information of dialog.

Observation: Once user invoked the open dialog control screen reader should announce as 'Model title dialog displayed' and next focus should land on 'close button'

### Context 🔦

Users who rely on screen readers are confused if Screen readers are not narrating role of dialog Once the dialog is displayed.
User will be unaware of the content if screen reader does not announce all relevant information of dialogs.
![Issue-202164](https://user-images.githubusercontent.com/93735775/223998175-7ebc5184-387a-45ca-a36e-f7163670e325.png)

https://user-images.githubusercontent.com/93735775/223999060-2b6c2ff8-853f-4905-aec8-aeaadaf53f82.mp4



### Your environment 🌎

<details>
  Test Environment:  

OS Version: Windows 22H2 (OS Build 22621.1265)
Browser: Chrome Version Version 110.0.5481.178 (Official Build) (64-bit)
Screen Reader: JAWS 2023.2212.23 ILM, NVDA 2022.3.2 and Narrator
#URL: [nice-agnesi-s3wxpw - CodeSandbox](https://codesandbox.io/s/s3wxpw?file=/demo.js)

</details>
Repository: flutter
Issue: [Web] Arabic text rendering issue on a web platform
Labels: c: regression,engine,platform-web,c: rendering,has reproducible steps,assigned for triage,P2,found in release: 3.7,found in release: 3.9,team-web,triaged-web

I am experiencing an issue with the rendering of Arabic text on a **`Web`** platform. The text appears to be rendered incorrectly or inconsistently. However, it works as expected on the `Windows` platform.

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. Run the below application on the web platform.
2. Check the rendering of the Arabic text on web platform.

**Expected results:** 

**Note that the output of the same application on the Windows platform is as follows:**

![windows](https://user-images.githubusercontent.com/93904422/223997204-20cad810-ca08-49f1-9bb3-f64deb11ffbe.png)


**Actual results:**

**Here is the output of the application on the web platform.**

![web](https://user-images.githubusercontent.com/93904422/223997262-e3c19efa-ffa0-4d8e-bafd-ec92645b91a2.png)


<details>
<summary>Code sample</summary>


```dart
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const DemoSample()));
}

class DemoSample extends StatefulWidget {
  const DemoSample({super.key});

  @override
  State<DemoSample> createState() => DemoSampleState();
}

class DemoSampleState extends State<DemoSample> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(title: const Text(' Flutter Sample')),
        body: const Center(
          child: SizedBox(
            height: 16,
            child: Text('إظهار الصفوف حيث',
                style: TextStyle(fontWeight: FontWeight.bold, fontSize: 14)),
          ),
        ));
  }
}

```

</details>

<details>
  <summary>Logs</summary>

```
[!] Flutter (Channel stable, 3.7.7, on Microsoft Windows [Version 10.0.19044.2486], locale en-US)
    ! Warning: `dart` on your path resolves to C:\Dart\dart-sdk\bin\dart.exe, which is not inside your current Flutter SDK
      checkout at D:\Flutter\flutter. Consider adding D:\Flutter\flutter\bin to the front of your path.
[√] Windows Version (Installed version of Windows is version 10 or higher)      
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Professional 2022 17.4.3)
[√] Android Studio (version 2021.3)
[√] Connected device (4 available)
[√] HTTP Host Availability

```

</details>
Repository: next.js
Issue: `@next/mdx` mdxRs fails parsing multiline component props in mdx files
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Sandbox:
Operating System:
      Platform: linux
      Arch: x64
      Version: #22 SMP Tue Jan 10 18:39:00 UTC 2023
    Binaries:
      Node: 18.14.2
      npm: 9.5.0
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 13.2.4-canary.8
      eslint-config-next: 13.2.3
      react: 18.2.0
      react-dom: 18.2.0

Local:
    Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000
    Binaries:
      Node: 16.17.1
      npm: 8.15.0
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 13.2.4-canary.8
      eslint-config-next: 13.2.3
      react: 18.2.0
      react-dom: 18.2.0
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

MDX (@next/mdx)

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/musing-snyder-pizs69

### To Reproduce

Enable `mdxRs: true` and create a multiline component with multiline props in `app/page.mdx`, like:

```mdx
<Test
  items={[{
    code: 'test',
  }]}
/>
```

### Describe the Bug

While `@mdx-js/loader` correctly handles multiline props, the rust mdx compiler from `@next/mdx` doesn't seem to be able to.
Disable `mdxRs: false` to correctly parse the mdx content and display the content.

### Expected Behavior

no `eof` error from `mdxRs`

### Which browser are you using? (if relevant)

Chrome 110.0.5481.177

### How are you deploying your application? (if relevant)

next start, Heroku
Repository: PowerToys
Issue: Swap Monitor contents
Labels: Idea-Enhancement,Idea-New PowerToy,Product-FancyZones

### Description of the new feature / enhancement

Swaps the windows on one monitor with another monitor, simple as that. - or even merge them to one! (super extra power feature ;-) )

As we already have the FancyZones, this would make a nice companion for that!

On the one hand, there is this windows-bug that causes involuntarily swapped monitors on wake up from hibernation, would be cool to reset this with a single key press or sometimes you just want to re-arrange your workspace anyways quickly. (Or with another feature like "PersistentWindows")

### Scenario when this would be used?

1. After hibernation and windows confuses two monitors (actually some kind of bug) and you want to reset it quickly to the old configuration
2. You decide to drastically change your work environment and need the contents of two monitors to be swapped (like IDE on one site, Browsers on the other side, etc.)

### Supporting information

There's already a program that does this, but as most other features in Power Toys (like power rename), it would be nicer to have it all in one package ;-)
https://dualmonitortool.sourceforge.net/dmt_swapscreen.html

There is also another app that at least tries to alleviate the "swapped monitors" bug on windows wake up:
https://github.com/kangyu-california/PersistentWindows
Repository: material-ui
Issue: [a11y] After invoking on any list item, screen reader is not announcing the information whether data is selected or not for Movie editable combo box.
Labels: accessibility,component: list

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Link to live example: [gracious-jones-1gb0rh - CodeSandbox](https://codesandbox.io/s/1gb0rh?file=/demo.js)
Steps:
1.Open Sample app as provided- [gracious-jones-1gb0rh - CodeSandbox](https://codesandbox.io/s/1gb0rh?file=/demo.js)
2.Focus lands on the code editor as soon as page gets opened
3.Press Ctrl+f6 key from keyboard then press 1 tab, then again press CTRL+M from keyboard and then press 1 tab to move focus out of editor pane.
4.Press 6 times tab to reach out to combo box control until focus lands on it.
5.Now turn on Screen reader, invoke the combo box control, select any data from editable field and capture the screen reader narration.
6.Verify whether after invoking on any list item, screen reader is announcing the information whether data is selected or not in Movie editable combo box.


### Current behavior 😯

After invoking on any list items, screen reader is not announcing the information whether data is selected or not for 'Movie' editable combo box.

Observation:

Screen Reader (Narrator/NVDA/JAWS) remains silent, after invoking any control.

### Expected behavior 🤔

After invoking on any list items, screen reader should announce the information whether data is selected or not for 'Movie' editable combo box.

Example: After pressing any list items button either “Screen Reader should remain silent” or Screen Reader should announce status message i.e., List items has been selected.
![Issue-202166-Selection state](https://user-images.githubusercontent.com/93735775/224003402-56859228-710b-4deb-a9a4-3ea83b3fb65a.png)

https://user-images.githubusercontent.com/93735775/224003896-c8026a5b-f089-48ae-9b4e-506f4729ae5f.mp4



### Context 🔦

Users dependent on-a screen reader to navigate the page will face difficulty if the screen reader is not announcing the information either data is selected or not hence will face difficulty to getting the exact information.
User will be unaware of the content if screen reader does not announce the information whether data is selected or not for 'Movie' editable combo box.

### Your environment 🌎

<details>

 Test Environment:
OS Version: Windows 22H2 (OS Build 22621.1265)
Browser: Chrome Version Version 110.0.5481.178 (Official Build) (64-bit)
Screen Reader: JAWS 2023.2212.23 ILM, NVDA 2022.3.2 and Narrator
#URL: [gracious-jones-1gb0rh - CodeSandbox](https://codesandbox.io/s/1gb0rh?file=/demo.js)

</details>
Repository: pytorch
Issue: Proxy Options for Pytorch Hub
Labels: triaged,module: hub

### 🚀 The feature, motivation and pitch

Pytorch Hub is frequently used to download models from GitHub to simplify dependency management for deep learning projects. For many people, me included, easy internet access to GitHub is not a given, and a proxy server may be useful or even necessary. Currently, Pytorch Hub can only be configured to use a proxy by setting the environment variable `HTTPS_PROXY`, and this method still does not work when using a SOCKS proxy server.

This issue is compounded by the fact that loading models using Pytorch Hub requires internet access even if the model is already cached. Even if GitHub is sporadically accessible, or if some workaround can be used to download the weights without a proxy server, the problem is not solved. A connection to GitHub must still be established every time the deep learning project is run, not just the first time when it needs to download the models. In my case, though I can jump through hoops to make a connection possible on my server, having to make the necessary changes every time my server runs a script that contains `torch.hub.load` is very problematic.

It would be helpful if Pytorch Hub can be configured to use a proxy server, even if it might not be realistic to make Pytorch Hub usable without internet access on every call to `torch.hub.load`.

### Alternatives

**1. Making the default network interface of the machine a tunnel**: Can negatively affect other applications and users of the machine. Complicated to set up, if split tunneling is needed to avoid some of the impact. Requires intervention from the system administrator.
**2. Using a router with proxy support**: Needs dedicated hardware. Network quality may be worse through the proxy, yet all applications on the system  generally are forced to the same network connection. Still requires intervention from the system administrator.
**3. Prefixing all python calls with `HTTPS_PROXY=...`**: can be difficult when tools such as IDEs, Jupyter, bash scripts etc. automatically spawn the python processes. Does not work with SOCKS proxy.

### Additional context

I've prepared a pull request that adds an additional function to the Pytorch Hub.

cc @nairbv @NicolasHug @vmoens @jdsgomes
Repository: ant-design
Issue: Table组件当dataIndex中的Namepath为数组时且对应属性为空时render取值v5版本和v4版本不一致
Labels: Inactive,unconfirmed

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ji-ben-yong-fa-antd-5-3-0-forked-mee69l?file=/demo.tsx)

### Steps to reproduce

针对如下形式的data
```
{
    key: "1",
    name: "John Brown",
    obj: null,
    age: 32,
    address: "New York No. 1 Lake Park",
    tags: ["nice", "developer"]
  },
```
对应column
```
{
    title: "obj.prop",
    dataIndex: ["obj", "prop"],
    key: "obj.prop",
    render: (text) =>
      text === null ? "null" : text === undefined ? "undefined" : text
  },
```
v5版本的结果是undefined

而v4版本的结果是null
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ji-ben-yong-fa-antd-4-24-8-forked-o48m3j?file=/demo.tsx
)
### What is expected?

v4版本和v5版本的结果一致

### What is actually happening?

v5版本的结果是undefined
而v4版本的结果是null

| Environment | Info |
| --- | --- |
| antd | 5.3.0 |
| React | 18 |
| System | MacOS |
| Browser | chrome 109.X |

---
可能v5的结果undefined更为合理，但是至少需要在changelog里需要说明，某种程度上这也算得上是breaking changes

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: storybook
Issue: [Bug]: Composition - initial loading state looks like the error state
Labels: bug,help wanted,composition,sev:S3

### Describe the bug

When compositing a ref it looks like it's initially erroring, then loads anyway.

![](https://user-images.githubusercontent.com/3070389/222410761-fe99e0ed-e7fa-4d79-9f4e-7bcd826575c3.png)

When there's an actual error (reported the CORS error in #21501 and #21500 ) it can get stuck in the loading state, and not show the error state.

<img width="518" alt="Untitled" src="https://user-images.githubusercontent.com/3070389/224015276-ed9a300f-4916-499f-a189-99f02049f8b3.png">

> When trying to compose [https://59c59bd0183bd100364e1d57-jjsanukdmo.chromatic.com/](https://59c59bd0183bd100364e1d57-jjsanukdmo.chromatic.com/index.json) (private Chromatic from Chromatic) I get the following error on the browser:
> 
> Access to fetch at 'https://59c59bd0183bd100364e1d57-jjsanukdmo.chromatic.com/index.json' from origin 'http://localhost:6006/' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'.
> 
> 
> Additionally, the sidebar and tooltip stay in an infinite loading state

### To Reproduce

- add a ref
- load the storybook
- look at the sidebar as storybook loads

### System

_No response_

### Additional context

_No response_
Repository: godot
Issue: FileDialog graphic artifacts when embed_subwindows=false
Labels: bug,topic:rendering,confirmed,topic:gui

### Godot version

4.0 stable

### System information

Ubuntu 22.04, AMD Radeon RX 6700 XT (navy_flounder, LLVM 13.0.1, DRM 3.42, 5.15.0-53-generic) (0x73df) Gpu driver version: 22.0.5

### Issue description

When FileDialog is inside PopupMenu and it's being shown, FileDialog is rendering with graphic glitches. 
In order for this to happen  `embed_subwindows` project setting must be set to false

### Steps to reproduce


https://user-images.githubusercontent.com/6129594/224021271-f5c9cdcd-3035-4fdd-ac5e-570765b33d03.mp4

**CAUTION: Video contains rapid flashing effects**


1. Create new project, ensure `display/window/subwindows/embed_subwindows` project setting is set to false
2. add following nodes to the scene
2.1 MenuBar as root
2.2 PopupMenu as child of MenuBar
2.3 FileDialog as child of PopupMenu
3. Configure PopupMenu to have a clickable item
3.1 Go to PopupItem inspector
3.2 Unfold Items section
3.3 Click "Add Element"
3.4 Add "Test Item" as item Text
4. Create new script with such content:
```
extends Control


@onready var dialog: FileDialog = %FileDialog
@onready var file: PopupMenu = $PopupMenu


func _ready() -> void:
	file.id_pressed.connect(_on_menu_popup_id_pressed)


func _on_menu_popup_id_pressed(id: int):
	if id == 0:
		dialog.popup_centered_ratio()
```

4.1 Attach this script to MenuBar node
5. Run this scene
5.1 Click PopupMenu
5.2 Click "Test Item"
6. Content of FileDialog should be glitched

### Minimal reproduction project

[embed_subwindows_artifacts.zip](https://github.com/godotengine/godot/files/10931385/embed_subwindows_artifacts.zip)
Repository: excalidraw
Issue: Add a shortcut for wrapping text in a container
Labels: enhancement,good first issue,Text containers

Support shortcut for wrapping text in a container. Requested on Twitter

Currently, we support wrapping text in a container via the context menu

https://user-images.githubusercontent.com/11256141/224036164-c19620bf-ab20-4f80-98d0-71cb2359f1a1.mp4

So we want to support the same via shortcut key as well.

```[tasklist]
### Tasks
- [ ] Decide what shortcut to use, check other platforms if they have a similar feature and what shortcut key the use if yes
- [ ] Implement
```