FlatMenu accelerators broken

Congratulations!

I have encountered this problem too, does this problem have been solved?

Thanks!

By the way, the new widgets are great!! :slight_smile:

Andrea Gavana wrote:

路路路

Hi Christof,

On Tue, Aug 26, 2008 at 1:25 PM, Christof wrote:

Menu accelerators for FlatMenu do not seem to work (http://
xoomer.alice.it/infinity77/main/FlatMenu.html), even for Andreas demo.
I remember that this did work once.

I can't find the problem myself. Can anyone help? I am using wxpython
2.8.8.1.

Yes, I am seeing the same problem here... I have no idea what changes
on wxWidgets made accelerators not working anymore with FlatMenu, but
I will investigate. Just have a little patience, I am going to get
married next week so I am a bit busy :smiley:

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

--
View this message in context: http://www.nabble.com/FlatMenu-accelerators-broken-tp19160961p19942470.html
Sent from the wxPython-users mailing list archive at Nabble.com.

Hi,

Congratulations!

Thank you :smiley:

I have encountered this problem too, does this problem have been solved?

Not yet, I hacked the code back and forth but no luck. At the moment,
it seems that the combination of:

MyFrame.Connect(itemId, -1, wxEVT_FLAT_MENU_SELECTED, AcceleratorCommand)

and:

MyFrame.SetAcceleratorTable(someTable)

Is broken. So, either I should do something different in my code or
wxWidgets has been broken somewhere regarding the previous 2 commands.
I am still investifating, sorry for this :frowning:

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

路路路

On Mon, Oct 13, 2008 at 4:09 AM, blp330 wrote:

Andrea Gavana wrote:

Hi,

Congratulations!

Thank you :smiley:

I have encountered this problem too, does this problem have been solved?

Not yet, I hacked the code back and forth but no luck. At the moment,
it seems that the combination of:

MyFrame.Connect(itemId, -1, wxEVT_FLAT_MENU_SELECTED, AcceleratorCommand)

and:

MyFrame.SetAcceleratorTable(someTable)

Is broken. So, either I should do something different in my code or
wxWidgets has been broken somewhere regarding the previous 2 commands.
I am still investifating, sorry for this :frowning:

There was a bug in wx on Windows that causes the frame to ignore the accelerator table if there is no native menubar attached to the frame. This was fixed last week IIRC.

路路路

On Mon, Oct 13, 2008 at 4:09 AM, blp330 wrote:

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Andrea Gavana wrote:

Hi,

Congratulations!

Thank you :smiley:

I have encountered this problem too, does this problem have been solved?

Not yet, I hacked the code back and forth but no luck. At the moment,
it seems that the combination of:

MyFrame.Connect(itemId, -1, wxEVT_FLAT_MENU_SELECTED, AcceleratorCommand)

and:

MyFrame.SetAcceleratorTable(someTable)

Is broken. So, either I should do something different in my code or
wxWidgets has been broken somewhere regarding the previous 2 commands.
I am still investifating, sorry for this :frowning:

Andrea.

Oh, you don't need to say sorry for that, we should deeply thank you to do
that great widget for us. :slight_smile:

I found some other bugs in FlatMenu's customize dialog.

When I uncheck some menu items in customize dialog to remove them, it works
fine.
But when I open dialog again, the menu items I unchecked will disappear.
That means the user can not to show the menus again unless he close the
whole application then open it again.

And the customize dialog do not support i18n because all messages are raw
string not _("...").

Thank you.

路路路

On Mon, Oct 13, 2008 at 4:09 AM, blp330 wrote:

--
View this message in context: http://www.nabble.com/FlatMenu-accelerators-broken-tp19160961p19976321.html
Sent from the wxPython-users mailing list archive at Nabble.com.