sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Wrong position of a cursor pointer in web view where the web app is built with flutter web
Labels: a: text input,framework,a: typography,platform-web,has reproducible steps,P2,found in release: 3.3,found in release: 3.4,team-web,triaged-web

Web view showing the wrong position of cursor pointer on a text form field.
The web app is also built using flutter and that URL is used in web view.

## Code Snippets

### For web view
You can use any one of packages [webview_flutter](https://pub.dev/packages/webview_flutter) OR [flutter_inappwebview](https://pub.dev/packages/flutter_inappwebview)

```dart
InAppWebView(
  initialUrlRequest: URLRequest(url: Uri.parse('flutter web app url')),
),
```
### Flutter web app
`main.dart`
I used the custom font `Open Sans`. downloaded `.ttf` files from [Google Fonts](https://fonts.google.com/)

```dart
MaterialApp(
/// other code
theme: ThemeData(
  fontFamily: 'OpenSans'
)
```

`login_page.dart`
```dart
class LoginPage extends StatefulWidget {
  const LoginPage({Key? key}) : super(key: key);

  @override
  State<LoginPage> createState() => _LoginPageState();
}

class _LoginPageState extends State<LoginPage> {
  final _emailCtrl = TextEditingController();
  final _passwordCtrl = TextEditingController();

  bool _showPassword = false;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ListView(
        padding: const EdgeInsets.all(16),
        children: [
          const Text(
            'Login to your account',
            style: TextStyle(
              fontSize: 16,
              fontWeight: FontWeight.w600,
            ),
          ),
          const SizedBox(height: 48),
          TextFormField(
            controller: _emailCtrl,
            decoration: const InputDecoration(hintText: 'Email Address'),
          ),
          const SizedBox(height: 16),
          TextFormField(
            controller: _passwordCtrl,
            decoration: const InputDecoration(
              hintText: 'Password',
            ),
            obscureText: !_showPassword,
            onFieldSubmitted: (_) => _login(),
          ),
          const SizedBox(height: 20),
          TextButton(
            onPressed: () => setState(() => _showPassword = !_showPassword),
            child: Text('${_showPassword ? 'Hide' : 'Show'} password'),
          ),
          const SizedBox(height: 20),
          ElevatedButton(
            onPressed: () {},
            child: const Text('Login'),
          )
        ],
      ),
    );
  }
}
```


###Screenshots
<img width="300" src="https://user-images.githubusercontent.com/109264909/195588563-b836d400-3f8d-4ad8-aaff-d137c6f180c0.png" alt="Screenshot-Open sans font Used">

<img width="300" src="https://user-images.githubusercontent.com/109264909/195589109-8de3fc10-a416-40bf-926f-c58fdfd0b301.png" alt="Screenshot-Default font used">

This is happening only on `Android mobile devices` (Web view + Mobile browser).
Repository: rustdesk
Issue: Windows touch screen keyboard can't be used to input Windows log-in password remotely
Labels: bug

<!-- Hey there, thank you for creating an issue! -->

**Describe the bug you encountered:**

This happens when accessing a Windows device from yet another Windows device. The first Windows device is a tablet, so the main "keyboard" is the default touch keyboard that is built into the OS (or alternatively the old `osk.exe`). The problem is that when the remote device is on the log-in screen, it is impossible to use the touch keyboard to enter the password. It doesn't appear that the touch key presses are sent to the other device at all, as there is zero reaction there.

There do exist two ways to work around the problem: a) connect and use a physical keyboard to enter the password, or b) use the touch keyboard on the remote device itself, which can be triggered by using the accessibility options that are normally available on the Windows log-in screen.

**What did you expect to happen instead?**

The Windows built-in touch keyboard should be able to send key presses to the remote device on the log-in screen, so that it is possible to log in and use the desktop without resorting to any of the two workarounds explained above.

**How did you install `RustDesk`?**

GitHub release

**RustDesk version and environment**

RustDesk v1.1.9, Windows 10 on both sides
Repository: go
Issue: runtime: TestProfBuf failures
Labels: NeedsInvestigation,compiler/runtime

