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] Popup Window not open issue in macos #6501

Open
ElectronMB opened this issue Mar 20, 2023 · 1 comment
Open

[bug] Popup Window not open issue in macos #6501

ElectronMB opened this issue Mar 20, 2023 · 1 comment
Labels
platform: macOS status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@ElectronMB
Copy link

Describe the bug

I load the web URL into the Tauri app with the below code:

fn main() {
    use tauri::Manager;
  tauri::Builder::default()
    .setup(|app| {
        app.get_window("main").unwrap().eval(&format!("window.location.replace('{}')", "https://mail.google.com/mail/u/0/")).unwrap();
      Ok(())
    }).run(tauri::generate_context!())
    .expect("error running tauri app");
}

--> In the window system it's showing the popup window on click but the same code not working in the macOS system.
--> It's not showing any error in the console and terminal.
--> I need to open a popup like the below-attached screenshot.
--> I load the web URL so nothing to change in the open popup code.

image

Reproduction

  1. Run the app.
  2. click on the open popup button.

Expected behavior

image

Platform and versions

Environment
  › OS: Mac OS 13.2.0 X64
  › Node.js: 16.17.0
  › npm: 8.15.0
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.2
  › rustc: 1.68.0
  › cargo: 1.68.0
  › Rust toolchain: stable-aarch64-apple-darwin 

Packages
  › @tauri-apps/cli [NPM]: 1.2.3
  › @tauri-apps/api [NPM]: Not installed!
  › tauri [RUST]: 1.2.4,
  › tauri-build [RUST]: 1.2.1,
  › tao [RUST]: 0.15.8,
  › wry [RUST]: 0.23.4,

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

App directory structure
  ├─ node_modules
  ├─ src-tauri
  ├─ .vscode
  └─ src

Stack trace

No response

Additional context

No response

@ElectronMB ElectronMB added status: needs triage This issue needs to triage, applied to new issues type: bug labels Mar 20, 2023
@ElectronMB
Copy link
Author

ElectronMB commented Aug 17, 2023

Hello if anyone has any idea about this issue please let me know or any other ways to open the social login popup (eg. google, Facebook, apple) in macOS.
I would be glad if anyone can help me with this. Looking forward to your response.
Thanks in Advance

@ElectronMB ElectronMB closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2023
@ElectronMB ElectronMB reopened this Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: macOS status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
Status: 📬Proposal
Development

No branches or pull requests

2 participants