gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-dev] Bug with F2 key


From: Piotr Eljasiak
Subject: Re: [gcmd-dev] Bug with F2 key
Date: Tue, 24 Oct 2006 00:40:14 +0200

> With 1.3.1 i have F2 and Shift+F6 both doing the same, too.
>  
> > BTW - F2 is my mistake. According to docs it should be 'Refresh files in
> > the active file list'. For compatibility with Total Commander GUI I'd
> > like to have it this way. Thanks for pointing out this.
> 
> I already wondered....;)
> In midnight commander F2 is the user-defined menu, which would translate
> to the context menu in gcmd. It makes sense, the next important action after
> Help is the Gnome/KDE/'Start'-Menu in the panel/kicker/taskbar, and if that is
> not available, just launch the context menu.

>From gcmd doc files:


        F1      Help
        F2      Refresh files in the active file list
        F3      View files
        F4      Edit files
        F5      Copy files
        F6      Rename or move files
        F7      Create directory
        F8      Delete files
        F9      Search
        F10     Quit


Total Commander provides the same F1..F8 operations - with the exception
of F2, which is used for reread the current file list. 


> I'm also used to Ctrl+r to refresh, it works in mc as well as in firefox or 
> IExplorer.
> (Are there any freedesktop recommendations for a standard ? And i still think 
> shortcuts should not be localized, that's too confusing, with worldwide 
> communication)


There is a kind of standard - see
http://www.softpanorama.org/OFM/Paradigm/index.shtml (ch. 8 and ch. 9)

According to the above document:


        F1      should not only invoke hypertext help, it should invoke help
        on any item of the toolbar and any item of tool bar menus. The
        help should be context sensitive: if some dialog is opened the
        help should be about this particular dialog, not the general
        help tree. 
        
        F2      user menu or equivalent (start menu). Should provide the
        possibility to run user shell scripts with substitution of macro
        variables from the panels. Each item of the menu should be
        activated by its own letter (hotkey). Format of the macro
        variable is not defined in this standard but following Midnight
        Commander conventions is recommended.  
         
        F3      should invoke built-in viewer or (in GOFM only) default
        viewer 
        F4      should invoke built-in editor or (in GOFM only) default
        editor
        F5      should copy/move subtrees if applied to directories
        F6      should be able to move subtrees
        F7      should create directories
        F8      should delete files or directory subtree if applied to the
        directory with non-empty subdirectories
        

The Conclusion (TM) - IMHO Micha is right about F2 meaning. It simply
should have the meaning we know from NC or MC - context menu. Using F2
as refreshing shortcut is not obvious... and we still have CTRL+R for
that purpose which is compliant with Total Commander, Firefox, IE and
many others. What about assigning 'user (context) menus' to F2?


Piotr


reply via email to

[Prev in Thread] Current Thread [Next in Thread]