sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: excalidraw
Issue: Feature Request: [Import PDF Button] Algorithm Concept Select PDF, convert PDF to Image, Import Image. Now everyone can write on PDF
Labels: pdf

Hello folks!

I am a CS student and have industry experience in Python Programming.

So I want to write on PDF's to make notations. I think classic PDF annotations suck ass. 

Found the solution to convert them to JPEG, import the JPEG page and I were able to write on every PDF. 

Anyone want to implement this together? I am not familiar with your workflow and the code. Maybe someone can easily implement this.

I think it's a crucial feature, that many students would love to use.

It shouldn't be that hard. Use an existing library to convert PDF Files to images and some fine tuning.

Regards
Sci-Fi-AI
Repository: rust
Issue: Documentation: Evaluation order of procedural macros
Labels: C-cleanup,A-attributes,A-docs

As far as I see, neither the Book nor the Reference document the order in which procedural derive macros and procedural attribute macros are evaluated if multiple such macros are used on an item.  Is the order defined?  I would like to suggest that at least the Reference document the evaluation order, or that the order is undefined, if it is.
Repository: vscode
Issue: Open source translations of third-party vs code OSS extensions
Labels: feature-request,l10n-platform

<!-- ⚠️⚠️ 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. -->

There was [some work in the past moth](https://code.visualstudio.com/updates/v1_67#_new-localization-pipeline-for-extensions) or so to improve localization for third-party vscode extensions which is really great, one of those extension is the Python extension.
Unfortunately, this translation pipeline is not open sourced, so it's not possible to build the python extension (or any other extensions using it) from sources with translations enabled :disappointed: 

This feature request is to ask to opensource this translation pipeline or the necessary translation files to be able to build third-party vs code OSS extensions from sources with translations enable :pray: 

[Related discussion](https://github.com/microsoft/vscode-python/issues/19280)
Repository: vscode
Issue: Using debug console picker when not paused leaves console unresponsive
Labels: bug,debug

- Start two node launch configs
- Both sessions are running and not paused
- Use the debug console switcher to switch consoles
- Evaluate `1+1`, there is no response

In the console picker, we show parent sessions. The child needs to be focused to get the evaluate requests. When a child is paused, we will focus that one with this code

https://github.com/microsoft/vscode/blob/16c2a3ab3be4cf89c71fcce1ff1c11a06fcb923a/src/vs/workbench/contrib/debug/browser/repl.ts#L890-L896

I think this is the same as https://github.com/microsoft/vscode/issues/112595 except we still need to pick a child when not paused, and it also doesn't work when a deeper child is stopped instead.

https://github.com/microsoft/vscode/issues/138963 is relevant too

Basically when something tries to focus a new wrapper parent session, we should always focus one of its children instead. cc @isidorn
Repository: PowerToys
Issue: FancyZones: Set relative z-order for inactive windows in a zone
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

For canvas layouts, I'd like the ability to set default relative z-orders for zones.  When a window in one of these zones isn't the active window, its z-order is adjusted according to the relative z-order of its zone. 

For example, say I have three overlapping zones, A, B, and C, and I give them relative z-orders of 1, 2, and 3, with 1 being "closest" to the viewer.  If I navigate to a window in zone B, it comes to the top as usual.  When I navigate away from that window, it automatically returns to being behind any windows in zone A.

### Scenario when this would be used?

I use multiple apps with activity indicators near the left edge of their windows (e.g. Teams and Outlook).  I like to keep those indicators visible at a glance, but it's usually not important for me to see the rest of each of these windows when I'm not actively using them.  I use a canvas layout with a stack of zones that mostly overlap but have their left edges staggered enough for me to see the activity indicators.

Each time I interact with one of these apps, however, I have to navigate to one or more of the others to get their z-orders arranged in a way that lets me see them all again.  With this proposed feature, I wouldn't have to manually tend to the order of each window after each interaction; they would just pop back to their designated order in the stack when I'm done with them.

### Supporting information

_No response_
Repository: TypeScript
Issue: Narrowing `typeof` operator comparison by type
Labels: Suggestion,Awaiting More Feedback

**TypeScript Version:** All

**Search Terms:** Non-literal

**Code:** [Playground Link](https://www.typescriptlang.org/play?ts=4.8.0-dev.20220616#code/CYUwxgNghgTiAEYD2A7AzgF3gMyUgXPJjAJYoDm8APvCgK4C2ARiDANwBQoksCy6WJrEJ0UAaxRIA7ik4ls8ABQYAngAcQSBUJjwAvAfiqNWnHgCU8AN4d4d+DvgB6J-ADCdGHBQYIKkeKSMgA08AAKMEhqSGggwITEZJQ09MysHAC+XODQcIiomA5QAF6EAESJFGXU8GWpLDBlcgrK6prasPqGQsWWNvZFui7unt6+-vCiEtIooRFRMXEJGKQUNfXpWUA)

```ts
declare const foo: string | number;
declare const bar: unknown;
if (typeof bar === typeof foo) {
    bar // Currently: unknown, Proposed: string | number
}
declare const baz: "string" | "number";
if (typeof bar === baz) {
    bar // Currently: unknown, Proposed: string | number
}
```

**Use Case**

```ts
type Value = string | number | boolean | [defaultValue: unknown, ...choices: [unknown, ...unknown[]]];
class Options {
  constructor(public options: Map<string, Value>) {}
  get(key: string) { return this.options.get(key); }
  set(key: string, value: unknown) {
    const currentValue = this.options.get(key);
    if (typeof key === "undefined") return;
    if (Array.isArray(currentValue)) {
      const [, ...choices] = currentValue;
      if (choices.includes(value)) this.options.set(key, [value, ...choices]);
      return;
    }
    if (typeof value === typeof currentValue) this.options.set(key, value); // Error
  }
}
```
Repository: pytorch
Issue: [FSDP] Test that module using mixed precision can be loaded into non-mp module
Labels: triaged,better-engineering,module: fsdp

### 🚀 The feature, motivation and pitch

In FSDP, mixed precision checkpoint is taken with the full parameter precision, but we're missing a test that does this and restores into a non-mixed precision module. Having this test will help provide confidence that use cases which use these such as finetuning / inference work as expected.

### Alternatives

_No response_

### Additional context

_No response_

cc @zhaojuanmao @mrshenli @rohan-varma
Repository: next.js
Issue: [NEXT-835] Next.js attempts to fetch API route proxy as regular page
Labels: bug,Navigation,linear: next

### Verify canary release

- [X] I verified that the issue exists in Next.js canary release

### Provide environment information

```
    Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000
    Binaries:
      Node: 16.15.0
      npm: 8.5.5
      Yarn: 1.22.18
      pnpm: N/A
    Relevant packages:
      next: 12.1.7-canary.40
      react: 18.2.0
      react-dom: 18.2.0
```

### What browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_

### Describe the Bug

When proxying a page using an API route, Next.js will attempt to request the page's JavaScript at the rewrite destination instead of the source page. For example, with the following rewrite setup, a request to `http://localhost:3000?proxy=true` will return the correct HTML but then Next.js will send a request to `http://localhost:3000/_next/static/chunks/pages/api/proxy.js`. That request will 404, resulting in a full page reload, which then results in the same behavior, again and again in an infinite loop.

```ts
/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  async rewrites() {
    return {
      beforeFiles: [
        {
          source: '/:path(.*)',
          has: [{ type: 'query', key: 'proxy', value: 'true' }],
          destination: '/api/proxy?path=:path',
        },
      ],
    }
  },
}

module.exports = nextConfig
```

### Expected Behavior

The expected behavior is for Next.js to request the page's JS and not to use the rewrite source to determine the URL.

### Link to reproduction

https://github.com/migueloller/next-proxy-rewrite-bug

### To Reproduce

```bash
git clone https://github.com/migueloller/next-proxy-rewrite-bug
cd next-proxy-rewrite-bug
yarn install
yarn dev
open http://localhost:3000?proxy=true
```

<sub>[NEXT-835](https://linear.app/vercel/issue/NEXT-835/nextjs-attempts-to-fetch-api-route-proxy-as-regular-page)</sub>
Repository: PowerToys
Issue: Add `Ctrl + n/p` shortcut in PowerToys run
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage

### Description of the new feature / enhancement

Add shortcut support to navigate up and down. Ctrl + n/p is widely used in the picker of many softwares such as alfred or Vim or VSCode.

Now I am using a work around to remap Ctrl + n/p in keyboard manager.. Hope this can be supported natively.
![image](https://user-images.githubusercontent.com/10512841/174217692-f25c6277-3219-4707-9f2a-23c752096d85.png)


### Scenario when this would be used?

When I type something in PowerToys Run, there is a candidate list to select.

### Supporting information

_No response_
Repository: rust
Issue: Non-reproducible builds when depending on local crates
Labels: T-cargo,C-bug,A-reproducibility,S-has-mcve

It looks like meta fingerprints are not particularly stable when it comes to depending on local crates (i.e. with a dependency specifying a "path", a "[patch.crates-io]" section or a "__CARGO_TESTS_ONLY_SRC_ROOT" environment variable); different absolute pathnames seem to produce different build fingerprints.  This makes it difficult to reproduce builds when running as a different user or on a different operating system or distribution.

--remap-path-prefix doesn't seem to help at all here.

To reproduce this problem:

```cargo new --lib ext_crate

for i in a b
do
    mkdir $i
    (   
        cd $i
        TOPDIR=`pwd`
        cargo new --lib repro
        cat > repro/src/lib.rs <<EOF 
pub fn foo() -> usize { 
    ext_crate::add(1, 2) 
} 
EOF 
        cp -r ../ext_crate ext_crate
        cat > repro/Cargo.toml <<EOF 
[package] 
name = "repro" 
version = "0.1.0" 
edition = "2021" 
 
[dependencies] 
ext_crate = { version = "0.1.0", path="../ext_crate" } 
 
EOF 
        (   
            cd repro
            RUSTFLAGS="--remap-path-prefix=${TOPDIR}=/stablepath" cargo build -vv --release --target-dir=build
        )
    )
done
diff -ur [ab]/repro/build
```

My expected behavior here would be that those two builds would be identical and reproducible.

These are the versions I am using:
```
$ cargo --version --verbose
cargo 1.63.0-nightly (4d92f07f3 2022-06-09)
release: 1.63.0-nightly
commit-hash: 4d92f07f34ba7fb7d7f207564942508f46c225d3
commit-date: 2022-06-09
host: x86_64-unknown-linux-gnu
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:OpenSSL/1.1.1n)
os: Ubuntu 20.04 (focal) [64-bit]
$ rustc --version --verbose
rustc 1.63.0-nightly (546c826f0 2022-06-12)
binary: rustc
commit-hash: 546c826f0ccaab36e897860205281f490db274e6
commit-date: 2022-06-12
host: x86_64-unknown-linux-gnu
release: 1.63.0-nightly
LLVM version: 14.0.5
```
Repository: PowerToys
Issue: [Feature Request] Paste current date and time (Keyboard shortcut / Context menu)
Labels: Idea-New PowerToy

### Description of the new feature / enhancement

Shortcut key or context menu to paste the current date and time text.

Something like this.
Step 1: Open Notepad
Step 2: Hit F5
Step 3: Ctrl+A (to select all) then Ctrl+C (to copy)
Format should be like this. But can also be customized in the settings. (Maybe in the future)
`12:48 PM 6/17/2022`


### Scenario when this would be used?

Can be used if we need a current date and time text.

### Supporting information

_No response_
Repository: rustdesk
Issue: Won't capture a fullscreen game?
Labels: bug

I'm having trouble with rustdesk capturing a fullscreen game on Windows 11
Repository: flutter
Issue: [Proposal] Modify 300ms delay when using double tap 
Labels: c: new feature,framework,f: gestures,c: proposal,P3,team-framework,triaged-framework

When I use DoubleTap and Tap together ，tap will delay 300ms to check it's DoubleTap or not . It doesn't matter on mobile，but in desktop , there is a significant delay when tap fast . I know the reason is kDoubleTapTimeout ms Timer，but it's const. May I  have access to change it , or have any solution to handle click speed ? 

![6311655446402_ pic](https://user-images.githubusercontent.com/26687012/174242633-69a4fdfa-cc22-46f5-bc92-9de22950f0ca.jpg)


![6321655446402_ pic](https://user-images.githubusercontent.com/26687012/174242994-0704ad81-1833-42b2-bcdc-adad690012e9.jpg)

---

flutter --version
Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fb57da5f94 (4 weeks ago) • 2022-05-19 15:50:29 -0700
Engine • revision caaafc5604
Tools • Dart 2.17.1 • DevTools 2.12.2
Repository: PowerToys
Issue: strange behaviour with remapped Win+C → Win+V
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Status-Reproducible

### Microsoft PowerToys version

0.59.1

### Running as admin

- [ ] Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

1. Remap Win + C (formerly Contacts popup) → Win + V (clipboard history)
2. Focus any text input
3. press Win+C (clipboard history popup opens)
4. release Win

### ✔️ Expected Behavior

clipboard history popup stays opened

### ❌ Actual Behavior

clipboard history popup closes

### Other Software

Windows 11

Works as expected on Windows 10
Repository: material-ui
Issue: [Autocomplete] clearable icon should not be shown on label hover
Labels: waiting for 👍,component: autocomplete

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

![image](https://user-images.githubusercontent.com/8037810/174249979-93b14b56-49f0-4f4d-a36b-401cc4669a1d.png)


### Expected behavior 🤔

![image](https://user-images.githubusercontent.com/8037810/174250473-fd9c1fc1-0359-4fdf-9091-f56e35898dad.png)


### Steps to reproduce 🕹

Steps:
1. Hover label
(https://codesandbox.io/s/combobox-demo-material-ui-forked-35iu20?file=/demo.tsx)

### Context 🔦

_No response_

### 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: angular
Issue: AbstractControl pristine and dirty properties behaviour
Labels: area: forms,P3

### Which @angular/* package(s) are relevant/related to the feature request?

@angular/forms

### Description

The properties _pristine_ and _dirty_ should indicate if the value of a FormControl or FormGroup has changed yet, but the behaviour of those properties is not perfectly logical. If you start typing another value into a FormControl the value has changed referenced to the initial value. But if you type the inital value back into the control, the properties remain and that is not logical.
In that case you have only touched the control and the properties _touched_ and _untouched_ are set correctly.

### Proposed solution

_Pristine_ and _dirty_ should be chnaged only when the value of a control is different to it's initial value. Currently pristine and dirty indicate pretty much the same when you have change something in the control, but revert the changes.

### Alternatives considered

Alternatively some additional properties that indicate the behaviour I described would be useful. E.g. for a case when you want to show a save-bar but only when values are different to the initial values.
Repository: material-ui
Issue: [Autocomplete] Do not wrap into another div element
Labels: component: autocomplete

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

Expected render function to work similar to Datepicker, because Autocomplete wraps additional in another div which can cause TextField not to be rendered correctly sometimes.


### Examples 🌈

Codesandbox https://codesandbox.io/s/combobox-demo-material-ui-forked-6fkwkt?file=/demo.tsx

![image](https://user-images.githubusercontent.com/8037810/174266266-4dcb47ba-c63e-4ff5-a736-717df999f9c6.png)
![image](https://user-images.githubusercontent.com/8037810/174266459-bffd701a-d230-4670-86a6-c2c5dbb426ee.png)


### Motivation 🔦

Align render between components
Repository: storybook
Issue: Remove default template in code snippet
Labels: question / support,vue,addon: docs

I want to remove the template here and just retain the inner code. how to do it if it is not an issue?

<img width="550" alt="Screen Shot 2022-06-17 at 19 12 03" src="https://user-images.githubusercontent.com/76016878/174278255-28218c77-9169-494f-a78e-b208076d9f77.png">
 
here is my code

test.stories.ts
```
export default {
  title: 'Test',
  parameters: {
    docs: {
      page: TestDocument,
    },
  }
}

export const woowoo = (args: any) => ({
  components: { test },
  template: '<div>safd</div>',
})

```

testdocument.mdx

```
import { Story, Canvas, Preview} from '@storybook/addon-docs'

<Canvas >
  <Story id="test--woowoo" />
</Canvas>

```
Repository: flutter
Issue: WebView very slow when scrolling
Labels: platform-android,c: performance,p: webview,package,has reproducible steps,P2,found in release: 3.0,found in release: 3.1,team-android,triaged-android

Hello! I am trying to use external map in my app through webview, but scrolling actions causing a performance problems. 
Pay attention: when i tap on zoom in/out buttons there is no performance drops.
In external browser this html works fine without critical performance issues
<details>
  <summary>flutter doctor</summary>

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.2, on Microsoft Windows [Version 10.0.19044.1766], locale
    ru-RU)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[X] Chrome - develop for the web (Cannot find Chrome executable at
    .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default
      components
[√] Android Studio (version 2021.2)
[√] IntelliJ IDEA Community Edition (version 2022.1)
[√] VS Code (version 1.68.1)
[√] Connected device (3 available)
[√] HTTP Host Availability

! Doctor found issues in 2 categories.
</details>

<details>
  <summary>code</summary>

```dart

import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
    WebView.platform = SurfaceAndroidWebView();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: const WebView(
          initialUrl: 'http://192.168.0.100:8080/index.html',
        ),
      ),
    );
  }
}

```
</details>

<details>
  <summary>video</summary>

https://user-images.githubusercontent.com/13536462/174288502-80d06dd1-6800-456e-b74c-64ec10ae5e67.mp4


</details>
Repository: neovim
Issue: Support lua funcref in `keywordprg`
Labels: enhancement,lua

Differently from other `fooprg` options, `keywordprg` (used for `K` command) supports an ex command:
```
	When the first character is ":", the command is invoked as a Vim
	command prefixed with [count].
```

It would be useful to be able to specify (via the Neovim API from Lua, or the Lua API, only) a Lua funcref.

Use case: setting `keywordprg` to `vim.lsp.buf.hover` (or an appropriate wrapper) to avoid having to remap `K` conditionally.
Repository: flutter
Issue: return self instance  in callback functions of Interactable widgets
Labels: c: new feature,framework,c: proposal,P3,team-framework,triaged-framework

<!-- 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

in many cases,  I have to control a wiget programmingly . for example to clear a TextField after submit.  but on it's submit callback only return the val. I do know it accept a controller, but this mode is a little verbose .

<!--
     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

istead of 
```
TextField(onSubmited(String val) {})
```
to

```
TextField(
  onSubmited(Input input) {
     print(input.text);
     input.text = '';
     input.focus = false;
  }
)
```

<!--
     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.
-->