Warning, /office/calligra/plugins/spacenavigator/IDEAS is written in an unsupported language. File is not indexed.
0001 ideas from a discussion with wind-rider on #calligra: 0002 0003 The space navigator is very good for just navigating around in your 0004 document (e.g. panning and zooming). But we also want to have support 0005 for it inside the tools so we can for instance scale, move and rotate shapes, 0006 change the size of a brush, etc. 0007 So we have to decide based on the actual working context where to 0008 send the device events so that the right things happens. 0009 Thats means if the user is currently working on a specific aspect of 0010 the document, we should not pan/zoom the document by accident. This can 0011 be achieved by using a keyboard modifier or a device button to switch 0012 between document and tool context. 0013 Another problem is that the space navigator reports both position and 0014 rotation changes in a single event. It would maybe be better to check the 0015 most significant part of the event and only use that for the action to be 0016 carried out. An example for tha twould probably be the default tool where 0017 we can rotate, scale and move the currently selected shapes. We certainly 0018 don't want to rotate, scale and move at the same time. So we have to decide 0019 which action we want to carry out. Hopefully we can decide that based on 0020 the position/rotation values. If that is not enough we have to use other 0021 means to switch between those actions.