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. [Re-opened] Crashing application when trying to show popup window when moving focus to a date widget (KMyMoney) on MacOSX
Forum Updated to NodeBB v4.3 + New Features

[Re-opened] Crashing application when trying to show popup window when moving focus to a date widget (KMyMoney) on MacOSX

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

    A while ago I described an odd problem with a KMyMoney crashing on MacOSX when moving the focus to a date widget which wants to show and hide a little popup window (https://bugs.kde.org/show_bug.cgi?id=256902).

    The "Quick-and Dirty Fix":http://websvn.kde.org/trunk/extragear/office/kmymoney/kmymoney/widgets/kmymoneydateinput.cpp?r1=1214207&r2=1214206&pathrev=1214207 was to simply remove the show() and hide() methods calls from KMM's code.

    Does anyone with QT-background have a clue why this could happen??

    In the above crash description on bugs.kde.org you can also find a detailed crash log.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      If you have a small, self contained, compilable example, one could have a look at this.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mkae
        wrote on last edited by
        #3

        OK, I'll see what I can come up with, Volker.
        I'll come back to you as soon as I've got something. :-)
        Thanks for caring. :-))

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mkae
          wrote on last edited by
          #4

          OK, it looks like the culprit has been found by now.

          Obviously there was a wrong assignment for KPassivePopup:
          @

          • d->m_datePopup = new KPassivePopup(d->m_dateEdit);
          • d->m_datePopup = new KPassivePopup(parent);
            @

          So this hasn't actually been a QT bug, as I initially thought.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mkae
            wrote on last edited by
            #5

            Nope, unfortunately the above did not solve this issue, as it turned out now. :-(

            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