From: exmh-users-admin@redhat.com  Mon Sep 23 12:08:38 2002
Return-Path: <exmh-users-admin@example.com>
Delivered-To: yyyy@localhost.example.com
Received: from localhost (jalapeno [127.0.0.1])
	by jmason.org (Postfix) with ESMTP id 7F4D916F03
	for <jm@localhost>; Mon, 23 Sep 2002 12:08:37 +0100 (IST)
Received: from jalapeno [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Mon, 23 Sep 2002 12:08:37 +0100 (IST)
Received: from listman.example.com (listman.example.com [66.187.233.211]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g8N9QZC09959 for
    <jm-exmh@jmason.org>; Mon, 23 Sep 2002 10:26:35 +0100
Received: from listman.example.com (localhost.localdomain [127.0.0.1]) by
    listman.redhat.com (Postfix) with ESMTP id 3BE383EC03; Mon, 23 Sep 2002
    05:27:03 -0400 (EDT)
Delivered-To: exmh-users@listman.example.com
Received: from int-mx1.corp.example.com (int-mx1.corp.example.com
    [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 789703EBD4
    for <exmh-users@listman.redhat.com>; Mon, 23 Sep 2002 05:26:32 -0400 (EDT)
Received: (from mail@localhost) by int-mx1.corp.example.com (8.11.6/8.11.6)
    id g8N9QWX22102 for exmh-users@listman.redhat.com; Mon, 23 Sep 2002
    05:26:32 -0400
Received: from mx1.example.com (mx1.example.com [172.16.48.31]) by
    int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g8N9QWh22098 for
    <exmh-users@redhat.com>; Mon, 23 Sep 2002 05:26:32 -0400
Received: from ratree.psu.ac.th ([202.28.97.9]) by mx1.example.com
    (8.11.6/8.11.6) with SMTP id g8N976i18437 for <exmh-users@redhat.com>;
    Mon, 23 Sep 2002 05:07:10 -0400
Received: from delta.cs.mu.OZ.AU (delta.coe.psu.ac.th [172.30.0.98]) by
    ratree.psu.ac.th (8.11.6/8.11.6) with ESMTP id g8N9Np316223 for
    <exmh-users@redhat.com>; Mon, 23 Sep 2002 16:23:56 +0700 (ICT)
Received: from munnari.OZ.AU (localhost [127.0.0.1]) by delta.cs.mu.OZ.AU
    (8.11.6/8.11.6) with ESMTP id g8N9NX719043 for <exmh-users@redhat.com>;
    Mon, 23 Sep 2002 16:23:47 +0700 (ICT)
From: Robert Elz <kre@munnari.OZ.AU>
To: exmh-users@example.com
Subject: Re: bad focus/click behaviours
In-Reply-To: <200209230521.BAA11218@blackcomb.panasas.com>
References: <200209230521.BAA11218@blackcomb.panasas.com>
    <20020915202900.F294C5D04@ptavv.es.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-Id: <19041.1032773013@munnari.OZ.AU>
X-Loop: exmh-users@example.com
Sender: exmh-users-admin@example.com
Errors-To: exmh-users-admin@example.com
X-Beenthere: exmh-users@example.com
X-Mailman-Version: 2.0.1
Precedence: bulk
Reply-To: exmh-users@example.com
List-Help: <mailto:exmh-users-request@example.com?subject=help>
List-Post: <mailto:exmh-users@example.com>
List-Subscribe: <https://listman.example.com/mailman/listinfo/exmh-users>,
    <mailto:exmh-users-request@redhat.com?subject=subscribe>
List-Id: Discussion list for EXMH users <exmh-users.example.com>
List-Unsubscribe: <https://listman.example.com/mailman/listinfo/exmh-users>,
    <mailto:exmh-users-request@redhat.com?subject=unsubscribe>
List-Archive: <https://listman.example.com/mailman/private/exmh-users/>
Date: Mon, 23 Sep 2002 16:23:33 +0700
X-Spam-Status: No, hits=-4.5 required=5.0
	tests=AWL,IN_REP_TO,KNOWN_MAILING_LIST,REFERENCES,X_LOOP
	version=2.50-cvs
X-Spam-Level: 

    Date:        Sun, 22 Sep 2002 22:21:49 -0700
    From:        Brent Welch <welch@panasas.com>
    Message-ID:  <200209230521.BAA11218@blackcomb.panasas.com>

  | I would encourage folks to play with those 10 lines of code in
  | Text_Selection and report what works well for them.  We may come up
  | with 8 lines that work for everyone, or perhaps introduce yet another
  | setting that lets folks choose between a few useful models.  Of course,
  | that's an admission of policy failure, but I'm willing to do that.

I actually think you're looking in the wrong place.   I, at least,
have almost no problems with the choice of what gets pasted, or
selected, that stuff (for me, if perhaps not users of some gnome variant,
which appraently has been fixed anyway) all seems to work just fine.

The problem is that a button 1 click clears the selection (PRIMARY)
where it shouldn't - the previous selection should only be cleared
when there's something else to replace it (even if the highlighting
of what is selected is removed).     Try this in any other ramdom
application (from xterm to netscape) and see how it works.  There
normally is *no* (mouse based) way to actually clear the primary
selection (that is, set it to be a null string).

Then, because of the "if I get asked for the selection value, I will
find something" behaviour, if you click (intending to set the insert
point, the way most other GUI's operate), and then paste, because the
PRIMARY is clear, but exmh still owns the selection, because nothing
else has taken it, it does and finds some other ramdom stuff, from
either the clipboard or cut buffer, which tends to be something that was
deleted back in the ancient past, and pastes that.

That behaviour, to me anyway, is the real issue.

Once that gets fixed, we can switch back to operating the normal
"select stuff, click at new insert point, paste" mode of operation
that almost everyone expects to work (whether the "select stuff"
is somewhere in one of the exmh windows, or elsewhere).

kre

ps: this message is from my experience as a exmh user only, I've never
really understood enough about X and selections to go gazing at that
part of the code and see how it all really operates.



_______________________________________________
Exmh-users mailing list
Exmh-users@redhat.com
https://listman.redhat.com/mailman/listinfo/exmh-users


