some issues in 2.9.2.0

(sorry if this post appear double time)

I again build a new wxPython from svn (2.9.2.0)

Following issues, I saw:

1) log messages

02:00:53 PM: Debug: Unrecognized accel key 'numpad *', accel string
ignored.
02:00:53 PM: Debug: Unrecognized accel key 'numpad /', accel string
ignored.
02:00:53 PM: Debug: Unknown accel modifier: 'numpad '
02:00:53 PM: Debug: No accel key found, accel string ignored.
02:00:53 PM: Debug: Unknown accel modifier: 'numpad '
02:00:53 PM: Debug: No accel key found, accel string ignored.

2) i have a dialog, where the cancel (esc key) is not working anymor
(in 2.8.11.1 it did)

3) in the same dialog, there is a listctrl, the arrow up/down keys
don't move to the next/previous item)

Forgot to say Python 2.6, XUbuntu Maverick.

4) In Demo, I can only select one demo item, after trying to select
another on the tree panel, the sandbox comes shortly, and the item is
not selected, so I cannot choose the other demo. In the Menu its the
same, and no traceback available.

For 3)

it could be, because I have an own key event handler in listctrl.
Anyway there is some difference in it between 2.8 and the current
testversion 2.9.2.0.

(sorry if this post appear double time)

I again build a new wxPython from svn (2.9.2.0)

Following issues, I saw:

1) log messages

02:00:53 PM: Debug: Unrecognized accel key 'numpad *', accel string
ignored.
02:00:53 PM: Debug: Unrecognized accel key 'numpad /', accel string
ignored.
02:00:53 PM: Debug: Unknown accel modifier: 'numpad '
02:00:53 PM: Debug: No accel key found, accel string ignored.
02:00:53 PM: Debug: Unknown accel modifier: 'numpad '
02:00:53 PM: Debug: No accel key found, accel string ignored.

This is due to a change made last week in how the accelerator strings are parsed out of the menu item labels. I asked about it on wx-dev and there was a proposed change that would probably make both sides of the issue happy. I'll be testing and probably committing that change soon.

2) i have a dialog, where the cancel (esc key) is not working anymor
(in 2.8.11.1 it did)

Can you make a sample showing this problem?

3) in the same dialog, there is a listctrl, the arrow up/down keys
don't move to the next/previous item)

Is it just the up/down keys or is it all key events in the listctrl that are not working? Are you sure that the listctrl has the focus?

Forgot to say Python 2.6, XUbuntu Maverick.

4) In Demo, I can only select one demo item, after trying to select
another on the tree panel, the sandbox comes shortly, and the item is
not selected, so I cannot choose the other demo. In the Menu its the
same, and no traceback available.

Sandbox?

I'm not seeing this issue on my Linux box, although it is still an earlier version of Ubuntu...

For 3)

it could be, because I have an own key event handler in listctrl.
Anyway there is some difference in it between 2.8 and the current
testversion 2.9.2.0.

In that case I'd like to see a runnable sample for this issue too.

···

On 12/13/10 5:11 AM, franz steinhaeusler wrote:

--
Robin Dunn
Software Craftsman

Robin Dunn wrote:

(sorry if this post appear double time)

I again build a new wxPython from svn (2.9.2.0)

Following issues, I saw:

1) log messages

02:00:53 PM: Debug: Unrecognized accel key 'numpad *', accel string
ignored.
02:00:53 PM: Debug: Unrecognized accel key 'numpad /', accel string
ignored.
02:00:53 PM: Debug: Unknown accel modifier: 'numpad '
02:00:53 PM: Debug: No accel key found, accel string ignored.
02:00:53 PM: Debug: Unknown accel modifier: 'numpad '
02:00:53 PM: Debug: No accel key found, accel string ignored.

This is due to a change made last week in how the accelerator strings
are parsed out of the menu item labels. I asked about it on wx-dev and
there was a proposed change that would probably make both sides of the
issue happy. I'll be testing and probably committing that change soon.

Ok

2) i have a dialog, where the cancel (esc key) is not working anymor
(in 2.8.11.1 it did)

Can you make a sample showing this problem?

Puh, I will try. I bound the Cancel to the wx.ID_CANCEL, ...

3) in the same dialog, there is a listctrl, the arrow up/down keys
don't move to the next/previous item)

Is it just the up/down keys or is it all key events in the listctrl that
are not working? Are you sure that the listctrl has the focus?

Forgot to say Python 2.6, XUbuntu Maverick.

4) In Demo, I can only select one demo item, after trying to select
another on the tree panel, the sandbox comes shortly, and the item is
not selected, so I cannot choose the other demo. In the Menu its the
same, and no traceback available.

Sandbox?

I'm not seeing this issue on my Linux box, although it is still an
earlier version of Ubuntu...

I see this still a while, also in last wxPy 2.9.x build; also in karmic,
maverick and now developer natty version

For 3)

it could be, because I have an own key event handler in listctrl.
Anyway there is some difference in it between 2.8 and the current
testversion 2.9.2.0.

In that case I'd like to see a runnable sample for this issue too.

I could try to print logs in my app, ...

it is in the form:
    class DocumentListCtrl(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin):
...
                self.Bind(wx.EVT_CHAR, self.OnChar, id = -1)
...
        def OnChar(self, event):
            event.Skip()
      #some code
..

···

On 12/13/10 5:11 AM, franz steinhaeusler wrote:

FranzSt wrote:

Puh, I will try. I bound the Cancel to the wx.ID_CANCEL, ...

In Dialog, I had a Listctrl:
self.Bind(wx.EVT_LIST_KEY_DOWN, self.OnKeyDown, id = -1)

and in this OnKeyDown, I forgot a event.Skip
Strange, that in 2.8.x it was working. I think, it is solved.

Hi,

I had this issue on OS X and I happened to find your message. I
thought it was my accelerator table or something to do with my list
control. I assume it was an OS X issue as I'm new to OS X but removing
the accelerator table did not remove the error so I knew it was the
menu declaration.

I had the following line:

addmovie = menu.Append(-1, "Add a movie\tCtrl + A", "Add a new movie
to the database")

I changed that to

addmovie = menu.Append(-1, "Add a movie\tCtrl-A", "Add a new movie to
the database")

and the problem went away.

Given the other messages it sounds like there may have been some
changes and you just need to know how to format the string or try it
the way I've done it assuming that still works. I'm not using 2.9.2
though to be fair.

Frank

···

On Dec 13, 1:11 pm, franz steinhaeusler <franz.steinhaeus...@gmail.com> wrote:

(sorry if this post appear double time)

I again build a new wxPython from svn (2.9.2.0)

Following issues, I saw:

1) log messages

02:00:53 PM: Debug: Unrecognized accel key 'numpad *', accel string
ignored.
02:00:53 PM: Debug: Unrecognized accel key 'numpad /', accel string
ignored.
02:00:53 PM: Debug: Unknown accel modifier: 'numpad '
02:00:53 PM: Debug: No accel key found, accel string ignored.
02:00:53 PM: Debug: Unknown accel modifier: 'numpad '
02:00:53 PM: Debug: No accel key found, accel string ignored.

2) i have a dialog, where the cancel (esc key) is not working anymor
(in 2.8.11.1 it did)

3) in the same dialog, there is a listctrl, the arrow up/down keys
don't move to the next/previous item)

Hi,

I had this issue on OS X and I happened to find your message. I
thought it was my accelerator table or something to do with my list
control. I assume it was an OS X issue as I'm new to OS X but removing
the accelerator table did not remove the error so I knew it was the
menu declaration.

I had the following line:

addmovie = menu.Append(-1, "Add a movie\tCtrl + A", "Add a new movie
to the database")

I changed that to

addmovie = menu.Append(-1, "Add a movie\tCtrl-A", "Add a new movie to
the database")

and the problem went away.

The problem in this case is the spaces. \tCtrl+A would work too.

Given the other messages it sounds like there may have been some
changes and you just need to know how to format the string or try it
the way I've done it assuming that still works. I'm not using 2.9.2
though to be fair.

it was a bug in how the accelerators are parsed from the menu item string. It has been fixed now.

···

On 12/24/10 8:17 AM, Frank Stallone wrote:

--
Robin Dunn
Software Craftsman