Giter Site home page Giter Site logo

Tray app about tauri HOT 11 CLOSED

tauri-apps avatar tauri-apps commented on May 3, 2024 23
Tray app

from tauri.

Comments (11)

nothingismagick avatar nothingismagick commented on May 3, 2024 13

This is on our internal roadmap for 2020 already. Glad to see you are interested.

from tauri.

lucasfernog avatar lucasfernog commented on May 3, 2024 2

Not yet. We're focusing on shipping a beta release.

from tauri.

chiubaca avatar chiubaca commented on May 3, 2024 1

Any updates on this? This is the feature I'm waiting for 🙏

from tauri.

TheJaredWilcurt avatar TheJaredWilcurt commented on May 3, 2024 1

Since this was posted in 2019 and there's (seemingly) no movement, here is an alternative option:

from tauri.

amrbashir avatar amrbashir commented on May 3, 2024 1

@Lucasmiguelmac yeah you can create a tray-bar only app, just don't add any windows inside your tauri.conf.json and create them programmatically when you want. you also need to prevent app exit when there is no windows open which you can do. Hope into our discord if you want some help setting it up.

from tauri.

tensor-programming avatar tensor-programming commented on May 3, 2024

I have a few things in mind for this already. Will post more when we actually start the work on it.

from tauri.

lucasfernog avatar lucasfernog commented on May 3, 2024

I believe we'll be able to implement this when wry lands. Current webview implementation has some issues, specially regarding the event loop and GTK.

cc @wusyong correct me if i'm wrong :P

from tauri.

davidenke avatar davidenke commented on May 3, 2024

@lucasfernog Is there any progress on this?

from tauri.

Lucasmiguelmac avatar Lucasmiguelmac commented on May 3, 2024

Is there alreday a way to have a system-tray-only app? I see the mentioned issue shows now that we can open and close a window from the system tray bar, yet I can't tell if we could already implement a tray-bar only app.

from tauri.

nathanredblur avatar nathanredblur commented on May 3, 2024

@Lucasmiguelmac did you do that? could you show me ? or @amrbashir do you have an example of that?

from tauri.

amrbashir avatar amrbashir commented on May 3, 2024

@nathanredblur here is how to prevent the app from exit when the last window is closed

// Keep the event loop running even if all windows are closed
// This allow us to catch system tray events when there is no window
RunEvent::ExitRequested { api, .. } => {
api.prevent_exit();
}

from tauri.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.