GNOME Bugzilla – Bug 381959
Pressing Alt-F to activate file menu toggles fullscreen
Last modified: 2006-12-04 15:56:12 UTC
Please describe the problem: Pressing Alt-F while focus is in the main pitivi window opens the "File" menu as expected, but also toggles the application into (or out of) fullscreen mode. Pressing F on its own toggles fullscreen mode as expected. This is because the key-press-event signal is connected to with connect() instead of connect_after(). Steps to reproduce: 1. Press Alt-F while focus is in the main pitivi window. Actual results: "File" menu opens and applications toggles to fullscreen mode. Expected results: "File" menu opens. Does this happen every time? Yes Other information:
Created attachment 77592 [details] [review] Proposed patch to fix issue Attached patch to CVS head.
2006-12-04 Edward Hervey <edward@fluendo.com> Patch by: Richard Boulton <richard@tartarus.org> * pitivi/ui/mainwindow.py: (PitiviMainWindow._setActions): Use connect_after instead of connect when connection to key events, so that standard handlers (like menu shortcuts) can actually work. Fixes #381959