Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Call to QMessageBox::exec or show logs out from my acct in ubuntu18
QtWS25 Last Chance

Call to QMessageBox::exec or show logs out from my acct in ubuntu18

Scheduled Pinned Locked Moved Unsolved Brainstorm
3 Posts 3 Posters 366 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.
  • P Offline
    P Offline
    Podugu
    wrote on last edited by Podugu
    #1

    Re: QMessageBox::exec or show() logs out from user account in ubuntu18

    Hello
    I am using qt5 on Ubunut18 and writing a c++ code, where I am just trying to popup an information box in SLOT handler. I tried all QMessageBox::exec and show and QMessageBox::information() all these calls are logging me out of the my account on Ubuntu 18. I do not see this issue with qt4. can some one help me how to handle this situation.

    It is not a crash, I do not see any crash dump. I think, it is a bug in messagebox

    JonBJ jsulmJ 2 Replies Last reply
    0
    • P Podugu

      Re: QMessageBox::exec or show() logs out from user account in ubuntu18

      Hello
      I am using qt5 on Ubunut18 and writing a c++ code, where I am just trying to popup an information box in SLOT handler. I tried all QMessageBox::exec and show and QMessageBox::information() all these calls are logging me out of the my account on Ubuntu 18. I do not see this issue with qt4. can some one help me how to handle this situation.

      It is not a crash, I do not see any crash dump. I think, it is a bug in messagebox

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

      @Podugu said in Call to QMessageBox::exec or show logs out from my acct in ubuntu18:

      Re: QMessageBox::exec or show() logs out from user account in ubuntu18

      Despite the title you have here, that link is just QMessageBox with a timeout from 2010?

      all these calls are logging me out of the my account on Ubuntu 18

      I can only guess you mean logs you out of your current desktop session?

      So something so bad happens that it somehow crashes the whole desktop. It would be surprising if the situation you describe was bad enough for that in a released Qt5.

      Can you supply the absolute minimum code to reproduce the behaviour?

      You might also like to say how the Qt was installed/what version (did it come with Ubuntu 18?) and which desktop manager you use (Unity? GNOME?).

      1 Reply Last reply
      1
      • P Podugu

        Re: QMessageBox::exec or show() logs out from user account in ubuntu18

        Hello
        I am using qt5 on Ubunut18 and writing a c++ code, where I am just trying to popup an information box in SLOT handler. I tried all QMessageBox::exec and show and QMessageBox::information() all these calls are logging me out of the my account on Ubuntu 18. I do not see this issue with qt4. can some one help me how to handle this situation.

        It is not a crash, I do not see any crash dump. I think, it is a bug in messagebox

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Podugu You should also check Linux logs (dmesg for example). It really looks like your desktop session is terminated for some reason (I guess something is crashing).
        What graphics hardware and driver do you use?

        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