sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: material-ui
Issue: [material-ui][Select] Page moves the viewing focus when clicking a Selector component while zoomed in
Labels: bug 🐛,component: select,package: material-ui

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Link to live example:  https://drive.google.com/file/d/1mKCoMhCuWDhWUiwN9FD7jOFpgzdSAeIN/view?usp=share_link

Steps:

1. Go to the Select page of  MUI
2. Zoom-in with the Windows feature (pinch-in on the track pad) to the selector component
3. Click the Selector to open the drop-down
4. The focus goes to the top left side of the page. the selector remains open


### Current behavior 😯

When clicking the selector component having zoomed in with the Windows/iOS pinch-in function the focus of the screen is moved to the top left part of the site. 

### Expected behavior 🤔

The focus of the screen shouldn't be lost and in should be maintained where it was

### Context 🔦

It's impossible to interact with a page that has selectors on it while zoomed in.

This happened to me on Edge/Chrome browsers, but not in Firefox browser.
This happened to me also with the iOS zoom feature, not only with Windows

### Your environment 🌎

MUI React selector component page
https://mui.com/material-ui/react-select/
Repository: pytorch
Issue: lintrunner job time keeps growing
Labels: triaged,better-engineering,module: devx

For example:
Sep 29 https://hud.pytorch.org/pytorch/pytorch/commit/bc047ec906d8e1730e2ccd8192cef3c3467d75d1 - 18 mins
Oct 06 https://hud.pytorch.org/pytorch/pytorch/commit/65d40a72c4ff3cf5218dffda8b5da60ea2163890 - 22 mins
Today, Oct 20 https://hud.pytorch.org/pytorch/pytorch/commit/303c54dbd9921d78ed01116547c063b450338c74 - 26 mins

If we want to reduce the time, we need to investigate what's taking so long.
Two possible candidates are ruff and clangtidy.

It would be nice to have time split by linter in the lintrunner job logs.


cc @ZainRizvi @huydhn @clee2000 @PaliC @malfet
Repository: pytorch
Issue: [dynamo] generic `is_` type shortcut is not appropriately guarded
Labels: triaged,bug,oncall: pt2,module: dynamo,dynamo-must-fix

### 🐛 Describe the bug


This hack
https://github.com/pytorch/pytorch/blob/5a2f97dee80ca27b732e12b61359d6e475a9c03b/torch/_dynamo/variables/builtin.py#L1310
in https://github.com/pytorch/pytorch/pull/104840

is too strong.

### Use-Cases
Support for tracing `is_` when there's type mismatch: https://github.com/pytorch/pytorch/issues/109504
Part of the way to: https://github.com/pytorch/pytorch/issues/111550

### Solution
Perhaps installing unalias check and guarding on as python constant might be good enough to solve generic is_ check without resorting to hacks like this.


### Repro
```python
import collections

def fn(x, y, z):
    z += 1
    return x is y, z

x = collections.OrderedDict({1: 2})
y = {1: 2}
z = torch.tensor([1])

opt_fn = torch.compile(fn, backend="eager", fullgraph=True)

assert opt_fn(x, y, z) == fn(x, y, z)  # Compile with x is y == False
assert opt_fn(x, x, z) == fn(x, x, z)  # Does not recompile as input types are not guarded
```

cc @ezyang @msaroufim @wconstab @bdhirsh @anijain2305 @zou3519 @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @aakhundov @kadeng 

### Versions

main

cc @ezyang @msaroufim @wconstab @bdhirsh @anijain2305 @zou3519
Repository: PowerToys
Issue: Disable activation shortcut
Labels: Idea-Enhancement,Needs-Triage

### Description of the new feature / enhancement

