delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/10/24/08:46:11

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; q=dns/txt; c=relaxed/relaxed; d=qux.com;
s=default; h=To:References:Message-Id:Content-Transfer-Encoding:Date:
In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To:Cc:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=UdHRofNYyboFNDsfF2onH6CsSW5MZACgMyQHJ7Z6UoM=; b=UPALH0bGxg1dQNQ7gnLDKvpSBj
jx4k3Ak5aKzXmjuL1spm7Si7JT1rdB+ulV+vsuX0geKMWyiTKEnFBHpgmp2Rpc4Wxykufn9r/ckET
pLqcqphUls8j6Jepq29+IIXhgZeYm7yIJ6XdUbDxxtMCMrfaXzOU272UiiiU2QPG0BPM=;
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: [geda-user] Annoying object selection behaviour in gschem > 1.6.2
From: "Roger Williams (roger AT qux DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
In-Reply-To: <20161024061859.34eba7cc@gibi.dmn.ru>
Date: Mon, 24 Oct 2016 08:43:19 -0400
Message-Id: <051B056B-D858-41E3-83DD-BB9DC4097CC2@qux.com>
References: <1477080832 DOT 2909 DOT 106 DOT camel AT linetec> <201610212041 DOT u9LKfw5r031245 AT envy DOT delorie DOT com> <1477089908 DOT 2909 DOT 123 DOT camel AT linetec> <s6nbmycyci8 DOT fsf AT blaulicht DOT dmz DOT brux> <1477129015 DOT 2909 DOT 130 DOT camel AT linetec> <141F9C23-F141-42FE-A760-834BBDAA7C2F AT qux DOT com> <CAAKZVJnZFhwf1SJpiMirG3YGb6gwcRq0+x=kdf49fRpLmGh=Ew AT mail DOT gmail DOT com> <86CE0804-4DB5-402E-9D6A-CAC8C69BF910 AT qux DOT com> <CAAKZVJnrMwzVDieg_fOifNsmRrucUY_nN=Nk4L3676tKWUyPnQ AT mail DOT gmail DOT com> <C1CE5556-977E-431C-B2B0-46A529940485 AT qux DOT com> <CEAF12F0-D575-44B3-BE14-0C62A55EFBAB AT qux DOT com> <20161024061859 DOT 34eba7cc AT gibi DOT dmn DOT ru>
To: geda-user AT delorie DOT com
X-Mailer: Apple Mail (2.3124)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - meta.viewyourip.com
X-AntiAbuse: Original Domain - delorie.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - qux.com
X-Get-Message-Sender-Via: meta.viewyourip.com: authenticated_id: raw AT qux DOT org
X-Authenticated-Sender: meta.viewyourip.com: raw AT qux DOT org
X-Source:
X-Source-Args:
X-Source-Dir:
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u9OChNro028320
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi Dmitry, Thanks for the explanation.

It's a real pity that the change in object selection code > 1.6.2 has this potentially dangerous side effect (i.e. when drag-selecting a group of objects, it is nearly always undesirable to partially select an object). In ≤ 1.6.2, NO part of an object is selected by a drag-select unless the selection window surrounds the full extent of the object. 

Can you see a way to revert to that behaviour without going into the gschem code?

-- 
Roger Williams <roger AT qux DOT com>
Chief Technical Officer, Qux Corporation

> On 23 Oct 2016, at 23:18, (graahnul DOT grom AT gmail DOT com) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
> 
> On Sun, 23 Oct 2016 16:58:05 -0400
> "Roger Williams (roger AT qux DOT com) [via
> geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> wrote:
> 
>> Unfortunately, the on_select code isn't quite the
>> behaviour I would like to see, since it prevents you from
>> selecting individual attributes for editing. This hook
>> should only be applied to objects selected by a *window
>> selection*, not by discrete mouse clicks. Any suggestion?
> 
> Hi Roger,
> 
>  If I understand correctly, by "window selection" you mean holding left mouse
> button, then dragging - drawing a box around objects,
> thus selecting them, right?
>  Unfortunately, we cannot determine whether selection was
> made by that "window selection" method or by clicking individual items, or by
> some other means. So, at most, we can make the behaviour configurable, as in
> the code example above: press F2, and you can select/edit single attribute;
> press F1, and window selection will work as intended.
> 
> Dmitry.


- Raw text -


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