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

When setting a QMenu to a QAction a bizarre dot appears

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.0
    • None
    • Visual Studio 2017
      Windows 7 x64

    Description

      when creating an empty QMenu and adding it to an QAction a bizarre black dot appears when the mouse's cursor move on it.

      To reproduce the bug open the visual studio project given in the zip file then follow these steps:

      1) Start a debug session

      2) wait for start page Google to load
      3) click on the star (see image below) to add to favorites
       
      4) go to "Navigation" menu then "Favoris". You should see this:

      5) then move the mouse on "Google" then you will see the black dot appearing

      More clearly here: 

      Note that:

      • the dot disappears if you add some actions to the menu. 
      • if you make some other coding manipulations with this menu without adding an action to it you will see other dots appearing (when rightclicking on it for example).

      The lines of my code which makes this bug appears are the following:

      Attachments

        1. image-2019-03-16-21-53-18-858.png
          23 kB
          Dragoon Gryffoon
        2. image-2019-03-16-21-56-53-597.png
          38 kB
          Dragoon Gryffoon
        3. image-2019-03-16-21-57-21-847.png
          36 kB
          Dragoon Gryffoon
        4. image-2019-03-16-21-57-43-320.png
          12 kB
          Dragoon Gryffoon
        5. image-2019-03-16-22-01-32-189.png
          43 kB
          Dragoon Gryffoon
        6. image-2019-03-16-22-19-35-283.png
          12 kB
          Dragoon Gryffoon
        7. zNavigo IV QMenu dot.zip
          55 kB
          Dragoon Gryffoon
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            navis-raven Dragoon Gryffoon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes