Giter VIP home page Giter VIP logo

Comments (7)

ouwou avatar ouwou commented on June 12, 2024

Also, the indicator for where the message came is a bit unclear right now.

which indicator?

if you are on windows, the lack of actual notifications is due to some technical restrictions. specifically, GTK (the GIO component in particular) doesnt provide a notification backend for windows, nor can i use something like wintoast since the necessary headers arent available in mingw64. i was considering making a separate helper program that can do the heavy lifting for windows specifically but im not very enthused about that

from abaddon.

Rosentti avatar Rosentti commented on June 12, 2024

I'm using KDE Plasma (Wayland) on Arch.
These are the indicators (the bits on the side):
image

But the indicators aren't really a problem, I rarely use them on regular Discord either and just look at the notification contents

from abaddon.

ouwou avatar ouwou commented on June 12, 2024

strange that notifications dont work for you. do other application notifications work? does running notify-send trigger a notification?

from abaddon.

Rosentti avatar Rosentti commented on June 12, 2024

Vencorddesktop, discordcanary and notify-test all work fine.

from abaddon.

ouwou avatar ouwou commented on June 12, 2024

does this little example program send a notification?
g++ test.cpp $(pkg-config gtkmm-3.0 --cflags --libs)

#include <gtkmm.h>

int main() {
    auto app = Gtk::Application::create("com.example.test");
    Gtk::Window window;
    window.set_default_size(300, 300);
    auto n = Gio::Notification::create("Test");
    n->set_body("test");
    n->set_default_action("app.go-to-channel::1");
    Glib::signal_timeout().connect_once([&]() {
        app->send_notification("123", n);
    }, 100);
    app->run(window);
}

from abaddon.

Rosentti avatar Rosentti commented on June 12, 2024

image
Yes.

from abaddon.

ouwou avatar ouwou commented on June 12, 2024

thats pretty bizarre. if you really are getting the notification sound from abaddon that means effectively the same code is being run. you could maybe edit com.example.test in the test program with com.github.uowuo.abaddon to see if maybe you accidentally disabled notifications? if the test application still works with that change and you double checked your settings, maybe try removing lines 28-30 here and 34-35 to see if somehow the icon is preventing the notification from showing up

from abaddon.

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.