```
#!watchflakes
post <- pkg == "runtime" && test == "TestProfBuf"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/b87e47d3396db2999db317138d3e9c344969d22e)):

    --- FAIL: TestProfBuf (0.74s)
        profbuf_test.go:62: myTags is 0x1230000
        --- FAIL: TestProfBuf/BlockingWriteRead (0.73s)
            profbuf_test.go:37: unexpected profile read:
                have data [0x5 0x63 0x0 0x0 0x1]
                want data [0x8 0x63 0x65 0x66 0xc9 0xca 0xcb 0xcc]
                have tags [0x0]
                want tags [0x1230002]
                have eof=false, want false


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: go
Issue: runtime/coverage: TestCoverageApis failures
Labels: NeedsInvestigation,compiler/runtime

```
#!watchflakes
post <- pkg == "runtime/coverage" && test == "TestCoverageApis"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/6a12bf179dd644fb5b725e8fff27bf061f59d899)):

    --- FAIL: TestCoverageApis (225.26s)
        emitdata_test.go:44: harness path is /home/gopher/build/tmp/TestCoverageApis3430482397/001/build/harness.exe
        --- FAIL: TestCoverageApis/emitWithCounterClear (161.51s)
            emitdata_test.go:146: running: /home/gopher/build/tmp/TestCoverageApis3430482397/001/build/harness.exe -tp emitWithCounterClear -o /home/gopher/build/tmp/TestCoverageApis3430482397/001/emitWithCounterClear1-edir-y with rdir=/home/gopher/build/tmp/TestCoverageApis3430482397/001/emitWithCounterClear1-rdir-y and GOCOVERDIR=false
            emitdata_test.go:146: running: /home/gopher/build/tmp/TestCoverageApis3430482397/001/build2/harness.exe -tp emitWithCounterClear -o /home/gopher/build/tmp/TestCoverageApis3430482397/001/emitWithCounterClear2-edir-y with rdir=/home/gopher/build/tmp/TestCoverageApis3430482397/001/emitWithCounterClear2-rdir-y and GOCOVERDIR=false
            emitdata_test.go:158: running: go [tool covdata debugdump -live -pkg=main -i=/home/gopher/build/tmp/TestCoverageApis3430482397/001/emitWithCounterClear2-edir-y]
            emitdata_test.go:376: warning: GOCOVERDIR not set, no coverage data emitted
                I run last.
            emitdata_test.go:377: coverage data from "emitWithCounterClear" output match failed: error: output should contain "Func: emitWithCounterClear" but does not
            emitdata_test.go:146: running: /home/gopher/build/tmp/TestCoverageApis3430482397/001/build/harness.exe -tp emitWithCounterClear -o /home/gopher/build/tmp/TestCoverageApis3430482397/001/emitWithCounterClear1-edir-x with rdir=/home/gopher/build/tmp/TestCoverageApis3430482397/001/emitWithCounterClear1-rdir-x and GOCOVERDIR=true
            emitdata_test.go:146: running: /home/gopher/build/tmp/TestCoverageApis3430482397/001/build2/harness.exe -tp emitWithCounterClear -o /home/gopher/build/tmp/TestCoverageApis3430482397/001/emitWithCounterClear2-edir-x with rdir=/home/gopher/build/tmp/TestCoverageApis3430482397/001/emitWithCounterClear2-rdir-x and GOCOVERDIR=true
            emitdata_test.go:158: running: go [tool covdata debugdump -live -pkg=main -i=/home/gopher/build/tmp/TestCoverageApis3430482397/001/emitWithCounterClear2-edir-x]


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: go
Issue: runtime: TestPreemptionAfterSyscall failures
Labels: NeedsInvestigation,compiler/runtime

```
#!watchflakes
post <- pkg == "runtime" && test == "TestPreemptionAfterSyscall"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/c0063598b469a09799419844b1291ae5d8a7d608)):

    --- FAIL: TestPreemptionAfterSyscall (5.85s)
        --- FAIL: TestPreemptionAfterSyscall/10µs (5.21s)
            proc_test.go:1079: timeout exceeded: 5.213277879s (5s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: svelte
Issue: document invalid code when inline svelte bundle in html
Labels: documentation

### Describe the bug

See https://github.com/sveltejs/svelte/pull/6822

Maybe add this add some list of common troubleshooting guide

### Reproduction

-

### Logs

_No response_

### System Info

```shell
-
```


### Severity

annoyance
Repository: stable-diffusion-webui
Issue: Diffusion clip
Labels: enhancement

Have you guys seen this?

This repo includes the official PyTorch implementation of DiffusionCLIP, Text-Guided Diffusion Models for Robust Image Manipulation. DiffusionCLIP resolves the critical issues in zero-shot manipulation with the following contributions.

We revealed that diffusion model is well suited for image manipulation thanks to its nearly perfect inversion capability, which is an important advantage over GAN-based models and hadn't been analyzed in depth before our detailed comparison.
Our novel sampling strategies for fine-tuning can preserve perfect reconstruction at increased speed.
In terms of empirical results, our method enables accurate in- and out-of-domain manipulation, minimizes unintended changes, and significantly outperformes SOTA baselines.
Our method takes another step towards general application by manipulating images from a widely varying ImageNet dataset.
Finally, our zero-shot translation between unseen domains and multi-attribute transfer can effectively reduce manual intervention.
The training process is illustrated in the following figure. Once the diffusion model is fine-tuned, any image from the pretrained domain can be manipulated into the corresponding to the target text without re-training:



https://github.com/gwang-kim/DiffusionCLIP
Repository: go
Issue: x/pkgsite: surface known vulnerabilities for a module version
Labels: pkgsite,UX,vulncheck or vulndb

For packages with known vulnerabilities, pkgsite clearly presents a banner on the top.
However, for modules, the UX to access the list of related vulnerabilities is less clear.

Let's see `golang.org/x/text`. This is a package and also a module.
https://pkg.go.dev/golang.org/x/text@v0.1.0

Some packages in the module have vulnerabilities e.g. https://pkg.go.dev/golang.org/x/text@v0.1.0/encoding/unicode but there is no vulnerability in the **package** golang.org/x/text, so pkgsite doesn't show any information. However, modules are what users use for their dependency management, so I hope vulnerability information should be more easily accessible from the module page.

Currently, users can see the vulnerability info when they visit the module versions page
https://pkg.go.dev/golang.org/x/text@v0.1.0?tab=versions

I'd argue that this is not very obvious. Moreover, pulling all the versions to know about vulnerabilities for a specific module version is sometimes an overkill. For old modules, this list can grow very long. 
https://pkg.go.dev/k8s.io/kubernetes@v1.19.17-rc.0/pkg/apis/core?tab=versions
Repository: neovim
Issue: cmdheight=0 causes some side effect on vnoremap m :m '>+1<CR>gv
Labels: bug,ui

### Neovim version (nvim -v)

NVIM v0.9.0-dev-85-gb55742faf

### Vim (not Nvim) behaves the same?

N/A

### Operating system/version

5.19.13-arch1-1

### Terminal name/version

alacritty Version 0.10.1

### $TERM environment variable

tmux-256color (alacritty)

### Installation

appimage

### How to reproduce the issue

```
nvim --clean -c "set ch=0|vnoremap m :m '>+1<CR>gv"
```
Add some lines in a buffer, activate **visual** mode, select more than 2 lines, then press `m` to run the mapped command. 

### Expected behavior

The selected lines move 1 line down, and preserve the selection due `gv`.
(it works fine if I set `ch=1`)

https://user-images.githubusercontent.com/6012864/195631324-75df7044-05e0-4c5b-bdd9-d793fc6c7f37.mp4



### Actual behavior

`gv` seems not have any effect

https://user-images.githubusercontent.com/6012864/195631489-080cf051-cc55-420c-9266-c60ba4375c7f.mp4
Repository: storybook
Issue: Jumping and Reloading Story on click/change of controls in composed storybook
Labels: bug,needs triage

**Describe the bug**
I have two typescript/react storybook projects. One for a design system only and an other global one as composed storybook that also shows the stories of the design system. In the design system storybook itself everything works fine. 

But when I am in the global composed storybook and I am at a design systems story that has multiple controls of the same type (without default value) and I click at one and then on one of the other same typed control button, for example on "Set string" buttons that switch to an input text field, the cursor starts jumping between these two input fields and each jump also causes a reload of the story. This behavior repeats again and again. It just ends when I reload the page manually.
The same behavior appears with radio button controls.
It reminds me on an iteration generated controls structure where keys are missing which results in confusion of which field should be updated...

**To Reproduce**
I will try to create a reproducable project
Please create a reproduction by running `npx sb@next repro` and following the instructions. Read our [documentation](https://storybook.js.org/docs/react/contribute/how-to-reproduce) to learn more about creating reproductions.
Paste your repository and deployed reproduction here. We prioritize issues with reproductions over those without.

**System**
System:
    OS: macOS 12.5.1
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 18.2.0 - ~/.asdf/installs/nodejs/18.2.0/bin/node
    Yarn: 1.22.19 - ~/.asdf/installs/nodejs/18.2.0/.npm/bin/yarn
    npm: 8.9.0 - ~/.asdf/plugins/nodejs/shims/npm
  Browsers:
    Chrome: 106.0.5249.103
    Firefox: 104.0.2
    Safari: 15.6.1
Repository: stable-diffusion-webui
Issue: Option to always log generations
Labels: enhancement

I have "Always save images" enabled, but I'd like to log my settings regardless for potential future processing or statistics. Could you include an option that creates a log entry with the Generate action, rather than the Save action?
Repository: pytorch
Issue: [FSDP] Investigate `torch.cuda.current_stream()` usage in post-backward
Labels: oncall: distributed,triaged,module: fsdp

In FSDP's post-backward hook, `torch.cuda.current_stream()` sometimes returns the default computation stream and sometimes returns the all-gather/unshard stream, even though the execution should not be in the all-gather/unshard stream.

There is a `self._streams["post_backward"].wait_stream(torch.cuda.current_stream())` call before the gradient reduction that I cannot explain; the call originates from the initial Fairscale PR introducing FSDP. Changing it to `wait_stream(self._streams["computation"])` breaks unit tests (computation correctness), while changing it to `wait_stream(self._streams["unshard"])` seems to work (but needs to be verified thoroughly).

This is a conceptual problem and does not block any progress.

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501
Repository: go
Issue: x/exp/slog: TestTextHandlerSource failures
Labels: NeedsInvestigation

```
#!watchflakes
post <- pkg == "golang.org/x/exp/slog" && test == "TestTextHandlerSource"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/9309ff5942359dbbbf8b566145699d82b68fc0a7)):

    --- FAIL: TestTextHandlerSource (0.00s)
        text_handler_test.go:106: got
            "time=2000-01-02T03:04:05.000Z level=INFO source=\"/var/folders/9w/4l2_g3kx01x199n37fbmv3s80000gn/T/workdir-host-darwin-amd64-10_14/gopath/src/golang.org/x/exp/slog/text_handler_test.go\":95 msg=m\n"
            wanted to match source=([A-Z]:)?[^:]+text_handler_test\.go:\d+ msg


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: flutter
Issue: Problem to compile engine for linux using GN
Labels: c: crash,engine,platform-linux,P2,c: fatal crash,team-engine,triaged-engine

