Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54820

Action from a context menu on a popup dialog is not triggered

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 5.6.0
    • None
    • Windows 7

    Description

      In our application we have a 'popup', which until now was actually a window, but which we wanted to turn into an actualy popup, by passing the `Qt::Popup` flag.

      As it turns out, when changing the flag, suddenly the actions in the context menu we create from a QTextEdit instance inside the popup are not triggered anymore (including Qt-default constructed actions)

      I tried to creating a minimal example that reproduces the problem. It seems I can't attach a file while creating this issue, but I'll attach it once the issue is created.

      Attachments

        1. qtbug54820.zip
          1 kB
          Friedemann Kleint
        2. TestPopup.cpp
          2 kB
          J van Bethlehem
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mmutz Marc Mutz
            jsvanbethlehem J van Bethlehem
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes