Boscop / Boscop/web-view

Usage with systray-rs

Open
#179 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
179
PR merge metrics
No merged PRs in 30d

Description

When I try to use web-view with the [systray-rs](https://github.com/qdot/systray-rs) library, I get an `Aborted (core dumped)` error. Do you know if that's something related to GTK not supporting two instances running at the same time?

Sample code:
```rust
let app = systray::Application::new()?;
loop {
match webview.step() {
Some(Ok(_)) => (),
Some(e) => e?,
None => return Ok(()),
}
}
```

If I remove the app assignment, the webview works fine. If I leave it (even if i'm not using the systray, just creating a new instance), the app crashes on webview.step(), with the core dump error.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the provided Rust example with systray::Application::new() present and absent, then compare the behavior at webview.step(). Investigate whether initializing both libraries causes the GTK-related abort; done means identifying the interaction's cause and documenting a confirmed resolution or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.