Hi there,

I am trying to compile my engine for linux architecture, I have done it without problem for other snapshot versions such as **d56742caf7b3b3f4bd2df93a9bbb5503**. However, when I try to prepare the engine for **1044d5d7857485639caee4798a5dcbb7** to compile it I got an error when I used **gn**

**>> src/flutter/tools/gn --linux --linux-cpu=x64 --runtime-mode=release**
`GOMA usage was specified but can't be found, falling back to local builds. Set the GOMA_DIR environment variable to fix GOMA.
Using prebuilt Dart SDK binary. If you are editing Dart sources and wish to compile the Dart SDK, set `--no-prebuilt-dart-sdk`.
Generating GN files in: out/linux_release_x64
ERROR at //third_party/angle/src/tests/BUILD.gn:5:1: Can't load input file.
import("//build/config/chromecast_build.gni")
^-------------------------------------------
Unable to load:
  /customEngine/src/build/config/chromecast_build.gni
I also checked in the secondary tree for:
  /customEngine/src/build/secondary/build/config/chromecast_build.gni
See //third_party/angle/BUILD.gn:74:7: which caused the file to be included.
      "$angle_root/src/tests:angle_tests",
      ^----------------------------------`
      
Do you know what could be the problem?
Repository: pytorch
Issue: torch.cat on empty tensor is bogus
Labels: triaged,module: edge cases

