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. Submenu isn't shown in systray context menu in plasma 5
Forum Updated to NodeBB v4.3 + New Features

Submenu isn't shown in systray context menu in plasma 5

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.7k Views 1 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.
  • D Offline
    D Offline
    dglent
    wrote on last edited by
    #1

    Hello, i have an system tray application in python3 qt5
    i wrote it in lxqt desktop with qt5, and everything works fine
    In plasma5 only, the submenu in the context menu doesn't expand (even the arrow beside the entry is absent)

    I realised also that some other functions are not provided as:

    • the right click event is not listen by the application
    • the hovered signal on an action is not emitted

    The problem appears here:
    https://github.com/dglent/meteo-qt/issues/34

    And the code of the submenu which doesn't expand is here:
    https://github.com/dglent/meteo-qt/blob/master/meteo_qt/meteo_qt.py#L72

    I have search a lot on the internet without find something relative

    • I don't know if it is a problem of my code (something new in qt5 ?) or of the system tray backend of plasma 5
    • Maybe is something about this class http://doc.qt.digia.com/qt-5.0/qtgui/qplatformsystemtrayicon.html which is not available in pyqt ?
    • Do i have to report somewhere a bug in order to take in account the dysfunction ? (problem of qt5/plasma5/pyqt5 ?)

    I have tested until qt 5.4.0 pyqt 5.4

    Thanks very much for any suggestion that you can provide me

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Before reporting a bug, you should also contact the KDE guys to check whether it's something known

      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
      • D Offline
        D Offline
        dglent
        wrote on last edited by
        #3

        Hi and thank you for the reply, i have posted here:
        http://mail.kde.org/pipermail/plasma-devel/2015-January/037981.html

        i will inform here if i have any answer.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dglent
          wrote on last edited by
          #4

          I have some news here:
          http://www.riverbankcomputing.com/pipermail/pyqt/2015-January/035386.html

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dglent
            wrote on last edited by
            #5

            Normaly is fixed with this:
            https://reviewboard.kde.org/r/122171/

            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