delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/02/27/22:24:48

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to;
bh=+vpH6cWaEKtL4SUq36kl7wJGdU2z5D7h26kDG17Pjjw=;
b=reFiptSnGovim7yiKjPke8Gc/6YKdBLzN7SUGD/qblb+FEAu/KdvlTUuzIzKzJ0vQ7
DBYneE/WipkBrr9Bqfe9Xl7qAQ6oLFKJK8aYw7bKVlN79XeUF0aH32bg2sAmJwO+bvBh
NVC4jczPt8ngd840Ktb98c5KQVYgumGrDtP+iW4Wwye2fOful+oQpFfDmALQ36i0wd9C
vYHSYLMgldVNnDv1R1BlzCuN9B6OtbGI8RezlJk6Rn3gII2VLQusGoEZl0hA9DdW6iVf
kvvvofo9ntLW6G8/E9Fl+bx5GSbXknA7ZHLCJRfYeO/6Fbq6YVBPSFS3nHR9spk2QCnE
HfKQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:date:message-id:subject:from:to;
bh=+vpH6cWaEKtL4SUq36kl7wJGdU2z5D7h26kDG17Pjjw=;
b=cMmR0X9Xhx/T/KiSR8fx9p+rz+XmWYCqp0bXUhW4WrjdAYIwvbYl75xVpGRjJwXyGy
58lFM3XJ2qlkR+I6G+CSFdmghF1vA3oj3XvqLRPJyYXJ3KiLSkG13ngaF+Awf5CuIf3K
AwPJUCRgVm7U51COK3fFE02o027BF4OQkRPxJzm6btT/ftA/kDcXaWasJ0W9JwU0DXE4
yi7AhPmP+i5QOQ89j4Ex0i9FSth75mLwcYxR6Ynbp556r7/PlFnwpoBusToU6DgufkKc
5k9KdDac3EXZTu1CNhKL8xlaHS3SbFkAiAurCcu7cIpqb2KD9CZUpFxmACS2rtRYPJ39
ofcw==
X-Gm-Message-State: AD7BkJIwHUvaFP4plESWtmQnCda6gpwhcWmuX8Hit9vB/JKz9gXCJwFnlXqKUs8ygmUTt/wMIMFIcpGuPDPwLg==
MIME-Version: 1.0
X-Received: by 10.28.125.211 with SMTP id y202mr4684723wmc.18.1456629873355;
Sat, 27 Feb 2016 19:24:33 -0800 (PST)
Date: Sat, 27 Feb 2016 18:24:33 -0900
Message-ID: <CAC4O8c8Syp2o8AZ45OW+1G=L550v_rXpymxy3gdSa+PXBGGBvw@mail.gmail.com>
Subject: [geda-user] how to fix cut and copy behavior when no selection
From: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com

What it does now:

     With a selection:
          * hot keys use hovered point to establish the snap point for the
            selection and cut/copy the selection
          * menu requires an additional click to establish the snap point for
            the selection and cut/topy the selection

     Without a selection:
           * hot keys (Ctrl-X Ctrl-V) dump you in paste mode with nothing to
             paste and the crosshair locked in a strange way
           * menu items put in expect-click mode, but when they get a click
             they don't actually cut or copy anything, but instead lock the
             crosshair in a strange way and dump you in paste mode, only with
             nothing to paste

I would like to do something better when there is no selection.

Options:

     1. Require a selection, give an erro pop-up if there isn't one.
          * Pros: simplest to implement, minimal surprise, surprise explained
          * Cons: requires a selection

     2. If no selection, overload hovered/clicked point to select
object in addition
     to establishing snap point.
          * Pros: single-element cut/copy behave as probably expected,
          more convenient for experienced users also
          * Cons: slightly harder to implement, potentially surprising behavior

Opinions or other approaches?

Britton

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019