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. Mac OS clicking on a already shown menu (which contains submenu) closes the menu
Forum Updated to NodeBB v4.3 + New Features

Mac OS clicking on a already shown menu (which contains submenu) closes the menu

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

    I am observing a bug in my Qt application on Mac OX platform and it can be observed using Qt Menu sample program.

    As an example, the Applications menu is full of items which open submenus. If you mouseover one of these items, the submenu will appear after an appropriate pause. However, the convention for most UIs is that the user can also click on the item to force the submenu to open immediately. If the submenu is already open, clicking on the menu item should do nothing.

    On Mac OS , clicking on the menu item causes the item to briefly flash as though it were selected and then the entire menu closes.

    E.g.

    • Go to $QTDIR\examples\mainwindows\menus directory.
    • Start menu app
    • Click on Edit -> Format menu item. It would open Format submenu containing various option (Bold, Italic etc..)
    • While Edit menu and Format submens are visible, if you click on Format menu item, entire menu disappears.
      It does not happen with non-native menus and context menus on Mac OS platform. This problem is reproducible with native menus. Other applications on Mac OS such as Safari does not exhibit this problem.

    It seems to be a Qt bug. Is there any work-around available for this problem.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jain_vipin_swm
      wrote on last edited by
      #2

      It seesm to be a Qt bug. There is a open isssue "QTBUG-10706":https://bugreports.qt.nokia.com/browse/QTBUG-10706. It wold be great if someone can provide me any workaround.

      [EDIT: added link to bug, Volker]

      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