### 🐛 Describe the bug

torch.cat on Tensors of shape (0,) ignores the dim argument to cat:
```
x = torch.randn([0])
result = torch.cat([x, x], dim=999)
```

It should most likely error in this case.

### Versions

master
Repository: PowerToys
Issue: Change screen size for the same monitor
Labels: Issue-Bug,Product-FancyZones,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.63

### Running as admin

- [X] Yes

### Area(s) with issue?

FancyZones

### Steps to reproduce

When I change screen size for the same monitor
Fancy zones change their size accordingly which is very annoying 

### ✔️ Expected Behavior

Give the option or stop automatically change fancy zones size and position when I change the screen size for the same MONITOR

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: go
Issue: compress/flate: reduce allocations in init
Labels: Performance,NeedsInvestigation

compress/flate creates in initialization runtime two hcode slices for the following encoders: fixedLiteralEncoding and fixedOffsetEncoding.
It could be replaced with static version created by go generate.
Even the binary size is smaller, as we don't need to include code for hcode slice generation.

Also, errWriterClosed usage may be replaced with a non-allocating version.

old:
init compress/flate @0.84 ms, 0.030 ms clock, 4256 bytes, 8 allocs
new:
init compress/flate @0.68 ms, 0.012 ms clock, 2608 bytes, 3 allocs
Repository: flutter
Issue: Migrate to ICU4X (?)
Labels: engine,a: internationalization,P2,team-engine,triaged-engine

ICU4X has released a stable product that can be consumed as a static lib via generated C++ headers.

It promises some increased modularity and potentially a smaller binary. We should consider migrating to it.

https://home.unicode.org/announcing-icu4x-1-0/

https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/cpp.md

Some things unclear to me:

- We'd need a Rust toolchain for this.
- I imagine the API migration isn't entirely trivial.
- We'll have to update tests etc.

But some nice things:

- ICU4X supports dynamically loading locale-specific information out of the box. This should be able to save us a good chunk of binary size for at least some users.
Repository: pytorch
Issue: DISABLED test_vmapvjpvjp_linalg_lu_cuda_float32 (__main__.TestOperatorsCUDA)
Labels: triaged,module: flaky-tests,skipped,module: functorch

Platforms: linux

This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_vmapvjpvjp_linalg_lu_cuda_float32&suite=TestOperatorsCUDA) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/8873086538).

Over the past 3 hours, it has been determined flaky in 1 workflow(s) with 1 failures and 1 successes.

**Debugging instructions (after clicking on the recent samples link):**
DO NOT BE ALARMED IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
3. Grep for `test_vmapvjpvjp_linalg_lu_cuda_float32`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.


cc @zou3519 @Chillee @samdow @soumith
Repository: flutter
Issue: [Flutter Web] Migrate dom shims to a package provided by the Dart sdk when it is available.
Labels: dependency: dart,platform-web,P2,c: tech-debt,team-web,triaged-web

Because we only implemented the static interop variant of JS interop in Dart2Wasm, we actively migrated all of Flutter / `dart:ui` from `dart:html` to custom DOM shims. This bug tracks the effort to deprecate these shims, and replace them with a package provided from the Dart sdk when such a package exists.
Repository: ant-design
Issue: Allow disable spellcheck for select input fields globally
Labels: Inactive

### What problem does this feature solve?

Currently, it is not possible to disable spellCheck for the input field of Ant's <Select mode="multiple"> component.

See that others have already encountered this issue, and monkeypatching React is not an ideal solution:
https://medium.com/frontend-canteen/how-to-turn-off-spellcheck-globally-for-all-input-boxes-in-a-react-project-146c6595685e


### What does the proposed API look like?

Any number of options, such as:
a) Provide an inputRef prop for <Select> that allows users to get a ref to the <input> field, so they can modify its attributes directly.

b) Add support for select's input field via ConfigProvider. So perhaps:
<ConfigProvider 
  select={{spellCheck: false}}>
</ConfigProvider>

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->