Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt not using the system notification daemon
Forum Updated to NodeBB v4.3 + New Features

Qt not using the system notification daemon

Scheduled Pinned Locked Moved Unsolved General and Desktop
notificationsx11linux
6 Posts 4 Posters 3.6k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ArsenArsen
    wrote on 24 Jun 2017, 16:29 last edited by ArsenArsen
    #1

    Hello!

    After switching my notifications from KDE to dunst I've started seeing Qt show these fallback notifications instead of my dunst ones.

    sample

    notify-send still works fine and shows the notifications I'd expect, and so do all GTK applications, it's only Qt that does this.

    Did anyone else encounter this problem before? I am on Arch Linux and running i3wm.

    Thanks in advance

    1 Reply Last reply
    1
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 24 Jun 2017, 16:34 last edited by
      #2

      Hi
      Do you mean that some Qt applications does this or Qt Creator ?
      Also since all of KDE is Qt then maybe its a KDE thing?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ArsenArsen
        wrote on 25 Jun 2017, 12:48 last edited by ArsenArsen
        #3

        @mrjj
        Hello, thanks for your response.
        All Qt applications do this.

        I removed KDE from my system which made this start happening.

        In my program outputs I get a few lines printed to output:

        DEBUG: D-Bus global menu: no
        DEBUG: D-Bus system tray: no
        

        Which did not happen back when I was running KDE.

        And as I said, everything is in theory normal. notification-send works and so do GTK applications.

        I tried running the freedesktop Notify method using the Qt5 DBus debugger, but it errored: error

        That is just about all I know about this issue, thanks again.

        1 Reply Last reply
        1
        • A Offline
          A Offline
          ArsenArsen
          wrote on 1 Jul 2017, 12:09 last edited by
          #4

          Bumped due to inactivity

          1 Reply Last reply
          0
          • E Offline
            E Offline
            ErikBjare
            wrote on 22 Aug 2017, 09:13 last edited by ErikBjare
            #5

            I've noticed this in the past as well. Would be nice with a fix.

            Does it work well in Gnome? If that's the case then I wouldn't consider it that important. I'm sure the Qt team knows how to allocate resources better than me.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 22 Aug 2017, 20:04 last edited by
              #6

              Hi,

              AFAIK, QSystemTrayIcon doesn't use dbus in its Linux backend. That might be related to your situation.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved