web-view icon indicating copy to clipboard operation
web-view copied to clipboard

Usage with systray-rs

Open lucasfernog opened this issue 5 years ago • 1 comments

When I try to use web-view with the 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:

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.

lucasfernog avatar May 08 '20 13:05 lucasfernog

Did you find any alternative for this? Something that actually supports macOS as well?

TCB13 avatar Dec 28 '25 23:12 TCB13