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. 2nd GUI signals not delivered
Forum Updated to NodeBB v4.3 + New Features

2nd GUI signals not delivered

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 400 Views
  • 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.
  • J Offline
    J Offline
    jamat13
    wrote on last edited by
    #1

    Hi
    I have a gui that has lineEdit_textEdited signal'
    The gui may be called 1..4 times
    The first time (gui1, gui2, gui3 ..) works perfectly
    The next time THAT signal is not delivered.
    The 2 GUI are totally independent except for DBUS
    I can see each getting the other DBUS signals.
    WHERE can I start to debug
    Thanks
    James

    jsulmJ 1 Reply Last reply
    0
    • J jamat13

      Hi
      I have a gui that has lineEdit_textEdited signal'
      The gui may be called 1..4 times
      The first time (gui1, gui2, gui3 ..) works perfectly
      The next time THAT signal is not delivered.
      The 2 GUI are totally independent except for DBUS
      I can see each getting the other DBUS signals.
      WHERE can I start to debug
      Thanks
      James

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @jamat13 Your description is not really clear. Is it related to DBUS?
      Can you post the code?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jamat13
        wrote on last edited by
        #3

        I'm happy to post code, but there are 10 000 lines :-(
        What I did, without changing source in any way was build on ubuntu 22.04 where everything worked as expected. I then re-installed openSuSE leap 15.4 and now everything works as expected.
        Somewhere Somehow knickers in a knot. Happy, but a trifle confused, I emphasize my confusion

        GUI1 everything worked

        GUI2 everything worked

        GUI1 then GUI2 : GUI2 fails
        GUI2 then GUI1: GUI1 fails

        GUI1 and GUI2 are totally independent (with different args) except both share DBUS
        DBUS messages are sent and received by both.
        Impossible hence my confusion, but thanks
        James

        JonBJ 1 Reply Last reply
        0
        • J jamat13

          I'm happy to post code, but there are 10 000 lines :-(
          What I did, without changing source in any way was build on ubuntu 22.04 where everything worked as expected. I then re-installed openSuSE leap 15.4 and now everything works as expected.
          Somewhere Somehow knickers in a knot. Happy, but a trifle confused, I emphasize my confusion

          GUI1 everything worked

          GUI2 everything worked

          GUI1 then GUI2 : GUI2 fails
          GUI2 then GUI1: GUI1 fails

          GUI1 and GUI2 are totally independent (with different args) except both share DBUS
          DBUS messages are sent and received by both.
          Impossible hence my confusion, but thanks
          James

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @jamat13 said in 2nd GUI signals not delivered:

          I'm happy to post code, but there are 10 000 lines :-(

          If you don't spend your own time to narrow this down and produce a minimal example, from your description you expect someone to say what the issue is, and why it works under one Linux and not another?

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jamat13
            wrote on last edited by
            #5

            No but I was casting about in case anyone had seen similar. Since all is now working it'd be impossible to condense down. Since each (unix) process is isolated there is no other explanation than moc's magic somehow went awry. If I never see the issue again well-n-good else time for some serious spelunking

            JonBJ 1 Reply Last reply
            0
            • J jamat13

              No but I was casting about in case anyone had seen similar. Since all is now working it'd be impossible to condense down. Since each (unix) process is isolated there is no other explanation than moc's magic somehow went awry. If I never see the issue again well-n-good else time for some serious spelunking

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #6

              @jamat13 said in 2nd GUI signals not delivered:

              moc's magic somehow went awry.

              That is a surprising conclusion. Since moc acts only at compile time and produces C++ code which you can inspect. Anyway if you can't reproduce anything there is not much to analyze. Random possibilities could include uninitialized variables or other code fault or incorrect use of threads if you use them.

              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