Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] command shortcuts on macos webview #8676

Closed
thewh1teagle opened this issue Jan 25, 2024 · 2 comments
Closed

[bug] command shortcuts on macos webview #8676

thewh1teagle opened this issue Jan 25, 2024 · 2 comments
Labels
priority: 1 high status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@thewh1teagle
Copy link
Contributor

thewh1teagle commented Jan 25, 2024

Describe the bug

When using multiwebview example on MacOS, I can't select / copy / paste text with command + c or command + v etc...
it works only if the parent window in focus but not the webview

Reproduction

Run multiwebview example

git clone https://github.com/tauri-apps/tauri
cd tauri
cargo run --example multiwebview --features="unstable"

Try to copy / paste / select with command + modifer key.

Expected behavior

It should select text with command + a or copy with command + c

Full tauri info output

[✔] Environment
    - OS: Mac OS 14.2.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.75.0 (82e1608df 2023-12-21)
    ✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
    - node: 18.19.0
    - npm: 10.2.3

[-] Packages
    - tauri [RUST]: 1.5.4
    - tauri-build [RUST]: 1.5.1
    - wry [RUST]: 0.24.7
    - tao [RUST]: 0.16.7
    - tauri-cli [RUST]: 1.5.9
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 1.5.9

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../src
    - devPath: ../src

Stack trace

No response

Additional context

it happens in wry library too in multiweview example or any other example

Example multiwebview in swift which works: gist.github.com

@thewh1teagle
Copy link
Contributor Author

thewh1teagle commented Jan 25, 2024

Also additional issue that may be related:
When running multiwebview example, and connecting to twitter account,
When creating post the first character that I type into the post written twice
I don't know what special with that element, but it happens only in multiwebview

Should I open separate issue?

@thewh1teagle thewh1teagle changed the title [bug] command shortcuts on multiwebview [bug] command shortcuts on macos webview Jan 28, 2024
@thewh1teagle
Copy link
Contributor Author

Fixed in tauri-apps/wry#1208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: 1 high status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants