Re: RFE or Bug: Hotkeys while 'Hide File List' (update)
John Ellis <[email protected]> Sat, 04 Sep 2004 13:45:38 -0400
| Newsgroups | gmane.comp.gnome.apps.gqview.devel |
|---|---|
| Message-ID | <[email protected]> |
Daniel Poersch wrote: > > John Ellis wrote: > > > Known bug, but the problem (missing key accelerators) only seems to be > > experienced with GTK 2.4 and not GTK 2.2, could you please list the version of > > GTK that is installed? > gtk-2.4.4 + gqview-1.5.1 (gentoo, home) > gtk-2.4.0 + gqview-1.5.2 (RedHat 8, work) > > But I found out something more: > * If you hide the file list in 'one-window-mode', no accels work > * But if you hide the file list while 'file-list-floating', they work as > expected. > * But if you have the option 'remember tool state' selected and your > last state was floating (thus you only have an image window) the > accels are broken again at the next start. I have looked at this, and nothing I tried seems to work - short of displaying the menu within the main window - the accelerators simply do not work unless the menu bar has been shown. If you don't mind a menu bar then this patch will fix the bug: http://gqview.sourceforge.net/patches/gqview-1.5.2-accel-key-hack.patch If anyone manages to get the keyboard shortcuts working without showing the menu bar I would be happy to include the fix into GQview (this is a call for help). Otherwise, this bug looks like it will remain until GQview converts to using the new GTK 2.4 GtkActionGroups for menus, The current GQview menu bar is created with a GtkItemFactory, which now seems to be deprecated in 2.4 :/ I have no idea when GQview will begin to require at least GTK 2.4 so that it can be converted to the new menu construction methods, but probably around the time I upgrade to GTK 2.4 - development of GQview is still with GTK 2.2.4 Greetings, John -- John Ellis <[email protected]> http://gqview.sourceforge.net <GQview> | http://gqapplets.sourceforge.net http://gqmpeg.sourceforge.net <GQmpeg> | <panel applets> ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click