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] Mac tauri v1.2.0 can not copy/paste with build mode(pnpm tauri build), but is right with using dev mode #5669
Comments
I tried to build a minimum example with custom protocol in release build but it's working fine. Edit: also examples in tauri are fine for me at least. |
Maybe not all dependencies were up to date? Hard to say with the |
The same situation happens to me. Packages |
I found that all shortcuts don't work, for example, |
This problem may be found on mac OS 13 . |
Tauri is a generic framework for building UI. This is going to affect all the apps built on top of Tauri in a major way. These are the most basic expectations from a usable UI framework. Can we escalate it urgently and get it on top of the priority list? |
@errorsandwarnings I'm willing to help but this issue has no reproduction steps and no expected behavior and hence I don't know how to start with. |
I also tested on M1 and couldn't see the issue. I'll try on Intel and older macOS too. |
Works on High Sierra (VM) too :/ |
I have tried it on MacOS Monterey and MacOS Catalina, it is there for at least according to me. |
I use Environment Packages App |
First of all, thank you @vicanso for screenshots so at least there's an app I could test. And I found dev build of cyberapi is working fine, but the app built by I hope I can still get a minimum reproducible example to share a common background on which went wrong.
I have tested the app built by |
Alright, I finally found the cause which is |
@wusyong Thanks for your reply. I found that remove By the way, I use the config for last verion(cyberapi), it was fine. And the current version I upgraded tauri and rust. I don't know what caused it. The config is:
|
We changed NSView structure to be more formal in 1.2. We used some hacky ways to add webview before. |
@wusyong Does this mean that you have found the reason why this is happening ? |
Add profile release with opt-level s as suggested in tauri-apps/tauri#5669
Closed by tauri-apps/wry#782 |
Describe the bug
Mac tauri v1.2.0 can not copy/paste with build mode(pnpm tauri build)but is right with using dev mode (pnpm tauri dev)
cmd +c/v is not working(v1.2.0,npm run tauri build bundle app),
This issue did not found with tauri v1.1.
Reproduction
No response
Expected behavior
No response
Platform and versions
Environment
› OS: Mac OS 13.0.0 X64
› Node.js: 16.13.1
› npm: 8.1.2
› pnpm: 7.17.0
› yarn: 1.22.17
› rustup: 1.25.1
› rustc: 1.63.0
› cargo: 1.63.0
› Rust toolchain: stable-x86_64-apple-darwin
Packages
› @tauri-apps/cli [NPM]: 1.1.0 (outdated, latest: 1.2.0)
› @tauri-apps/api [NPM]: 1.1.0 (outdated, latest: 1.2.0)
› tauri [RUST]: 1.1.2,
› tauri-build [RUST]: 1.1.1,
› tao [RUST]: 0.14.0,
› wry [RUST]: 0.21.1,
App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:1420/
› framework: Vue.js
App directory structure
├─ dist
├─ node_modules
├─ public
├─ src-tauri
├─ .git
├─ .vscode
└─ src
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: