sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Using keyboard manager shortcut to activate systray minimised application does not restore window correctly
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Repro,Needs-Triage,Area-App Compat

### Microsoft PowerToys version

0.79.0

### Installation method

Chocolatey

### Running as admin

No

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

In this example, I'm using KeepassXC, with the option of "Show a system tray icon" enabled, and "Hide window to system tray when minimised".
Assign a keyboard shortcut to run/activate the program when minimised to system tray (in my case, CTRL+ALT+K)
Activate shortcut.

### ✔️ Expected Behavior

KeepassXC window is restored from the system tray, as if re-running the program via its shortcut on the start menu/desktop.

### ❌ Actual Behavior

A hidden QT window is restored, and it is no longer possible to restore KeepassXC without completely closing the program and restarting it. This is likely down to an unexpected interaction between Keyboard Manager and KeepassXC, and an unusual method of keeping a hidden window available to auto-type passwords.

### Other Software

KeepassXC 2.7.6

### Notes
Unexpected window visibility behaviour is also seen with Keepass 2.56, making three normally hidden windows visible. It looks like the Keyboard Manager tries to make all windows from the program visible, whether they're intended to be or not.
Repository: awesome-mac
Issue: 🎉 Add 1001 Record
Labels: addition

### 🪩 Provide a link to the proposed addition

https://1001record.com

### 😳 Explain why it should be added

1001 Record is a tool that offers simplest yet feature-rich screen recording. Capture in high resolutions (720P to 4k), annotate recordings, choose FPS options, and auto-segment clips for easy editing.

### 📖 Additional context

The simplicity is its strength. With features like high-quality screen recording, various FPS options, audio capture, system sound recording (for macOS 13.0 and above), and customizable recording options, it allows for flexibility in creating content. You can record the entire screen, specific regions, or windows (for macOS 12.3 and above), and even include camera recording. Also, easy-to-use annotation tools, customizable shortcuts, and no watermarks or time limits make it greater than other tools. 

### 🧨 Issue Checklist

- [X] I have checked for other similar issues
- [X] I have explained why this change is important
- [X] I have added necessary documentation (if appropriate)
Repository: flutter
Issue: Add ability to select a 24-hour format as a parameter of showTimePicker
Labels: framework,f: material design,waiting for PR to land (fixed),f: date/time picker,a: internationalization,c: proposal,P2,team-design,triaged-design

### Use case

As a Flutter developer, I often encounter scenarios where I need to provide users with the ability to select a 24-hour format based on their preferences. Currently, the showTimePicker function does not offer this capability, resulting in limitations for applications targeting diverse user bases. For instance, in international applications or those catering to specific user demographics.

### Proposal

To address this limitation and enhance the flexibility of time selection in Flutter applications, I propose adding a new parameter to the showTimePicker function that allows developers to specify the desired time format (12-hour or 24-hour). This enhancement will empower developers to tailor their applications to meet the specific needs and preferences of their user base, ultimately improving user satisfaction and usability.
Repository: ant-design
Issue: Cascader 级联选择在搜索时，会把符合筛选要求的数据以列表的方式呈现，不方便数据选择
Labels: Inactive,improvement

### What problem does this feature solve?

Cascader 级联选择在搜索时，会把符合筛选要求的数据以列表的方式呈现，如果能够支持以 Cascader 原有的样式呈现，会更方便数据的筛选，如选择父节点，自动选择子节点。

原来的呈现方式
![1](https://github.com/ant-design/ant-design/assets/49982781/a492e603-ac47-4cfc-be57-bac14e70be9c)

搜索时的呈现方式
![2](https://github.com/ant-design/ant-design/assets/49982781/b593b0e9-3e62-4941-8a58-41e29e2b5e0d)

### What does the proposed API look like?

Cascader 级联选择在搜索时，会把符合筛选要求的数据以列表的方式呈现，建议同时支持以 Cascader 原有的样式呈现

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: rust
Issue: recursive async function using `Box::new` results in cycle error
Labels: A-diagnostics,T-compiler,A-async-await,AsyncAwait-Triaged,D-confusing,WG-async,I-cycle


```rust
async fn recur(n : u32) -> u32 {
   match n {
       0 | 1 => 1,
       _ => n + Box::new(recur(n-1)).await // using `Box::pin` compiles
   }
}
```
this results in 
```
error: cannot check whether the hidden type of opaque type satisfies auto traits
 --> src/lib.rs:4:38
  |
4 |        _ => n + Box::new(recur(n-1)).await // using `Box::pin` compiles
  |                                      ^^^^^
  |
note: opaque type is declared here
 --> src/lib.rs:1:1
  |
1 | async fn recur(n : u32) -> u32 {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: this item depends on auto traits of the hidden type, but may also be registering the hidden type. This is not supported right now. You can try moving the opaque type and the item that actually registers a hidden type into a new submodule
 --> src/lib.rs:1:10
  |
1 | async fn recur(n : u32) -> u32 {
  |          ^^^^^
  = note: required for `Box<impl Future<Output = u32>>` to implement `Future`
  = note: required for `Box<impl Future<Output = u32>>` to implement `IntoFuture`

error[E0391]: cycle detected when computing type of opaque `recur::{opaque#0}`
 --> src/lib.rs:1:1
  |
1 | async fn recur(n : u32) -> u32 {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
note: ...which requires type-checking `recur`...
 --> src/lib.rs:1:1
  |
1 | async fn recur(n : u32) -> u32 {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  = note: ...which again requires computing type of opaque `recur::{opaque#0}`, completing the cycle
note: cycle used when computing type of `recur::{opaque#0}`
 --> src/lib.rs:1:1
  |
1 | async fn recur(n : u32) -> u32 {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
```
We should instead mention that the async function does not implement `Unpin`, causing `Box<opaque>` to not implement `IntoFuture`.
cc @oli-obk this error should get significantly improved by #122192
Repository: PowerToys
Issue: Appearance and behavior is not working after a code manually typing primary button highlight color and same problem in secondary button and also in always hightlight color
Labels: Issue-Bug,Needs-Triage,Product-Mouse Utilities

### Microsoft PowerToys version

0.78.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Mouse Utilities

### Steps to reproduce

![Screenshot 2024-03-11 144104](https://github.com/microsoft/PowerToys/assets/142427264/b5201c03-1045-4878-aa33-e3c76754de4d)
![Screenshot 2024-03-11 144706](https://github.com/microsoft/PowerToys/assets/142427264/ad3af829-c4de-4052-8147-907f47d23b71)
![Screenshot 2024-03-11 144818](https://github.com/microsoft/PowerToys/assets/142427264/fa1fb0f5-72b2-4da8-9ca1-7234bec804de)


### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: material-ui
Issue: Does pigment-css already supports Joy UI?
Labels: support: question,package: joy-ui,package: pigment-css

### Steps to reproduce

I've tried to install and configure pigment-css according to the readme but a bunch of errors have popped out. So the question is if Joy UI is already supported or we have to wait a little longer to enjoy this feature. Thanks!

### Current behavior

_No response_

### Expected behavior

_No response_

### Context

_No response_

### Your environment

_No response_

**Search keywords**: pigment-css joy ui
Repository: next.js
Issue: App working fine in lower environment but in production application is not working
Labels: Upstream,bug,Image (next/image),Testing

### Link to the code that reproduces this issue

https://github.com/netergart/nextjs-example/blob/main/apps/web/server.js

### To Reproduce

upgrade next to 14.0.4

### Current vs. Expected behavior

We recently upgraded next:14.0.4
The react+nextjs application is working fine end to end in dev and QA environment but when we deployed it to production, it is deployed successfully but in our app went down. We are unable to load our application.
In console we got following errors.

<img width="772" alt="Screenshot 2024-03-11 at 5 10 17 PM" src="https://github.com/vercel/next.js/assets/56752427/20639d6d-b8ee-49ce-962b-1968dddad768">

Earlier we were using next version as 12.3.4 at that time it was working fine.


### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:22 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T6000
Binaries:
  Node: 18.19.0
  npm: 10.2.3
  Yarn: 1.22.19
  pnpm: N/A
Relevant Packages:
  next: 14.1.3
  eslint-config-next: 13.4.19
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 4.9.5
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router, Image optimization (next/image, next/legacy/image), Jest (next/jest), Operating System (Windows, MacOS, Linux)

### Which stage(s) are affected? (Select all that apply)

Other (Deployed)

### Additional context

_No response_
Repository: ant-design
Issue: Placeholder expands Select component and causes overflow.
Labels: Inactive,unconfirmed

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/antd-reproduction-template-forked-kv3dpg?file=%2Findex.js)

![image](https://github.com/ant-design/ant-design/assets/95150308/2d0968fa-313f-472d-a2db-0bcc9db5b61f)

### Steps to reproduce

Using Select inside a size restricted element with a large placeholder will expand the Select instead of using ellipsis like other Components do. Look at the reproduction Example.

This issue has been reported here https://github.com/ant-design/ant-design/issues/47660, but it got closed because it had not provided a reproduction example.

### What is expected?

As in other components placeholder should implement a text-overflow: ellipsis behaviors

### What is actually happening?

Placeholder is expanding the Select 

| Environment | Info |
| --- | --- |
| antd | 5.15.2 |
| React | 18.2.0 |
| System | Windows |
| Browser | Chrome |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: rust
Issue: `Command::env` doesn't report an error for keys with `=` in them
Labels: T-libs-api,C-discussion

```rust
fn main() {
    println!(
        "{:?}",
        std::process::Command::new("printenv")
            .arg("foo")
            .env("foo=bar", "baz")
            .output()
    );
}
```
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=4c8d4bb6d9fb790591d7cf07dbf516e8

This has a stdout of `bar=baz`, so the `foo` key has value `bar=baz`.

Which isn't what I asked for in `env`, but what I asked for is invalid.

We probably shouldn't panic from a bad `env` call, but this program shouldn't be able to `spawn` without erroring.

I assume `.env("foo=bar", "baz").env_remove("foo=bar")` shouldn't error. (Also, not sure how non-unix platforms handle this, but this validation should presumably be platform-specific).

I'm not sure if this is a *bug* or just weird behavior.

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

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

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: excalidraw
Issue: Please Whitelist Google Drive
Labels: Embeddable

Google Drive links are not yet allowed to embed. Please whitelist google drive link to enable it to embed successfully. Thank you so much.
Repository: material-ui
Issue: [ListItemButton] Typescript error when passing Button or LoadingButton as component and using it with href and target
Labels: bug 🐛,component: list,typescript,package: material-ui

### Steps to reproduce

Link to live example: https://codesandbox.io/p/sandbox/listitembutton-loadingbutton-repro-4mxwg5?file=%2Fsrc%2FDemo.tsx%3A9%2C41

Steps:
1.Open `Demo.tsx` and hover lines from 19 to 26 to see the error. The error is about the use of the `target` prop, which should be allowed when using `href`.

### Current behavior

TypeScript complains about `target` not existing on type `'IntrinsicAttributes & { component: ExtendButton<LoadingButtonTypeMap<{}, "button">>; } & ListItemButtonOwnProps & Omit<...> & CommonProps & Omit<...>'` if I pass `LoadingButton` to the `component` prop, along with `href` and `target`.

It still works fine, with a click opening the link in new tab if `target="_blank"`, it's just TypeScript complaining.

### Expected behavior

`target` should be supported as passing `href` results in the button using `a` as the root node

### Context

I want to take advantage of the `loading` prop of `LoadingButton`, so it spins while the client is retrieving the href url.

### Your environment

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  System:
    OS: macOS 14.2.1
  Binaries:
    Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: Not Found
    Edge: 122.0.2365.80
    Safari: 17.2.1
  npmPackages:
    @emotion/react: 11.11.4 => 11.11.4 
    @emotion/styled: 11.11.0 => 11.11.0 
    @mui/base:  5.0.0-beta.38 
    @mui/core-downloads-tracker:  5.15.12 
    @mui/icons-material: 5.15.12 => 5.15.12 
    @mui/lab: 5.0.0-alpha.167 => 5.0.0-alpha.167 
    @mui/material: 5.15.12 => 5.15.12 
    @mui/private-theming:  5.15.12 
    @mui/styled-engine:  5.15.11 
    @mui/system: 5.15.12 => 5.15.12 
    @mui/types:  7.2.13 
    @mui/utils:  5.15.12 
    @mui/x-data-grid: 6.19.6 => 6.19.6 
    @mui/x-date-pickers: 6.19.6 => 6.19.6 
    @types/react: 18.2.63 => 18.2.63 
    react: 18.2.0 => 18.2.0 
    react-dom: 18.2.0 => 18.2.0 
    typescript: 5.4.2 => 5.4.2 
```
</details>

**Search keywords**: ListItemButton, LoadingButton, Button, target, component prop
Repository: PowerToys
Issue: Mouse without borders processes not allow to polish signs on keyboard like ł or ć
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.79.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

when  mouse without borders is on I can't  enter Polish signs like ł or ć  

also when I try 2x to type ł  windows go to the login screen 

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: godot
Issue: Black edges problem in godot 4
Labels: platform:android,needs testing,topic:export

### Tested versions

4.2.1

### System information

Mobile / Android

### Issue description

When I add a camera, there are black edges, and I want there to be no black edges for all devices. Here are some pictures 
![٢٠٢٤٠٣١١_١٧٠٤٤٤](https://github.com/godotengine/godot/assets/153130532/ab44be94-e9fa-410b-84e5-4c49f86fa515)
![٢٠٢٤٠٣١١_١٧٢٢٤٥](https://github.com/godotengine/godot/assets/153130532/8e11f936-d76a-49c3-8282-8deb60721117)
Even though full screen is activated 

### Steps to reproduce

I hope it will be resolved as soon as possible 

### Minimal reproduction project (MRP)

Thank you all 
```[tasklist]
### Tasks
```
Repository: react
Issue: Bug: ESLint rule doesn't catch mistake with non-exhaustive dependencies
Labels: Status: Unconfirmed

React version: 18.2

## Steps To Reproduce

1. Use the `useState()` hook.
    * For example: `const [count, setCount] = useState(0)`
2. Create a function that directly uses the setter.
    * For example: `const inc: () => setCount((count) => count + 1)`
3. Witness how the function using the setter is not required to be listed as dependency, leading to soundness issues.
    * For example:
      ```jsx
      const incAndRemember = useCallback(() => {
        inc();
        setLast({ last: inc }); // We might be setting a stale reference here,
      }, []);                   // because `inc` doesn't need to be specified here.
      ```
4. Behavior in other hooks will start to diverge from what was intended if we ever rely on the identity of the reference we set.

Link to code example: https://github.com/arendjr/react-unstable-handler

## The current behavior

When a function inside a component (only) uses a setter of a `useState()` hook, that function is determined to be "stable" (non-reactive) despite its identity being unstable. Because the ESLint rule assumes the function is stable, it doesn't require it to be listed in dependency arrays, which may lead to soundness issues with other hooks, such as witnessed in the linked repository.

It appears the current behavior is in violation of the documentation regarding reactive values (https://react.dev/learn/lifecycle-of-reactive-effects#all-variables-declared-in-the-component-body-are-reactive ), which says:

> **All values inside the component (including props, state, and variables in your component’s body) are reactive. Any reactive value can change on a re-render, so you need to include reactive values as Effect’s dependencies.**

## The expected behavior

Whether a function is considered stable or not should be strictly determined by its identity.
Repository: ui
Issue: [Bug]: Date Picker not usable for Selecting Birth Date, despite this use case being advertised.
Labels: bug

### Describe the bug

Has anyone actually tried to use the date picker for selecting your bith date?

<img width="459" alt="Screenshot 2024-03-11 at 16 50 55" src="https://github.com/shadcn-ui/ui/assets/1416628/58e84d71-0dc2-42e2-bf73-4f5ccda0134a">

It's basically impossible, because you can't select the year.



### Affected component/components

Date Picker, Calendar

### How to reproduce

Obvious

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
all browsers
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: PowerToys
Issue: Evaluate highlighted calculation
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage

### Description of the new feature / enhancement

Whenever you select text, for example: `(5+5)*10` or `sqrt(5^2+5^2)` it would be nice to be able to press a certain keybind to then either:
1. Copy the result of the calculation to your clipboard
2. Replace the highlighted text with the result of the calculation

And then those two possibilities should be able to be chosen in the settings tab.

Some other useful possible features:
- History
- Solve for ...

Some more complicated possible features:
- Show graph
- Calculate intersect
- Custom functions etc.

### Scenario when this would be used?

**Saves time/Less of a hassle**
This is a relatively simple addon, but it would be a lifesaver to me and many others who do not want to open a new calculator window or something similar when wanting to do a calculation. 

**Use case**
When for example trying to calculate a certain algebraic function, or solve for X, etc. you can just press a button and then the calculation will be solved for you, saving you more time than let's say opening another window. This is especially useful for users who only have one screen, because overlapping windows makes it increasingly more difficult if you have to do multiple calculations in a short amount of time.

### Supporting information

_No response_
Repository: flutter
Issue: Add annotations to mark asset path and package name
Labels: c: new feature,framework,a: assets,c: proposal,P2,team-framework,triaged-framework

### Use case

See https://github.com/dart-lang/sdk/issues/46542 for details. In short it would be useful to have code completion inside the `Image.asset()` constructor invocation, for the `name` argument. Taking the optional `package` into account, if I understand the API right.

### Proposal

But because `Image.asset()` might be not the only API that accept assets, at very least there might be user widgets that accept asset names, we need a way to give the Dart analysis server a hint that this `String` is actually an asset name.

So, I propose adding two annotations to `flutter/lib/src/services/asset_manifest.dart` (let me know if there is a better location).

```dart
/// The marker that denotes that the annotated `String` typed formal parameter
/// is the name of an asset.
const Object assetName = Object();

/// The marker that denotes that the annotated `String` typed formal parameter
/// is the name of a package that contains the asset specified with [assetName].
const Object assetPackageName = Object();
```

And `Image.asset()` will be updated:
```dart
  Image.asset(
    @assetName
    String name, {
    super.key,
    AssetBundle? bundle,
<cut>
    @assetPackageName
    String? package,
    this.filterQuality = FilterQuality.low,
    int? cacheWidth,
    int? cacheHeight,
  })
```
Repository: flutter
Issue: [Impeller] document entity stencil-then-cover clip depth methods
Labels: P2,e: impeller,team-engine,triaged-engine

Please document:
- impeller::Entity::SetClipDepth
- impeller::Entity::IncrementStencilDepth
- impeller::Entity::GetClipDepth
- impeller::Entity::SetNewClipDepth
- impeller::Entity::GetNewClipDepth
- impeller::Entity::GetShaderClipDepth

cc @bdero
Repository: pytorch
Issue: torch.isin on GPU vs numpy isin: perf way slower than expected 
Labels: module: performance,module: cuda,triaged

## Issue description

Checking the existence of pairs in two input lists within a predefined set is significantly slower in PyTorch using torch.isin  compared to a straightforward NumPy implementation.

Additionally, when the max value of test_elements gets bigger, torch.isin gets even slower.

```
##################### max_val 16 #####################
torch.isin avg time 16 : 1.6009287008394797 seconds
torch.isin avg time 16 : 1.979371191933751 seconds
NP avg time : 0.06442011706531048 seconds
torch.isin in 24.851378323582125x slower than NP
torch implem in 30.725979431658324x slower than NP
##################### max_val 524288 #####################
torch implem avg time 524288 : 2.776143484438459 seconds
torch implem avg time 524288 : 2.0964134397606053 seconds
NP avg time : 0.06384715003271897 seconds
torch.isin in 43.481086986902355x slower than NP
torch implem in 32.83487890510825x slower than NP 
```
Output of the repro script. Check the gist for more details.

## Code example

https://gist.github.com/Kh4L/88c7660dab316c7a0702c87332eace62

Repro to test different max values in test_elements (torch.isin 2nd arg), which impacts the perf (probably due to the radix sort), and comparing it torch.isin  against an implem with builtins, as it is done in isin internal implementation https://github.com/pytorch/pytorch/blob/cccacf6c8e0f6c37f2e9cf1bfcea7cb5e198e54c/aten/src/ATen/native/cuda/TensorCompare.cpp#L16 ).
```
torch.eq(elements.unsqueeze(-1), test_elements.view((1,1,-1))).any(-1)
```
When the max_val of test_elements is small, torch.isin is faster than the builtin implementation but as it gets bigger, the builtin implem gets up to 30% faster than torch.isin. However, both are much slower than NP.


## System Info

- PyTorch or Caffe2: PyTorch
- How you installed PyTorch (conda, pip, source): source
- Build command you used (if compiling from source): 
- OS: Ubuntu 22.04.3 LTS (aarch64)
- PyTorch version: 2.2
- Python version: 3.10.12
- CUDA/cuDNN version: 12.4
- GPU models and configuration: H100
- GCC version (if compiling from source):
- CMake version:  (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0


cc @ptrblck