I want to ability to disable activation shortcut for some of the tools provided in PowerToys (because I want to activate these tools via the taskbar window). I know can I put a very complicated shortcut but I prefer to disable the shortcut.
![image](https://github.com/microsoft/PowerToys/assets/67475961/559a958b-de11-423b-a330-63440828a9b9)


### Scenario when this would be used?

For people who don't want to memorize a lot of shortcuts they could put them in the taskbar menu and select them when needed.
For example if I want to color pick something from screen I open the taskbar menu and select color picker instead of pressing the shortcut.

### Supporting information

_No response_
Repository: godot
Issue: The name specified in class_name cannot be used as const.
Labels: bug,topic:gdscript

### Godot version

v4.2.beta2.official [f8818f85e]

### System information

Godot v4.2.beta2 - Windows 10.0.22621 - Vulkan (Forward+) - integrated AMD Radeon(TM) Graphics (Advanced Micro Devices, Inc.; 31.0.21902.5) - AMD Ryzen 5 5600G with Radeon Graphics (12 Threads)

### Issue description

The name specified in class_name cannot be used as const.

### Steps to reproduce

An error occurs in "new_script.gd" of the following test project.

### Minimal reproduction project

[new_script.zip](https://github.com/godotengine/godot/files/13059060/new_script.zip)
Repository: material-ui
Issue: [material-ui][InputBase] Auto-fill keyframes may cause unwanted animations
Labels: bug 🐛,component: text field,package: material-ui,regression

### Steps to reproduce 🕹

Link to live example: https://stackblitz.com/edit/react-tsmx9v?file=src%2Fstyle.css

https://github.com/user-attachments/assets/b1135362-65cf-4c89-9c6c-c8ff1b4d9e1a

Steps:

1. Load the page in Chrome 117 or newer

### Current behavior 😯

The very first frame has the text input box rendered extra tall. The next frame has it at the normal size.
This is happening because the mui-auto-fill-cancel keyframes rule starts an animation.

### Expected behavior 🤔

No animation should be started and the first frame should be the same as the final state.

### Context 🔦

Hello! I recently implemented a feature in chrome which makes the `display` property animatable: https://chromestatus.com/feature/5154958272364544

Before I made this change, `@keyframes` rules with `display` in them did nothing. The mui-auto-fill keyframes rules in particular would have not started an animation because they didn't contain any animatable properties. Now that `display` is animatable, it is creating an animation which is only lasting for a single frame.

This was added here: https://github.com/mui/material-ui/pull/28070

Based on the issue which that PR fixed, it sounds like there has to be some styles inside the keyframes which don't actually start an animation. I recommend using a property which is pretty much guaranteed to never be upgraded to become animatable, such as the `animation-name` property. So perhaps replacing `display:block` with `animation-name:hello-world` would fix it?

### 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: vscode
Issue: Enable seeing slash command agent + description more easily
Labels: feature-request,panel-chat

A couple options that I like, but there's no way to do this currently- either the description is always visible, or the @agent isn't visible

Thoughts @daviddossett @jrieken? Too noisy? Can also go back to only showing the agent and description on focus


These are just hacked mockups
![Image](https://github.com/microsoft/vscode/assets/323878/0a1212ae-a111-4914-bd71-146e8459155e)



![Image](https://github.com/microsoft/vscode/assets/323878/3090ffb9-9047-4774-a425-0ed7591a73d9)
Repository: PowerToys
Issue: Path utility
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

A bunch of features to help navigate to a certain path in file explorer / terminal / powershell (with or without administrator permissions), here are some ideas:
When selecting text and right clicking there would be an options "Open path" and there will be multiple options to choose from:
file explorer, terminal, terminal (with administrator permissions), PowerShell, PowerShell (with administrator permissions).
This functionality could also be triggerd via a shortcut.
Also this could be more powerful with text extractor so you could open path from images too.

### Scenario when this would be used?

When using programs that show paths or writing code, you might want to open certain paths quickly in file explorer or terminal. Also some old programs might show text that contains path but you can't select it so integrating text extractor with this tool might help to open paths quickly.

### Supporting information

_No response_
Repository: rust
Issue: Overflow check is not removed from naive strlen
Labels: A-LLVM,I-slow,C-optimization

The overflow check for the addition here is not removed. If we overflow the length then we have wrapped around address space, and the use of `ptr::add` guarantees that we didn't.
```rust
pub unsafe fn strlen(mut s: *const core::ffi::c_char) -> usize {
    let mut n = 0;
    while *s != 0 {
        n += 1;
        s = s.add(1);
    }
    n
}
```
Godbolt: https://godbolt.org/z/dGYWKfeeP
Alive2: https://alive2.llvm.org/ce/z/T7yFbc
Repository: stable-diffusion-webui
Issue: [Bug]: AttributeError: 'LatentDiffusion' object has no attribute 'is_onnx'
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

        raise AttributeError("'{}' object has no attribute '{}'".format(
    AttributeError: 'LatentDiffusion' object has no attribute 'is_onnx'
=============
I don't know what happened, I didn't do anything, last night I can generate image normally, but after update, I can't generate image and always get error mesage like that


### Steps to reproduce the problem

1. Go to .... 
2. Press ....
3. ...


### What should have happened?

It should have generated image normally, but I get error message like this 

raise AttributeError("'{}' object has no attribute '{}'".format(
    AttributeError: 'LatentDiffusion' object has no attribute 'is_onnx'

my GPU is AMD RX 6600

### Sysinfo

https://pastebin.com/c2nmNwSe

### What browsers do you use to access the UI ?

_No response_

### Console logs

```Shell
Creating model from config: E:\Program Files\stable-diffusion-webui-directml\configs\v1-inference.yaml
Applying attention optimization: sub-quadratic... done.
Model loaded in 12.5s (load weights from disk: 0.5s, create model: 0.3s, apply weights to model: 10.3s, apply half(): 1.0s, calculate empty prompt: 0.3s).
*** Error completing request
*** Arguments: ('task(oyiq3zosu8dbfj0)', ' anime girl, orange hair, bun '(worst quality, low quality:1.4), monochrome, zombie, (interlocked fingers),', [], 34, 'DPM++ 2M Karras', 1, 4, 7, 768, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', '', '', [], <gradio.routes.Request object at 0x000001401A339AE0>, 0, False, '', 0.8, -1, False, -1, 0, 0, 0, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, False) {}
    Traceback (most recent call last):
      File "E:\Program Files\stable-diffusion-webui-directml\modules\call_queue.py", line 57, in f
        res = list(func(*args, **kwargs))
      File "E:\Program Files\stable-diffusion-webui-directml\modules\call_queue.py", line 36, in f
        res = func(*args, **kwargs)
      File "E:\Program Files\stable-diffusion-webui-directml\modules\txt2img.py", line 64, in txt2img
        processed = processing.process_images(p)
      File "E:\Program Files\stable-diffusion-webui-directml\modules\processing.py", line 733, in process_images
        res = process_images_inner(p)
      File "E:\Program Files\stable-diffusion-webui-directml\modules\processing.py", line 793, in process_images_inner
        if p.sd_model.is_onnx:
      File "E:\Program Files\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1614, in __getattr__
        raise AttributeError("'{}' object has no attribute '{}'".format(
    AttributeError: 'LatentDiffusion' object has no attribute 'is_onnx'
```


### Additional information

_No response_
Repository: tensorflow
Issue: tf.strings.to_number cannot convert positive integers prefixed with "+" when out_type is tf.int32 or tf.int64
Labels: stat:awaiting tensorflower,type:bug,comp:ops,TF2.14

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

source

### TensorFlow version

tf 2.11.0, 2.13.0, 2.14.0

### Custom code

Yes

### OS platform and distribution

MacOS 13.1

### Mobile device

Macbook Pro

### Python version

3.10.6

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

Converting string to numbers with "+"  throws errors in TF 2.11.0, 2.13.0, 2.14.0 when `out_type=tf.int64` or `out_type=tf.in32`. Not expecting error to be thrown and strings can be correctly converted into integers. For example, I would like to parse timezone information from a string (using substring)

```python 
t = tf.constant([
    "2023-05-07 17:32:25-08:00", # utc: next day
    "2023-05-07 05:32:25+11:00", # utc: previous day
    "2023-05-07 05:32:25-08:00", # utc: same date
    "2023-02-29 23:32:15-04:00", # leap year
    ]
)

```

### Standalone code to reproduce the issue

```shell
Code to reproduce


import tensorflow

# these are all okay
tf.string.to_number(tf.constant("-11"), out_type=tf.int64)
tf.string.to_number(tf.constant("11"), out_type=tf.int64)
tf.string.to_number(tf.constant("+11"), out_type=tf.float32)

# this throws the error below
tf.strings.to_number(tf.constant("+11"), out_type=tf.int64)
```


### Relevant log output

```shell
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/edward/opt/miniforge3/envs/testtf214/lib/python3.10/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "/Users/edward/opt/miniforge3/envs/testtf214/lib/python3.10/site-packages/tensorflow/python/framework/ops.py", line 5888, in raise_from_not_ok_status
    raise core._status_to_exception(e) from None  # pylint: disable=protected-access
tensorflow.python.framework.errors_impl.InvalidArgumentError: {{function_node __wrapped__StringToNumber_device_/job:localhost/replica:0/task:0/device:CPU:0}} StringToNumberOp could not correctly convert string: +11 [Op:StringToNumber] name:
```
Repository: vscode
Issue: Aux window: allow to configure location and size of new windows opening
Labels: feature-request,workbench-window,workbench-auxwindow

<!-- ⚠️⚠️ 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. -->
Today, newly created aux windows have fixed sizes which is not something that is expected. I think it's a good idea to have the same behavior as browsers and solve this problem by opening a window of the same size and some offset from the left and top:

![Code_-_OSS_o9RwisWrYp](https://github.com/microsoft/vscode/assets/75252297/24535748-9e65-4d42-9f2c-954b2dd4e3e4)
Repository: flutter
Issue: [Impeller] [Vulkan] Graphical artifacts while rendering images
Labels: engine,c: rendering,P2,e: impeller,team-engine,triaged-engine

[This video showing graphical artifacts while painting images](https://drive.google.com/file/d/163VyXUC11t_BjngT4k5--E0Z60d1MLz_/view) was observed while running on the Impeller backend in profile mode against https://github.com/flutter/engine/commit/e57b5bac4244d09f9a4404d52c534a9c820d5915.  The Vulkan renderer was in use:

```
E/flutter (12817): [ERROR:flutter/shell/platform/android/android_context_vulkan_impeller.cc(48)] Using the Impeller rendering backend (Vulkan).
```

I tried getting GPU info from https://vulkan.gpuinfo.org/download.php, but it wouldn't install on my TV:

```
adb: failed to install /Users/tvolkert/Downloads/vulkancapsviewer_3.32_arm.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
```

According to [`javax.microedition.khronos.opengles.GL10#glGetString`](https://developer.android.com/reference/javax/microedition/khronos/opengles/GL10#glGetString(int))([`GL_RENDERER`](https://developer.android.com/reference/javax/microedition/khronos/opengles/GL10#GL_RENDERER)) (called [here](https://github.com/tvolkert/photos/blob/69b77905f07f9e6db752ff7081754dfd38a5265c/android/app/src/main/java/dev/tvolkert/photos/PhotosChannel.java#L227) - basically I create a `GLSurfaceView` in order to then ask it info about itself), the GPU is a https://developer.arm.com/Processors/Mali-G52

In case it helps, these artifacts were also observed when I captured this systrace: https://drive.google.com/file/d/1bagpcY5wYprqMPmfTUJXeTAVuctbxHAv/view
Repository: flutter
Issue: [google_maps_flutter] Implement `takeSnapshot` on web platform interface
Labels: c: new feature,p: maps,platform-web,package,c: proposal,P3,team-web,triaged-web

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

The feature is available in the google_maps_flutter API but calls to the web interface throw a not implemented exception.

### Proposal

As far as I know the only way to do this is with an interlop call to a JS method. 

The following script must be added to index.html on web:
```js
<script>
    // Used to generate a screenshot of the Google map.
    async function _takeGoogleMapSnapshot(elementId) {
        let canvas = await html2canvas(document.getElementById(elementId), {
            useCORS: true,
            logging: false,
            // Removes elements not for printing.
            ignoreElements: (element) => element.tagName.toLowerCase() === 'button' || element.tagName.toLowerCase() === 'a' || element.className.toLowerCase().includes("gmnoprint"),
        });
        return canvas.toDataURL().replace('data:', '').replace(/^.+,/, '');
    }
</script>
```

Then the method can be implemented through a snub as follows:
```dart
@JS()
external dynamic _takeGoogleMapSnapshot(String elementId);

/// Returns a screenshot in the form of [Uint8List].
Future<Uint8List> takeWebSnapshot({required int mapId}) async {
  /// This is the `div` `id` of the map view on the DOM.
  ///
  /// KNOWN ISSUE: It may change without warning.
  final String divId = "plugins.flutter.io/google_maps_$mapId";

  return const Base64Codec().decode(await promiseToFuture(_takeGoogleMapSnapshot(divId)));
}
```
Repository: godot
Issue: Visual Shader Editor texture parameter triplanar type permanantly locks the color on material.
Labels: bug,topic:shaders

### Godot version

v4.2.beta1.mono.official [b1371806a]

### System information

Godot v4.2.beta1.mono - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3090 (NVIDIA; 31.0.15.3734) - Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz (12 Threads)

### Issue description

Using the Texture Parameter Triplanar node in the visual shader editor, slotting in a texture, and changing the type to Normal and then back to Data or color will permanently keep it yellow. This does not go away when deleting the shader and material from the file system and remaking it.

### Steps to reproduce

1. Create visual shader
2. Create shader material
3. Load the shader onto the shader material
4. in the visual shader editor create a TextureParameterTriplanar and plug the color output into the Albedo input on the 'Output' node.
5. Load a texture into the Texture Parameter Triplanar slot in the Inspector.
6. Change Type on the node to 'Normal'
7. Change the Type back to 'Data' or 'Color' and the colour from normal remains or even multiplies.

![image](https://github.com/godotengine/godot/assets/12518522/acb50796-81ca-4864-8a6b-108e1615201d)



### Minimal reproduction project

[VisualShader-TriplanarBug.zip](https://github.com/godotengine/godot/files/13060121/VisualShader-TriplanarBug.zip)
Repository: godot
Issue: Glitching in editor and game
Labels: bug,topic:rendering,needs testing

### Godot version

4.2.beta2

### System information

Windows 11 - Godot 4.2.beta2 - Vulkan (Forward+) - Nvidia GT 1030 - Amd Ryzen 3 1300x

### Issue description

In settings (sdfgi or any graphical setting) if you go quick and crazy this glitch happenes and only way to fix this is restart the editor.
![image](https://github.com/godotengine/godot/assets/78092286/8e2e388c-0731-430f-acd1-5f527c4a79ae)


### Steps to reproduce

-Created a project
-Created a 3D Scene
-Added a WorldEnviroment
-Quickly maximize SDFGI settings

### Minimal reproduction project

[testttt.zip](https://github.com/godotengine/godot/files/13060124/testttt.zip)
Repository: pytorch
Issue: grad is inf/nan when using torch.amp
Labels: triaged,module: amp (automated mixed precision)

### 🐛 Describe the bug

Below is a very simple for using torch.amp, but the gradients are inf/nan.
```python
import torch
from torch.cuda.amp import GradScaler
from torch import optim
scaler = GradScaler()
a = torch.randn(2, 2, requires_grad=True, device="cuda")
b = torch.randn(2, 2, requires_grad=True, device="cuda")
optimizer = optim.Adam([a, b], lr=0.1)
with torch.autocast(device_type='cuda'):
    c = a @ b
    loss = c.sum()
scaler.scale(loss).backward()
scaler.unscale_(optimizer)
print(a.grad)
```
running results:
```python
tensor([[-inf, nan],
        [-inf, nan]], device='cuda:0')
```

### Versions

```python
PyTorch version: 2.1.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 11 Pro
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A

Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.22635-SP0
Is CUDA available: True
CUDA runtime version: 12.1.105
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3080 Ti Laptop GPU
Nvidia driver version: 531.14
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture=9
CurrentClockSpeed=2300
DeviceID=CPU0
Family=207
L2CacheSize=14336
L2CacheSpeed=
Manufacturer=GenuineIntel
MaxClockSpeed=2300
Name=12th Gen Intel(R) Core(TM) i9-12900HX
ProcessorType=3
Revision=

Versions of relevant libraries:
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.23.3
[pip3] torch==2.1.0+cu121
[pip3] torch-tb-profiler==0.4.3
[pip3] torchaudio==2.1.0+cu121
[pip3] torchvision==0.16.0+cu121
[pip3] torchviz==0.0.2
[conda] Could not collect
```

cc @mcarilli @ptrblck @leslie-fang-intel @jgong5