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

[Windows] no method named hidden_title #2

Open
pluveto opened this issue Jul 7, 2024 · 1 comment
Open

[Windows] no method named hidden_title #2

pluveto opened this issue Jul 7, 2024 · 1 comment

Comments

@pluveto
Copy link

pluveto commented Jul 7, 2024

Reproduction

pnpm i
pnpm tauri dev

Error detail

error[E0599]: no method named `hidden_title` found for struct `WindowBuilder` in the current scope
  --> src-tauri\src\cmd\general.rs:77:10
   |
68 | /     child
69 | |         .inner_size(640.0, 560.0)
70 | |         .initialization_script(meta::JS_INIT_SCRIPT)
71 | |         .resizable(false)
...  |
76 | |         .decorations(true)
77 | |         .hidden_title(true)
   | |         -^^^^^^^^^^^^ method not found in `WindowBuilder<'_>`
   | |_________|



error[E0425]: cannot find function `build_tray_menu` in module `menu`
  --> src-tauri\src/main.rs:86:28
   |
86 |         .system_tray(menu::build_tray_menu())
   |                            ^^^^^^^^^^^^^^^ help: a function with a similar name exists: `build_app_menu`
   |
  ::: src-tauri\src\menu\app_menu.rs:13:1
   |
13 | pub fn build_app_menu() -> tauri::Menu {
   | -------------------------------------- similarly named function `build_app_menu` defined here


error: invalid character `{` in package name: `tauri-plugin-{{name}}`, characters must be Unicode XID characters (numbers, `-`, `_`, or most letters)
 --> ..\..\.cargo\git\checkouts\plugins-workspace-fd0259fcb18f51ad\a5792e2\shared\template\Cargo.toml:2:8
  |
2 | name = "tauri-plugin-{{name}}"
  |        ^^^^^^^^^^^^^^^^^^^^^^^
  |

Environment

rustup 1.27.1 (54dd3d00f 2024-04-24)
rustc 1.79.0 (129f3b996 2024-06-10)
$ ./fastfetch.exe
                                ..,    **@**
                    ....,,:;+ccllll    ---------------------
      ...,,+:;  cllllllllllllllllll    OS: Windows 10 (Pro) x86_64
,cclllllllllll  lllllllllllllllllll    Host: B450M DS3H
llllllllllllll  lllllllllllllllllll    Kernel: WIN32_NT 10.0.19045.4529 (22H2)
llllllllllllll  lllllllllllllllllll    Uptime: 1 day, 4 hours, 28 mins
llllllllllllll  lllllllllllllllllll    Packages: 47 (choco)
llllllllllllll  lllllllllllllllllll    Shell: bash 5.2.26
llllllllllllll  lllllllllllllllllll    Display (LG ULTRAGEAR+): 3840x2160 @ 144Hz (as 2560x1440) [External]
                                       DE: Fluent
llllllllllllll  lllllllllllllllllll    WM: Desktop Window Manager
llllllllllllll  lllllllllllllllllll    WM Theme: Aero - #0078D7 (System: Dark, Apps: Light)
llllllllllllll  lllllllllllllllllll    Icons: Recycle Bin
llllllllllllll  lllllllllllllllllll    Font: Segoe UI (12pt) [Caption / Menu / Message / Status]
llllllllllllll  lllllllllllllllllll    Cursor: Windows Default (32px)
`'ccllllllllll  lllllllllllllllllll    Terminal: mintty 3.7.1
       `' \*::  :ccllllllllllllllll    Terminal Font: Lucida Console (9pt)
                       ````''*::cll    CPU: AMD Ryzen 5 3600 (12) @ 4.20 GHz
                                 ``    GPU: NVIDIA GeForce RTX 3060 Ti (7.85 GiB) [Discrete]
                                       Memory: 19.82 GiB / 55.93 GiB (35%)
@riipandi
Copy link
Owner

Hi @pluveto, I'm currently working on a macOS laptop, so the Windows issue might be missed. But thanks for the report, you can make a PR if you want.

@riipandi riipandi reopened this Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants