Grubuntu / PieMenu

Fork of PieMenu, with some improvements
8 stars 4 forks source link

Multi keys not working #8

Open pgilfernandez opened 7 months ago

pgilfernandez commented 7 months ago

Trying to create a subpie with the code you shared me I realized that multikeys doesn't work for me. The pie menu dropdown doesn't work as in your screenshots (mine is lacking the shortcuts):

Yours

pie

Mine

pie

Any idea why?

Grubuntu commented 7 months ago

Are the shortcuts correctly saved in the configuration?

Look in FreeCAD > Tools > Edit Parameters BaseApp > PieMenu > Index

Capture d’écran (28)

pgilfernandez commented 7 months ago

Yes, they are correctly stored. When checking it I realized what is the problem: if you have a pie with a single key, for instance "Q", and then create another pie with multikey shortcut and the first one is already taken for a pie with single key, for instance now "Q,A", then it doesn't work as the only pie shown is the one with the single key.

Is that behavior normal?

Grubuntu commented 7 months ago

I have the same behavior.

I don't know if this is normal because FreeCAD has a delay mechanism for multikey shortcuts.

Capture d’écran (29)

Pyside should not handle this in the same way.

pgilfernandez commented 7 months ago

I understand, that was a possibility and a limitation... Well, it's not that bad, once you know it's a matter of finding a workaround that works for you, hehehe.

Thanks anyway