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

Status tip is not displayed in status bar for context menu actions that have a non-widget parent

    XMLWordPrintable

Details

    Description

      When an action is constructed with a parent that is not a widget the status tip is not displayed in the status bar when the action is shown in a context menu. However, the status tip appears when the action is shown in a menu bar menu.

      I have attached a small example program that shows the problem. Try invoking the context menu and look at the status bar while highlighting the different actions.

      Attachments

        1. main.cpp
          0.2 kB
        2. MainWindow.cpp
          1 kB
        3. MainWindow.h
          0.3 kB
        4. MainWindow.ui
          0.9 kB
        5. StatusTip.pro
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            santosku Santosh Kumar (Inactive)
            stian Stian Andre Olsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes