Bug 122928 - Shortcuts for shapes in Draw/Impress
Summary: Shortcuts for shapes in Draw/Impress
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shortcuts-Accelerators
  Show dependency treegraph
 
Reported: 2019-01-24 12:30 UTC by andreas_k
Modified: 2019-08-01 08:07 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andreas_k 2019-01-24 12:30:04 UTC
As most professional apps use shortcuts Draw and Impress should also use Shortcuts for the main shape elements.

Drawing Apps like Adobe Products, Inkscape, Dia have very simple shortcuts
R ... Rectangular
E ... Ellipse
L ... Line

MS Vision use
Ctrl + 8 ... Rectangular
Ctrl + 9 ... Ellipse
Ctrl + 6 ... Line

I would add Shortcuts like R, E, L for Draw and Impress but maybe as second option Ctrl + 8, Ctrl + 9, Ctrl + 6 as second shortcut as second option (for our MS Vision users).
Comment 1 andreas_k 2019-01-24 12:38:38 UTC
Good examples are:

AutoCAD
https://www.autodesk.com/shortcuts/autocad

Adobe XD
https://helpx.adobe.com/ca/xd/help/keyboard-shortcuts.html

MS Visio
https://support.office.com/en-us/article/keyboard-shortcuts-for-visio-ee952f31-7e3e-4564-8116-f3ecbb733cc1

But also Inkscape, Gimp, Dia, use one single key only shortcut cause ordinary you are not in an textshape in Draw and it's faster to use L only for line.

For sure we need an overall Shortcut HIG for Draw/Impress, this is only the Bug where to discuss the direction where we want to go, not if R or Ctrl + 8 should be used. As Visio don't has to much shortcuts (cause MSO has an specific shortcut system Click Alt and you see the shortcuts of the viewed commands in the toolbar) I think for the view shortcuts we can have both the MS Vision shortcuts and the generic drawing app shortcuts.
Comment 2 Thomas Lendo 2019-02-01 21:07:12 UTC
I support the idea of shortcuts for important/heavy used shapes in Draw.

But I wouldn't add two shortcuts for each to correspond with Inkscape AND MS Visio. A single shortcut is enough, there are not so many combinations so we shouldn't waste them.

We can't use Ctrl + 8 and Ctrl + 9 as they're already used.

The disadvantage of single characters like L or R (although I like them in Autodesk products) is, that they can't be used within a textbox. The user had to change the focus outside of the textbox to use the shortcut. Otherwise he would type L or R in the textbox.
Comment 3 Heiko Tietze 2019-02-06 19:29:24 UTC
We have ctrl/cmd+numbers assigned to commands as well as ctrl+cmd+R (in case of rectangle). And as long we cannot offer a way to quickly revert changes I'm against reassigning familiar keys (see bug 83467 c7, c8). 

So closing this as WF like done for 82679.
Comment 4 andreas_k 2019-02-06 22:10:46 UTC
As the quasi standard shortcuts for drawing an rectangular in drawing apps are R and not Ctrl + cmd + R and I get an wantfix cause Ctrl + cmd + R I will go with single keyboard shortcuts and submit here an proposal for specific drawing commands.
Comment 5 Cor Nouws 2019-02-06 22:52:07 UTC
(In reply to Heiko Tietze from comment #3)
> We have ctrl/cmd+numbers assigned to commands as well as ctrl+cmd+R (in case
> of rectangle). And as long we cannot offer a way to quickly revert changes
> I'm against reassigning familiar keys (see bug 83467 c7, c8). 


Currently, pressing R, E, L triggers nothing in Draw. So those could maybe be assigned in addition without hurting anything or -one?
Comment 6 Heiko Tietze 2019-02-10 13:58:52 UTC
Doubt we can assign a UNO command to a single key. And please also keep in mind that letters required localization. Looking forward the actual proposal.
Comment 7 andreas_k 2019-07-31 22:06:14 UTC
Shortcuts proposal for Draw/Impress

T ... .uno:Text (in addition to F2) = Adobe = Inkscape = Dia = AutoCad
R ... .uno:BasicShapes.rectangle = Adobe = Inkscape = Dia
E ... .uno:BasicShapes.ellipse = Adobe = Inkscape = Dia = AutoCad (EL)
L ... .uno:Line = Adobe = Dia = AutoCad

I propose this 4 shortcuts to add to Draw and Impress (sd modules). They are not in use, they are common in a lot of well known applications (open source and closed source). Visio has as MSO in general there special keymaping so it's not usefull to use the Visio shortcuts.

The only negativ issue is that you have to localize the shortcuts (like we did with bold, italic, ...).
Comment 8 andreas_k 2019-07-31 22:11:24 UTC
gimp use als 
T for text
R for rectangular (selection)
E for ellipse (selection)
Comment 9 Heiko Tietze 2019-08-01 07:06:15 UTC
(In reply to Cor Nouws from comment #5)
> Currently, pressing R, E, L triggers nothing in Draw. 

According Tools > Customization > Keyboard
* Ctrl+E = Center 
* Ctrl+L = Left
* Ctrl+R = Right
* Ctrl+T = 
(the functions affect the text in a shape or textbox and likely known and used in Impress)

So yes to the proposal of predefined shortcuts but using Ctrl+Alt + E/L/R/T
Comment 10 andreas_k 2019-08-01 07:30:08 UTC
> So yes to the proposal of predefined shortcuts but using Ctrl+Alt + E/L/R/T

Draw is an drawing application like Adobe Products, Inkscape, Dia, AutoCad, .... and all this apps don't use Ctrl, Alt, ... in addition to E/L/R/T

If you think it's a bad idea to have E/L/R/T for impress, ok, but for draw you should respect that it's an drawing app (compare to the other apps which are text based apps).
Comment 11 Heiko Tietze 2019-08-01 08:07:22 UTC
Shortcuts are assigned to UNO commands in officecfg/registry/data/org/openoffice/Office/Accelerators.xcu and there is not differentiation between Draw and Impress.