Action at the menubar can't be disabled? Probably a bug of Qt or Ubuntu?
-
So do you use the lib's provided by ubuntu. Try to install the QtSDK which inlcudes version 4.7.3.
-
The same again...
Look some screenshots: "1":http://i55.tinypic.com/15q6yvp.jpg, "2":http://i55.tinypic.com/15yspie.jpg -
This could be a valid bug in Qt or Ubuntu 11.04. The change in the handling of the menu bar in 11.04 may have broken the enabling and disabling of actions. You should report it in the "Qt bug tracker":http://bugreports.qt.nokia.com anyway. I cannot test it, because I'm still running 10.04 for stability..
-
-
Is it still not working for you?
I am also working on Ubuntu 11.04, but its working for me.
The Action can be disabled and the Menu is attached to the application and not to the top Unity bar
-
At the application i am developing it works fine!
But i just checked the example i have at post#1 and it doesn't work..
It is weird i can say..
@ui->actionAction->setEnabled(false);@
really doesn't work at the example.. -
this is how it looks for me, so perfectly fine.
I added the QT Version running on my machine running Ubuntu 11.04
"On my machine":http://i55.tinypic.com/2uf9aag.png
"Whole Desktop with Unity":http://i53.tinypic.com/2cz6m1e.png
-
Hmm i have Qt 4.7.2
How do you update to 4.7.3 at ubuntu?P.S I don't have Qt SDK
-
you can build it yourself for example, but since the problem seems to be fixed in Qt 4.7.3 it is no longer reproducable
-
This bug is in somewhere in the Xorg. I use 32 bit, Kubuntu, Oneiric, I lost one hour from my development time to realize that it is not my fault. :-|