On Fri, Jan 05, 2007 at 07:05:34AM -0400, bulia byak wrote:
On 1/5/07, Bryce Harrington <bryce@...961...> wrote:
However note that I am not suggesting to *remove* the Alt+Click behavior, but rather to simply document it as Ctrl+Alt+Click.
I understand that. What I'm saying is that this documenting is likely to damage the consistency in users' _minds_, not necessarily in the program itself.
Yes, I hear you, but I think the damage potential is negligible compared with not being able to use the functionality at all.
I would in fact argue that if the user runs into shortcuts that overlap with their window manager, it will cause them to distrust the entire keyboard mapping - if one functionality is mismatched, then maybe others are mismatched? This causes them to lose trust in the reliability and consistency of the keyboard shortcuts as a whole.
I know that you feel this is conceptually unclean, however at the same time you must recognize that using a shortcut that GNOME and KDE both already have locked up is untenable. Despite the eligance of the one-to-one correspondance, the fact is that the shortcut isn't realistically available for use.
OK, can you name a specific shortcut that can be redocumented from Alt+ to Ctrl+Alt without clashing with any existing shortcuts?
Yes, here is a patch with the changes I would propose. I've tested them and things seem okay on my system, although I might have missed one or two.
This only deals with Alt+Click, not Alt+Drag. Also, I did not modify the group selection shortcuts, but adjusted the comment a bit.
Bryce
Index: keys.xml =================================================================== --- keys.xml (revision 13582) +++ keys.xml (working copy) @@ -463,7 +463,10 @@ <mouse><key><alt/><left-click/></key> <action>select under</action></mouse> <note>Alt+click selects the object at click point which is beneath (in z-order) the lowest selected object at click point.</note> <note>If the bottom object is reached, Alt+click again selects the top object. So, several Alt+clicks cycle through z-order stack at point.</note> -<note>On Linux, Alt+click and Alt+drag may be reserved by the window manager. Reconfigure it so you can use them in Inkscape.</note> +<note>On Linux, Alt+click and Alt+drag may be reserved by the window +manager. Ctrl+Alt+click produces similar behavior and can be </note> +<note>used instead, or if you'd prefer, reconfigure your window manager +so you can use them in Inkscape.</note> <mouse><key><shift/><alt/><left-click/></key> <action>toggle under</action></mouse> <mouse><key><ctrl/><alt/><left-click/></key> <action>select under, in groups</action></mouse> <mouse><key><shift/><ctrl/><alt/><left-click/></key> <action>toggle under, in groups</action></mouse> @@ -697,7 +700,7 @@ <group> <title>Mouse select: objects</title> <mouse><key><left-click/></key> <action>click a non-selected object to select</action></mouse> -<mouse><key><alt/><left-click/></key> <action>select under</action></mouse> +<mouse><key><ctrl/><alt/><left-click/></key> <action>select under</action></mouse> <mouse><key><shift/><left-click/></key> <action>toggle selection</action></mouse> <note>These work the same as in Selector. The nodes or handles of the single selected object become editable.</note> </group> @@ -790,7 +793,7 @@ <group> <title>Editing</title> <mouse><key><left-click/></key> <action>click an object to select</action></mouse> -<mouse><key><alt/><left-click/></key> <action>select under</action></mouse> +<mouse><key><ctrl/><alt/><left-click/></key> <action>select under</action></mouse> <mouse><key><shift/><left-click/></key> <action>toggle selection</action></mouse> <mouse><key><left-drag/></key> <action>drag a handle to resize or round corners</action></mouse> <note>Initially, the two rounding handles are in the top right corner; two resize handles are in top left and bottom right corners.</note> @@ -815,7 +818,7 @@ <group> <title>Editing</title> <mouse><key><left-click/></key> <action>click an object to select</action></mouse> -<mouse><key><alt/><left-click/></key> <action>select under</action></mouse> +<mouse><key><ctrl/><alt/><left-click/></key> <action>select under</action></mouse> <mouse><key><shift/><left-click/></key> <action>toggle selection</action></mouse> <mouse><key><left-drag/></key> <action>drag a handle to resize, make arc or segment</action></mouse> <note>Initially, the two arc/segment handles are in the rightmost point; two resize handles are at the topmost and leftmost points.</note> @@ -837,14 +840,14 @@ <group> <title>Editing</title> <mouse><key><left-click/></key> <action>click an object to select</action></mouse> -<mouse><key><alt/><left-click/></key> <action>select under</action></mouse> +<mouse><key><ctrl/><alt/><left-click/></key> <action>select under</action></mouse> <mouse><key><shift/><left-click/></key> <action>toggle selection</action></mouse> <mouse><key><left-drag/></key> <action>drag a handle to vary the star shape</action></mouse> <mouse><key><ctrl/><left-drag/></key> <action>keep star rays radial (no skew)</action></mouse> <mouse><key><shift/><left-drag/></key> <action>round the star</action></mouse> <mouse><key><shift/><left-click/></key> <action>remove rounding</action></mouse> <mouse><key><alt/><left-drag/></key> <action>randomize the star</action></mouse> -<mouse><key><alt/><left-click/></key> <action>remove randomization</action></mouse> +<mouse><key><ctrl/><alt/><left-click/></key> <action>remove randomization</action></mouse> <keys><key><misc f="Esc"/></key> <action>deselect</action></keys> </group> </section> @@ -859,12 +862,12 @@ <group> <title>Editing</title> <mouse><key><left-click/></key> <action>click an object to select</action></mouse> -<mouse><key><alt/><left-click/></key> <action>select under</action></mouse> +<mouse><key><ctrl/><alt/><left-click/></key> <action>select under</action></mouse> <mouse><key><shift/><left-click/></key> <action>toggle selection</action></mouse> <mouse><key><left-drag/></key> <action>roll/unroll from inside (inner handle)</action></mouse> <note>Dragging the inner handle adjusts the "inner radius" parameter.</note> <mouse><key><alt/><left-drag/></key> <action>converge/diverge (inner handle)</action></mouse> -<mouse><key><alt/><left-click/></key> <action>reset divergence (inner handle)</action></mouse> +<mouse><key><ctrl/><alt/><left-click/></key> <action>reset divergence (inner handle)</action></mouse> <note>Vertical Alt+drag of the inner handle adjusts the "divergence" parameter, Alt+click resets it to 1.</note> <mouse><key><shift/><left-click/></key> <action>zero inner radius (inner handle)</action></mouse> <note>Shift+click on inner handle makes the spiral start from the center.</note> @@ -1002,7 +1005,7 @@ <group> <title>Mouse select</title> <mouse><key><left-click/></key> <action>click an object to select</action></mouse> -<mouse><key><alt/><left-click/></key> <action>select under</action></mouse> +<mouse><key><ctrl/><alt/><left-click/></key> <action>select under</action></mouse> <mouse><key><shift/><left-click/></key> <action>toggle selection</action></mouse> </group>
@@ -1017,7 +1020,7 @@ <mouse><key><shift/><left-drag/></key> <action>average stroke color</action></mouse> <note>Click applies the color under cursor to the current selection. Dragging a radius calculates the average color of a circular area.</note> <note>If a gradient handle (in Gradient tool) is selected, it gets the color instead of the entire object.</note> -<mouse><key><alt/><left-click/></key><key><alt/><left-drag/></key> <action>pick inverse color</action></mouse> +<mouse><key><ctrl/><alt/><left-click/></key><key><ctrl/><alt/><left-drag/></key> <action>pick inverse color</action></mouse> <note>If Alt is pressed, picking color (with or without Shift, by click or by drag) picks the inverse of the color.</note> <keys><key><ctrl/>C</key> <action>copy color</action></keys> <note>This copies the color under cursor to the system clipboard, as text in RRGGBBAA format (8 hex digits).</note>