Solved linux context menu, cannot switch to a new menu smoothly
-
Under Linux, when pop up a menu on one item(like, tree item), you have to right click another item twice(one for hide previous menu, and one for new menu?) to pop up a new menu.
But with windows, it only need one single right click. -
I don't think this is related to Qt. This behaviour is defined by the window manager. On my Ubuntu even Nautilus (which does not use Qt) behaves like this. Maybe you can change this if you use a custom event filter, but usually your application should behave like any other on the given platform, else it can irritate the user.
-
@jsulm, just realized that, same behaviour of Nautilus on RHEL 6 and 7. But this seems very strange.