blondimage / keyvis-dev

Automatically exported from code.google.com/p/keyvis-dev
0 stars 0 forks source link

QMenu: Commands invoked through QMenu do not work in immediate mode (Fixed in Softimage 2012) #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When calling a command that opens a modal PPG from a QMenu when Softimage is in 
Immediate Mode, the operation is cancelled (The "Command was cancelled" warning 
is thrown). This mostly happens when calling commands for modeling, but also 
for others (like InfoSelection(), which opens a modal PPG in any case, 
independent of Immediate mode).

Currently it is a mystery as to why this happens. We suspect that there might 
be a problem with  window messages. We do need to take away the window focus 
from Softimage to display the quad menu, but we return it in time just before 
the clicked command or menu item is executed. Still, Softimage seems to be 
confused by this temporary loss of focus, and considers the command to be 
cancelled by the user. Chances are good that there is no way for us to fix this 
on our end.

Original issue reported on code.google.com by stefan@keyvis.at on 4 Jan 2011 at 9:37

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
2012 update: Softimage 2012 seems to contain an undocumented bugfix that allows 
timer events to wait for pick sessions, which is we have returned to using 
those to execute clicked menu items (commands, scripts, ect). This has resolved 
the issue.

Original comment by stefan@keyvis.at on 25 Jul 2011 at 3:46

GoogleCodeExporter commented 8 years ago

Original comment by stefan@keyvis.at on 25 Jul 2011 at 3:50