{"id":15790212,"url":"https://github.com/hacksore/tauri-window-save-state-bug","last_synced_at":"2025-03-31T18:41:40.822Z","repository":{"id":248428138,"uuid":"825723035","full_name":"Hacksore/tauri-window-save-state-bug","owner":"Hacksore","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-15T13:15:03.000Z","size":297,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T14:23:56.194Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hacksore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-08T11:23:06.000Z","updated_at":"2024-07-15T13:15:07.000Z","dependencies_parsed_at":"2024-07-14T20:48:41.015Z","dependency_job_id":"2d438171-9e4f-4f43-9bd0-100d538d12fb","html_url":"https://github.com/Hacksore/tauri-window-save-state-bug","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"79ca7f4e2d4fb01af2feb98f0215f296e4e9f634"},"previous_names":["hacksore/tauri-window-save-state-bug"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacksore%2Ftauri-window-save-state-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacksore%2Ftauri-window-save-state-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacksore%2Ftauri-window-save-state-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacksore%2Ftauri-window-save-state-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hacksore","download_url":"https://codeload.github.com/Hacksore/tauri-window-save-state-bug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246520398,"owners_count":20790939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T22:20:35.291Z","updated_at":"2025-03-31T18:41:40.794Z","avatar_url":"https://github.com/Hacksore.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tauri Window Save State Bug\n\n### Setup\n1. `pnpm i`\n1. `RUST_BACKTRACE=full pnpm tauri dev`\n\n\n🛑 Blocked on startup with the following stack dump\n\n```\nthread 'main' panicked at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cocoa-0.24.1/src/appkit.rs:1183:9:\nUncaught exception \u003cNSException: 0x600003cea160\u003e\nstack backtrace:\n   0:        0x104fef7e0 - std::backtrace_rs::backtrace::libunwind::trace::he4f0a5f56afe8e37\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5\n   1:        0x104fef7e0 - std::backtrace_rs::backtrace::trace_unsynchronized::habb302958e80f800\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5\n   2:        0x104fef7e0 - std::sys_common::backtrace::_print_fmt::h9819d35e2a5cda77\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:68:5\n   3:        0x104fef7e0 - \u003cstd::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display\u003e::fmt::h1f3776e0b5c7517d\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:44:22\n   4:        0x10500d848 - core::fmt::rt::Argument::fmt::h626862aa6242248a\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/rt.rs:165:63\n   5:        0x10500d848 - core::fmt::write::heedef092c8c0962e\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/fmt/mod.rs:1157:21\n   6:        0x104fed1cc - std::io::Write::write_fmt::h7178e8e2ea928914\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/io/mod.rs:1832:15\n   7:        0x104fef638 - std::sys_common::backtrace::_print::ha0f584bc7bfb9d2b\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:47:5\n   8:        0x104fef638 - std::sys_common::backtrace::print::h417292deb95532ed\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:34:9\n   9:        0x104ff0794 - std::panicking::default_hook::{{closure}}::h0cb68f1228c4613a\n  10:        0x104ff0488 - std::panicking::default_hook::h24535936bc1f51de\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:298:9\n  11:        0x104ff104c - std::panicking::rust_panic_with_hook::h5db4d2345b297bed\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:795:13\n  12:        0x104ff0a7c - std::panicking::begin_panic_handler::{{closure}}::h3fd558f09a0d5492\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:664:13\n  13:        0x104fefc68 - std::sys_common::backtrace::__rust_end_short_backtrace::hfc76eebe1ce501b2\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:171:18\n  14:        0x104ff07ec - rust_begin_unwind\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5\n  15:        0x10502acb4 - core::panicking::panic_fmt::hc2b459a5bd3dce66\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14\n  16:        0x104fc697c - core::panicking::panic_display::h69e346896f5b054a\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:263:5\n  17:        0x104c81ee8 - \u003c*mut objc::runtime::Object as cocoa::appkit::NSWindow\u003e::setStyleMask_::h098447cb28d2cca0\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cocoa-0.24.1/src/appkit.rs:1183:9\n  18:        0x104b89bd8 - tao::platform_impl::platform::util::async::set_style_mask::hba50aadbca8bc76a\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.16.9/src/platform_impl/macos/util/async.rs:50:3\n  19:        0x104b89cd0 - tao::platform_impl::platform::util::async::set_style_mask_async::{{closure}}::h836b65d74cd5d7c2\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.16.9/src/platform_impl/macos/util/async.rs:64:5\n  20:        0x104ba12dc - dispatch::context_and_function::work_execute_closure::h516f47ab7ecb9548\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dispatch-0.2.0/src/lib.rs:94:9\n  21:        0x19d7463e8 - \u003cunknown\u003e\n  22:        0x19d754bb8 - \u003cunknown\u003e\n  23:        0x19d7547cc - \u003cunknown\u003e\n  24:        0x19da17ad4 - \u003cunknown\u003e\n  25:        0x19d9d5258 - \u003cunknown\u003e\n  26:        0x19d9d4434 - \u003cunknown\u003e\n  27:        0x1a817819c - \u003cunknown\u003e\n  28:        0x1a8177fd8 - \u003cunknown\u003e\n  29:        0x1a8177d30 - \u003cunknown\u003e\n  30:        0x1a1233d68 - \u003cunknown\u003e\n  31:        0x1a1a29808 - \u003cunknown\u003e\n  32:        0x1a122709c - \u003cunknown\u003e\n  33:        0x104fc722c - \u003c() as objc::message::MessageArguments\u003e::invoke::he2a9f5e157602ad3\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/mod.rs:128:17\n  34:        0x104fc495c - objc::message::platform::send_unverified::{{closure}}::h1de18d70506d8a66\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/apple/mod.rs:27:9\n  35:        0x104fc1dd0 - objc_exception::try::{{closure}}::h503f0df89e179fdb\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc_exception-0.1.2/src/lib.rs:68:31\n  36:        0x104fc06f4 - objc_exception::try_no_ret::try_objc_execute_closure::h2a3a7b88012b221c\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc_exception-0.1.2/src/lib.rs:34:9\n  37:        0x104fce768 - RustObjCExceptionTryCatch\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc_exception-0.1.2/extern/exception.m:10:9\n  38:        0x104fbfa0c - objc_exception::try_no_ret::h7a87fbf87301c277\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc_exception-0.1.2/src/lib.rs:44:19\n  39:        0x104fc1640 - objc_exception::try::hb0fa7117000458cf\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc_exception-0.1.2/src/lib.rs:67:9\n  40:        0x104fc6af4 - objc::exception::try::h4de6ba1989c61214\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/exception.rs:8:5\n  41:        0x104fc4404 - objc::message::platform::send_unverified::hdd52eec107c95d84\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/mod.rs:12:9\n  42:        0x1049ce808 - objc::message::send_message::he5fba4ee7cf2b9a0\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc-0.2.7/src/message/mod.rs:178:5\n  43:        0x1049ce808 - tao::platform_impl::platform::event_loop::EventLoop\u003cT\u003e::run_return::heba0781fe7b593f8\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.16.9/src/platform_impl/macos/event_loop.rs:193:16\n  44:        0x1049cf68c - tao::platform_impl::platform::event_loop::EventLoop\u003cT\u003e::run::h133a10348c2b692b\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.16.9/src/platform_impl/macos/event_loop.rs:160:21\n  45:        0x104a6f180 - tao::event_loop::EventLoop\u003cT\u003e::run::h3942928b83a8e218\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.16.9/src/event_loop.rs:179:5\n  46:        0x1049d4bd0 - \u003ctauri_runtime_wry::Wry\u003cT\u003e as tauri_runtime::Runtime\u003cT\u003e\u003e::run::h131094f1f0142c72\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-0.14.8/src/lib.rs:2299:5\n  47:        0x10493b9b0 - tauri::app::App\u003cR\u003e::run::hd69b39225c29766a\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-1.6.8/src/app.rs:868:5\n  48:        0x10493bbd4 - tauri::app::Builder\u003cR\u003e::run::h98a97b6452aec0b3\n                               at /Users/hacksore/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-1.6.8/src/app.rs:1727:5\n  49:        0x1049df4d0 - window_save_state_bug::main::ha0dc1a1a02dd7d33\n                               at /Users/hacksore/code/repro/tauri-window-save-state-bug/src-tauri/src/main.rs:23:3\n  50:        0x1049a9c34 - core::ops::function::FnOnce::call_once::h25f3ad00820c7fc3\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5\n  51:        0x1049044f4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb2d4b355decfc6d6\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/sys_common/backtrace.rs:155:18\n  52:        0x104a1b468 - std::rt::lang_start::{{closure}}::hec495c55d1096433\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/rt.rs:159:18\n  53:        0x104fe85c4 - core::ops::function::impls::\u003cimpl core::ops::function::FnOnce\u003cA\u003e for \u0026F\u003e::call_once::h2f86a413382a979d\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:284:13\n  54:        0x104fe85c4 - std::panicking::try::do_call::hd40c9eb4d233b111\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40\n  55:        0x104fe85c4 - std::panicking::try::h13ac68ffa70c387b\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19\n  56:        0x104fe85c4 - std::panic::catch_unwind::habea7b6fc986e966\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14\n  57:        0x104fe85c4 - std::rt::lang_start_internal::{{closure}}::h6b16436250c3cf62\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/rt.rs:141:48\n  58:        0x104fe85c4 - std::panicking::try::do_call::h9970b928a0b20951\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40\n  59:        0x104fe85c4 - std::panicking::try::h4dfbe3cb4cc8f253\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19\n  60:        0x104fe85c4 - std::panic::catch_unwind::hf6a5e1e8ce5a10f5\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14\n  61:        0x104fe85c4 - std::rt::lang_start_internal::hecc68fef83c8f44d\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/rt.rs:141:20\n  62:        0x104a1b434 - std::rt::lang_start::h1760092ae641734b\n                               at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/rt.rs:158:17\n  63:        0x1049dfc64 - _main\nlibc++abi: terminating due to uncaught foreign exception\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhacksore%2Ftauri-window-save-state-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhacksore%2Ftauri-window-save-state-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhacksore%2Ftauri-window-save-state-bug/lists"}