Opened 14 years ago

Closed 8 years ago

#960 closed defect (fixed)

Some hotkeys disabled in 6.5 wxgui

Reported by: epatton Owned by: grass-dev@…
Priority: minor Milestone: 7.0.5
Component: wxGUI Version: svn-develbranch6
Keywords: hotkeys, wxgui, keyboard shortcuts Cc:
CPU: x86-64 Platform: Linux

Description

Hi,

In the Grass 6.5 wxpython gui, using Ctrl+E closes the wxgui down nicely, but Ctrl+Q doesn't exit Grass completely, it performs the same function as Ctrl+E; is it supposed to exit Grass, including exiting it from the shell as well?

In trunk, Ctrl+Q exits both the wxpython gui and closes the Grass session running on the shell.

One other thing I noticed about the wxpython hotkeys - both 6.5 and trunk have the 'add raster layer' and 'add vector layer' button with hotkeys labelled Ctrl+R and Ctrl+V respectively, but these hotkeys seem to be disabled.

Thanks,

~ Eric.

Change History (3)

comment:1 by cmbarton, 14 years ago

Summary: Seom hotkeys disabled in 6.5 wxguiSome hotkeys disabled in 6.5 wxgui

The GRASS shutdown, with Cmd/Ctl-Q or from the menus, doesn't work for me in GRASS 7 either. It's a good idea, but needs some work still.

Ctrl/Cmd-V is used for the Paste function on all platforms and should not be mapped to a special function in GRASS. Same thing goes for Ctrl/Cmd-C (copy), Ctrl/Cmd-X (cut), Ctrl/Cmd-W (close window), Ctrl/Cmd-A (select all), and Ctrl/Cmd-Z (undo). Additionally, Ctrl/Cmd-P is commonly used for print, Ctrl/Cmd-F for find, Ctrl/Cmd-G find again, and Ctrl/Cmd-O for open. It would be wise to avoid these common hot key mappings too.

Michael

in reply to:  description comment:2 by wenzeslaus, 8 years ago

Replying to epatton:

In the Grass 6.5 wxpython gui, using Ctrl+E closes the wxgui down nicely,

This is now done by Ctrl+Q in 7.0.

but Ctrl+Q doesn't exit Grass completely, it performs the same function as Ctrl+E; is it supposed to exit Grass, including exiting it from the shell as well?

Ctrl+Q gives you now choice what you want to close (at least in trunk (7.1)).

both 6.5 and trunk have the 'add raster layer' and 'add vector layer' button with hotkeys labelled Ctrl+R and Ctrl+V respectively, but these hotkeys seem to be disabled.

Those are now work and are done by Ctrl+Shift+R and Ctrl+Shift+V.

in reply to:  1 comment:3 by wenzeslaus, 8 years ago

Keywords: keyboard shortcuts added
Milestone: 6.5.07.0.5
Resolution: fixed
Status: newclosed

Replying to cmbarton:

Ctrl/Cmd-V is used for the Paste function on all platforms and should not be mapped to a special function in GRASS.

This was fixed (reported also in #1377).

Same thing goes for Ctrl/Cmd-C (copy), Ctrl/Cmd-X (cut),

Currently not used in Layer Manager for anything.

Ctrl/Cmd-W (close window),

Currently closes the active Map Display - correct usage.

Ctrl/Cmd-A (select all), and Ctrl/Cmd-Z (undo).

Currently does nothing in Layer Manager.

Ctrl/Cmd-P is commonly used for print, Ctrl/Cmd-F for find, Ctrl/Cmd-G find again

Not used in Layer Manager or Map Display but perhaps could be.

Ctrl/Cmd-O for open.

Used in Layer Manager to open workspace - correct usage.

Most (all?) of the supported shourtcuts are listed here:

Closing as fixed. Please, open a new ticket for further issues or suggestions.

Note: See TracTickets for help on using tickets.