On Fri, 2008-02-08 at 09:14 +0100, Sven Neumann wrote:
> On Thu, 2008-02-07 at 12:18 -0500, M Gagnon wrote:
> > * There's a few major showstopper bugs, and we're waiting on GTK folks
> > to fix them. The most important one is that keyboard shortcuts
> > currently do not care about the open window and can catch keys
> > randomly - for instance if you try to type a S in the text editor
> > tool, the S key down event will be stolen by the toolbox window, and
> > used to select whatever tool uses shortcut S.
> Has this been reported upstream?
It is exactly the same issue we fixed by having a custom key event
handler on docks (gimp_dock_key_press_event), and the proposed
fix seems inspired by this solution. Basically you would have to
call a function from your app to get the menu events handled
at the right time.
The upstream bug is here:
The complete GDK patch is here:
Gimp would simply call gdk_quartz_possibly_forward() (badly named)
from the right spot in the dock key event handler.
Gimp-developer mailing list