Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

backups: always in season, never out of style.


devel / comp.lang.tcl / mouse events triggering enter/leave events in x11

SubjectAuthor
* mouse events triggering enter/leave events in x11Seb Shader
+* mouse events triggering enter/leave events in x11Seb Shader
|+- mouse events triggering enter/leave events in x11Luc
|`* mouse events triggering enter/leave events in x11Rich
| `- mouse events triggering enter/leave events in x11Seb Shader
`* mouse events triggering enter/leave events in x11Rich
 `* mouse events triggering enter/leave events in x11Seb Shader
  `* mouse events triggering enter/leave events in x11Rich
   `* mouse events triggering enter/leave events in x11Seb Shader
    +* mouse events triggering enter/leave events in x11Seb Shader
    |`* mouse events triggering enter/leave events in x11Rich
    | `* mouse events triggering enter/leave events in x11Seb Shader
    |  `* mouse events triggering enter/leave events in x11Erik Leunissen
    |   `* mouse events triggering enter/leave events in x11Seb Shader
    |    `* mouse events triggering enter/leave events in x11Seb Shader
    |     `- mouse events triggering enter/leave events in x11Erik Leunissen
    `- mouse events triggering enter/leave events in x11Rich

1
mouse events triggering enter/leave events in x11

<bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9926&group=comp.lang.tcl#9926

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:622a:614:b0:39c:cd36:ff9a with SMTP id z20-20020a05622a061400b0039ccd36ff9amr5207971qta.432.1667089164469;
Sat, 29 Oct 2022 17:19:24 -0700 (PDT)
X-Received: by 2002:a05:622a:50d:b0:3a5:b02:fe2f with SMTP id
l13-20020a05622a050d00b003a50b02fe2fmr5316995qtx.284.1667089164262; Sat, 29
Oct 2022 17:19:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sat, 29 Oct 2022 17:19:24 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:645:401:5af0:0:0:0:f83d;
posting-account=QzsGYwkAAAC0e9QC1lnysuaHwDBEpa6X
NNTP-Posting-Host: 2601:645:401:5af0:0:0:0:f83d
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
Subject: mouse events triggering enter/leave events in x11
From: sebsha...@gmail.com (Seb Shader)
Injection-Date: Sun, 30 Oct 2022 00:19:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2131
 by: Seb Shader - Sun, 30 Oct 2022 00:19 UTC

Hi,
I'm trying to have a number of canvasses that can be scrolled. When the user hovers over a canvas I'd like the outline to change as a highlight.

right now I have them set up as canvasses within frames on a larger canvas to scroll them all.

Enter/leave events for each canvas aren't usable since both seem to get triggered before each mouse event.. is this expected behavior, or a bug? this is on wish 8.6.11 (x11/xfce on mx linux)

Using 'motion' works when the user is moving the mouse, but I'd like the correct highlight to occur using the mouse wheel as well. (so after scrolling using the mouse wheel, the highlight changes to reflect the canvas under the mouse position). I can do the geometry manually using the canvasy command but it takes math that it seems like tk should already be doing, and I have to account for padding manually etc. I'd also like to use enter/leave since motion triggers much more often..

maybe there would be some way to use bindtags or something? thanks for any suggestions

Re: mouse events triggering enter/leave events in x11

<07c66ae4-db63-4df4-a85e-89461c7668ccn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9927&group=comp.lang.tcl#9927

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:622a:144a:b0:39c:c974:9522 with SMTP id v10-20020a05622a144a00b0039cc9749522mr5508576qtx.338.1667089897761;
Sat, 29 Oct 2022 17:31:37 -0700 (PDT)
X-Received: by 2002:a37:46d4:0:b0:6f8:4c19:6b62 with SMTP id
t203-20020a3746d4000000b006f84c196b62mr4693665qka.356.1667089897551; Sat, 29
Oct 2022 17:31:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sat, 29 Oct 2022 17:31:37 -0700 (PDT)
In-Reply-To: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:645:401:5af0:0:0:0:f83d;
posting-account=QzsGYwkAAAC0e9QC1lnysuaHwDBEpa6X
NNTP-Posting-Host: 2601:645:401:5af0:0:0:0:f83d
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <07c66ae4-db63-4df4-a85e-89461c7668ccn@googlegroups.com>
Subject: Re: mouse events triggering enter/leave events in x11
From: sebsha...@gmail.com (Seb Shader)
Injection-Date: Sun, 30 Oct 2022 00:31:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3063
 by: Seb Shader - Sun, 30 Oct 2022 00:31 UTC

On Saturday, October 29, 2022 at 5:19:26 PM UTC-7, Seb Shader wrote:
> Hi,
> I'm trying to have a number of canvasses that can be scrolled. When the user hovers over a canvas I'd like the outline to change as a highlight.
>
> right now I have them set up as canvasses within frames on a larger canvas to scroll them all.
>
> Enter/leave events for each canvas aren't usable since both seem to get triggered before each mouse event.. is this expected behavior, or a bug? this is on wish 8.6.11 (x11/xfce on mx linux)
>
> Using 'motion' works when the user is moving the mouse, but I'd like the correct highlight to occur using the mouse wheel as well. (so after scrolling using the mouse wheel, the highlight changes to reflect the canvas under the mouse position). I can do the geometry manually using the canvasy command but it takes math that it seems like tk should already be doing, and I have to account for padding manually etc. I'd also like to use enter/leave since motion triggers much more often..
>
> maybe there would be some way to use bindtags or something? thanks for any suggestions

for a simple script that triggers enter/leave on each mouse event:

set count 0
canvas .c -bd 0 -width 400 -height 400 -background blue
pack .c
bind .c <Leave> {
puts "$count leave"
incr count
} bind .c <Enter> {
puts "$count enter"
incr count
} bind .c <Button-4> {
puts "$count Mousewheel 1"
incr count
} bind .c <Button-5> {
puts "$count Mousewheel -1"
incr count
} bind .c <ButtonPress> {
puts "$count Click"
incr count
}

the output in the terminal is like
10 leave
11 enter
12 Mousewheel -1
13 leave
14 enter
15 Mousewheel 1
16 leave
17 enter
18 Mousewheel 1
19 leave
20 enter
21 Click

Re: mouse events triggering enter/leave events in x11

<20221029223445.385b2233@lud1.home>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9928&group=comp.lang.tcl#9928

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!aioe.org!u9eMF+oymJzF4rLzEfa7uw.user.46.165.242.75.POSTED!not-for-mail
From: no...@no.no (Luc)
Newsgroups: comp.lang.tcl
Subject: Re: mouse events triggering enter/leave events in x11
Date: Sat, 29 Oct 2022 22:34:45 -0300
Organization: Aioe.org NNTP Server
Message-ID: <20221029223445.385b2233@lud1.home>
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
<07c66ae4-db63-4df4-a85e-89461c7668ccn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="61347"; posting-host="u9eMF+oymJzF4rLzEfa7uw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Newsreader: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Luc - Sun, 30 Oct 2022 01:34 UTC

On Sat, 29 Oct 2022 17:31:37 -0700 (PDT), Seb Shader wrote:

> On Saturday, October 29, 2022 at 5:19:26 PM UTC-7, Seb Shader wrote:
> > Hi,
> > I'm trying to have a number of canvasses that can be scrolled. When the
> > user hovers over a canvas I'd like the outline to change as a
> > highlight.
> >
> > right now I have them set up as canvasses within frames on a larger
> > canvas to scroll them all.
> >
> > Enter/leave events for each canvas aren't usable since both seem to get
> > triggered before each mouse event.. is this expected behavior, or a
> > bug? this is on wish 8.6.11 (x11/xfce on mx linux)
> >
> > Using 'motion' works when the user is moving the mouse, but I'd like
> > the correct highlight to occur using the mouse wheel as well. (so after
> > scrolling using the mouse wheel, the highlight changes to reflect the
> > canvas under the mouse position). I can do the geometry manually using
> > the canvasy command but it takes math that it seems like tk should
> > already be doing, and I have to account for padding manually etc. I'd
> > also like to use enter/leave since motion triggers much more often..
> >
> > maybe there would be some way to use bindtags or something? thanks for
> > any suggestions
>
> for a simple script that triggers enter/leave on each mouse event:
>
> set count 0
> canvas .c -bd 0 -width 400 -height 400 -background blue
> pack .c
> bind .c <Leave> {
> puts "$count leave"
> incr count
> }
> bind .c <Enter> {
> puts "$count enter"
> incr count
> }
> bind .c <Button-4> {
> puts "$count Mousewheel 1"
> incr count
> }
> bind .c <Button-5> {
> puts "$count Mousewheel -1"
> incr count
> }
> bind .c <ButtonPress> {
> puts "$count Click"
> incr count
> }

I don't know what you mean by "canvas that can be scrolled."

What about this code? Why is it not what you want and what do you want
more exactly?

----
package require Tk

set ofr [frame .outerframe -padx 15 -pady 15]
pack $ofr

canvas $ofr.c -bd 0 -width 400 -height 200 -background blue
pack $ofr.c

canvas $ofr.cc -bd 0 -width 400 -height 200 -background red
pack $ofr.cc

bind $ofr.c <Enter> {
$ofr.c configure -borderwidth 4 -relief solid
} bind $ofr.c <Leave> {
$ofr.c configure -borderwidth 0 -relief flat
} ----

--
Luc
>>

Re: mouse events triggering enter/leave events in x11

<tjksn3$3umpv$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9930&group=comp.lang.tcl#9930

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: mouse events triggering enter/leave events in x11
Date: Sun, 30 Oct 2022 03:57:23 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <tjksn3$3umpv$1@dont-email.me>
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
Injection-Date: Sun, 30 Oct 2022 03:57:23 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b7e5ac15013dacfd96e40b95c1ad0148";
logging-data="4152127"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NJEr5MCOBBhgFWriQD1++"
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.10.17 (x86_64))
Cancel-Lock: sha1:G/hc9y5Nrhqvu73DaszKaGJuXOI=
 by: Rich - Sun, 30 Oct 2022 03:57 UTC

Seb Shader <sebshader@gmail.com> wrote:
> Hi,

> I'm trying to have a number of canvasses that can be scrolled. When
> the user hovers over a canvas I'd like the outline to change as a
> highlight.
> ...
> Enter/leave events for each canvas aren't usable since both seem to
> get triggered before each mouse event.. is this expected behavior,
> or a bug? this is on wish 8.6.11 (x11/xfce on mx linux)

Please explain how enter/leave events are not usable. This code below
prints the expected results under Linux on 8.6.11:

#!/usr/bin/wish

canvas .outer -width 800 -height 800

canvas .inner -width 200 -height 200 -background yellow

.outer create window 0 0 -anchor center -window .inner

pack .outer

bind .inner <Enter> [list enter %W]
bind .inner <Leave> [list leave %W]

proc enter {w} {
puts stderr "enter: w='$w'"
}

proc leave {w} {
puts stderr "leave: w='$w'"
}

When the mouse enters the inner canvas, an enter event is generated.
When it leaves the same, a leave event is generated. The enter event
can cause a border to appear around the canvas, and the leave event can
teardown the border the enter event erected (borders are not
implemented in the example code above).

Re: mouse events triggering enter/leave events in x11

<tjkssa$3umpv$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9931&group=comp.lang.tcl#9931

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: mouse events triggering enter/leave events in x11
Date: Sun, 30 Oct 2022 04:00:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <tjkssa$3umpv$2@dont-email.me>
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com> <07c66ae4-db63-4df4-a85e-89461c7668ccn@googlegroups.com>
Injection-Date: Sun, 30 Oct 2022 04:00:10 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b7e5ac15013dacfd96e40b95c1ad0148";
logging-data="4152127"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18KFSJ+hukBfTeEsatHlTSS"
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.10.17 (x86_64))
Cancel-Lock: sha1:PWwLXxrMR1uU8K0ex7W8mnsvyJk=
 by: Rich - Sun, 30 Oct 2022 04:00 UTC

Seb Shader <sebshader@gmail.com> wrote:
> for a simple script that triggers enter/leave on each mouse event:
>
> set count 0
> canvas .c -bd 0 -width 400 -height 400 -background blue
> pack .c
> bind .c <Leave> {
> puts "$count leave"
> incr count
> }
> bind .c <Enter> {
> puts "$count enter"
> incr count
> }
> bind .c <Button-4> {
> puts "$count Mousewheel 1"
> incr count
> }
> bind .c <Button-5> {
> puts "$count Mousewheel -1"
> incr count
> }
> bind .c <ButtonPress> {
> puts "$count Click"
> incr count
> }
>
> the output in the terminal is like
> 10 leave
> 11 enter
> 12 Mousewheel -1
> 13 leave
> 14 enter
> 15 Mousewheel 1
> 16 leave
> 17 enter
> 18 Mousewheel 1
> 19 leave
> 20 enter
> 21 Click

Fully expected results from your example code. Binding scripts are
executed at global level, so you have only one single shared count
variable across all five bindings.

Re: mouse events triggering enter/leave events in x11

<44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9933&group=comp.lang.tcl#9933

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ac8:5948:0:b0:3a5:23b9:1e19 with SMTP id 8-20020ac85948000000b003a523b91e19mr259280qtz.194.1667116084103;
Sun, 30 Oct 2022 00:48:04 -0700 (PDT)
X-Received: by 2002:a05:622a:1451:b0:39c:eb3a:ba64 with SMTP id
v17-20020a05622a145100b0039ceb3aba64mr6008145qtx.610.1667116083900; Sun, 30
Oct 2022 00:48:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sun, 30 Oct 2022 00:48:03 -0700 (PDT)
In-Reply-To: <tjksn3$3umpv$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:645:401:5af0:0:0:0:f83d;
posting-account=QzsGYwkAAAC0e9QC1lnysuaHwDBEpa6X
NNTP-Posting-Host: 2601:645:401:5af0:0:0:0:f83d
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com> <tjksn3$3umpv$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com>
Subject: Re: mouse events triggering enter/leave events in x11
From: sebsha...@gmail.com (Seb Shader)
Injection-Date: Sun, 30 Oct 2022 07:48:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3151
 by: Seb Shader - Sun, 30 Oct 2022 07:48 UTC

On Saturday, October 29, 2022 at 8:57:29 PM UTC-7, Rich wrote:
> Seb Shader <sebs...@gmail.com> wrote:
> > Hi,
>
> > I'm trying to have a number of canvasses that can be scrolled. When
> > the user hovers over a canvas I'd like the outline to change as a
> > highlight.
> > ...
> > Enter/leave events for each canvas aren't usable since both seem to
> > get triggered before each mouse event.. is this expected behavior,
> > or a bug? this is on wish 8.6.11 (x11/xfce on mx linux)
> Please explain how enter/leave events are not usable. This code below
> prints the expected results under Linux on 8.6.11:
>
> #!/usr/bin/wish
>
> canvas .outer -width 800 -height 800
>
> canvas .inner -width 200 -height 200 -background yellow
>
> .outer create window 0 0 -anchor center -window .inner
>
> pack .outer
>
> bind .inner <Enter> [list enter %W]
> bind .inner <Leave> [list leave %W]
>
> proc enter {w} {
> puts stderr "enter: w='$w'"
> }
>
> proc leave {w} {
> puts stderr "leave: w='$w'"
> }
>
> When the mouse enters the inner canvas, an enter event is generated.
> When it leaves the same, a leave event is generated. The enter event
> can cause a border to appear around the canvas, and the leave event can
> teardown the border the enter event erected (borders are not
> implemented in the example code above).

If I click or do a mousewheel scroll in the the yellow canvas in your example, both enter and leave events are triggered/printed for each of those mouse events, before the actual events are (based on my tests). This is an issue because it will create flickering if the border 'highlight' is supposed to be bound to/based on them.
The issue isn't so much enter/leave events not working, but being triggered by mouse events as well for some reason

Re: mouse events triggering enter/leave events in x11

<0f394dbe-9201-417e-a4ac-9ae2e1c95b41n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9934&group=comp.lang.tcl#9934

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:622a:614:b0:39c:cd36:ff9a with SMTP id z20-20020a05622a061400b0039ccd36ff9amr5919747qta.432.1667116126101;
Sun, 30 Oct 2022 00:48:46 -0700 (PDT)
X-Received: by 2002:a05:6214:c4f:b0:4bb:9343:b7b5 with SMTP id
r15-20020a0562140c4f00b004bb9343b7b5mr6188447qvj.31.1667116125908; Sun, 30
Oct 2022 00:48:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sun, 30 Oct 2022 00:48:45 -0700 (PDT)
In-Reply-To: <tjkssa$3umpv$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:645:401:5af0:0:0:0:f83d;
posting-account=QzsGYwkAAAC0e9QC1lnysuaHwDBEpa6X
NNTP-Posting-Host: 2601:645:401:5af0:0:0:0:f83d
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
<07c66ae4-db63-4df4-a85e-89461c7668ccn@googlegroups.com> <tjkssa$3umpv$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0f394dbe-9201-417e-a4ac-9ae2e1c95b41n@googlegroups.com>
Subject: Re: mouse events triggering enter/leave events in x11
From: sebsha...@gmail.com (Seb Shader)
Injection-Date: Sun, 30 Oct 2022 07:48:46 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2441
 by: Seb Shader - Sun, 30 Oct 2022 07:48 UTC

On Saturday, October 29, 2022 at 9:00:14 PM UTC-7, Rich wrote:
> Seb Shader <sebs...@gmail.com> wrote:
> > for a simple script that triggers enter/leave on each mouse event:
> >
> > set count 0
> > canvas .c -bd 0 -width 400 -height 400 -background blue
> > pack .c
> > bind .c <Leave> {
> > puts "$count leave"
> > incr count
> > }
> > bind .c <Enter> {
> > puts "$count enter"
> > incr count
> > }
> > bind .c <Button-4> {
> > puts "$count Mousewheel 1"
> > incr count
> > }
> > bind .c <Button-5> {
> > puts "$count Mousewheel -1"
> > incr count
> > }
> > bind .c <ButtonPress> {
> > puts "$count Click"
> > incr count
> > }
> >
> > the output in the terminal is like
> > 10 leave
> > 11 enter
> > 12 Mousewheel -1
> > 13 leave
> > 14 enter
> > 15 Mousewheel 1
> > 16 leave
> > 17 enter
> > 18 Mousewheel 1
> > 19 leave
> > 20 enter
> > 21 Click
> Fully expected results from your example code. Binding scripts are
> executed at global level, so you have only one single shared count
> variable across all five bindings.
the count variable is just to have line numbers in the terminal output, that wasn't my issue

Re: mouse events triggering enter/leave events in x11

<tjls1q$5om0$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9935&group=comp.lang.tcl#9935

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: mouse events triggering enter/leave events in x11
Date: Sun, 30 Oct 2022 12:52:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <tjls1q$5om0$1@dont-email.me>
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com> <tjksn3$3umpv$1@dont-email.me> <44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com>
Injection-Date: Sun, 30 Oct 2022 12:52:10 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b7e5ac15013dacfd96e40b95c1ad0148";
logging-data="189120"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18juk3bZ5rS+IXaJJUaOArS"
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.10.17 (x86_64))
Cancel-Lock: sha1:3e29Et7OnQvDkRB/02mvjFiaegg=
 by: Rich - Sun, 30 Oct 2022 12:52 UTC

Seb Shader <sebshader@gmail.com> wrote:
> On Saturday, October 29, 2022 at 8:57:29 PM UTC-7, Rich wrote:
>> Seb Shader <sebs...@gmail.com> wrote:
>> > Hi,
>>
>> > I'm trying to have a number of canvasses that can be scrolled. When
>> > the user hovers over a canvas I'd like the outline to change as a
>> > highlight.
>> > ...
>> > Enter/leave events for each canvas aren't usable since both seem to
>> > get triggered before each mouse event.. is this expected behavior,
>> > or a bug? this is on wish 8.6.11 (x11/xfce on mx linux)
>> Please explain how enter/leave events are not usable. This code below
>> prints the expected results under Linux on 8.6.11:
>>
>> #!/usr/bin/wish
>>
>> canvas .outer -width 800 -height 800
>>
>> canvas .inner -width 200 -height 200 -background yellow
>>
>> .outer create window 0 0 -anchor center -window .inner
>>
>> pack .outer
>>
>> bind .inner <Enter> [list enter %W]
>> bind .inner <Leave> [list leave %W]
>>
>> proc enter {w} {
>> puts stderr "enter: w='$w'"
>> }
>>
>> proc leave {w} {
>> puts stderr "leave: w='$w'"
>> }
>>
>> When the mouse enters the inner canvas, an enter event is generated.
>> When it leaves the same, a leave event is generated. The enter event
>> can cause a border to appear around the canvas, and the leave event can
>> teardown the border the enter event erected (borders are not
>> implemented in the example code above).
>
> If I click or do a mousewheel scroll in the the yellow canvas in your
> example, both enter and leave events are triggered/printed for each
> of those mouse events, before the actual events are (based on my
> tests). This is an issue because it will create flickering if the
> border 'highlight' is supposed to be bound to/based on them. The
> issue isn't so much enter/leave events not working, but being
> triggered by mouse events as well for some reason

Running my exact code, in a fresh wish interpreter, I can click, or
mousewheel, as much as I like on/above the yellow canvas and neither of
my 'enter' or 'leave' events fires.

So you have to provide more to us here (i.e., some code that shows the
issue). Everything looks to be working as expected, and to an extent
that borders can be created/removed via enter/leave events.

If you want to edit my code to make it do what you see, that is fine,
but, you need to supply the edited code so we can also see the issue.

Re: mouse events triggering enter/leave events in x11

<f760f6e5-f862-45cd-afb5-98c1a7a8da85n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9936&group=comp.lang.tcl#9936

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a0c:9a4e:0:b0:4b1:d537:c6b9 with SMTP id q14-20020a0c9a4e000000b004b1d537c6b9mr7823613qvd.3.1667149964787;
Sun, 30 Oct 2022 10:12:44 -0700 (PDT)
X-Received: by 2002:a37:46d4:0:b0:6f8:4c19:6b62 with SMTP id
t203-20020a3746d4000000b006f84c196b62mr6666967qka.356.1667149964598; Sun, 30
Oct 2022 10:12:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sun, 30 Oct 2022 10:12:44 -0700 (PDT)
In-Reply-To: <tjls1q$5om0$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:645:401:5af0:0:0:0:f83d;
posting-account=QzsGYwkAAAC0e9QC1lnysuaHwDBEpa6X
NNTP-Posting-Host: 2601:645:401:5af0:0:0:0:f83d
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
<tjksn3$3umpv$1@dont-email.me> <44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com>
<tjls1q$5om0$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f760f6e5-f862-45cd-afb5-98c1a7a8da85n@googlegroups.com>
Subject: Re: mouse events triggering enter/leave events in x11
From: sebsha...@gmail.com (Seb Shader)
Injection-Date: Sun, 30 Oct 2022 17:12:44 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 4381
 by: Seb Shader - Sun, 30 Oct 2022 17:12 UTC

On Sunday, October 30, 2022 at 5:52:15 AM UTC-7, Rich wrote:
> Seb Shader <sebs...@gmail.com> wrote:
> > On Saturday, October 29, 2022 at 8:57:29 PM UTC-7, Rich wrote:
> >> Seb Shader <sebs...@gmail.com> wrote:
> >> > Hi,
> >>
> >> > I'm trying to have a number of canvasses that can be scrolled. When
> >> > the user hovers over a canvas I'd like the outline to change as a
> >> > highlight.
> >> > ...
> >> > Enter/leave events for each canvas aren't usable since both seem to
> >> > get triggered before each mouse event.. is this expected behavior,
> >> > or a bug? this is on wish 8.6.11 (x11/xfce on mx linux)
> >> Please explain how enter/leave events are not usable. This code below
> >> prints the expected results under Linux on 8.6.11:
> >>
> >> #!/usr/bin/wish
> >>
> >> canvas .outer -width 800 -height 800
> >>
> >> canvas .inner -width 200 -height 200 -background yellow
> >>
> >> .outer create window 0 0 -anchor center -window .inner
> >>
> >> pack .outer
> >>
> >> bind .inner <Enter> [list enter %W]
> >> bind .inner <Leave> [list leave %W]
> >>
> >> proc enter {w} {
> >> puts stderr "enter: w='$w'"
> >> }
> >>
> >> proc leave {w} {
> >> puts stderr "leave: w='$w'"
> >> }
> >>
> >> When the mouse enters the inner canvas, an enter event is generated.
> >> When it leaves the same, a leave event is generated. The enter event
> >> can cause a border to appear around the canvas, and the leave event can
> >> teardown the border the enter event erected (borders are not
> >> implemented in the example code above).
> >
> > If I click or do a mousewheel scroll in the the yellow canvas in your
> > example, both enter and leave events are triggered/printed for each
> > of those mouse events, before the actual events are (based on my
> > tests). This is an issue because it will create flickering if the
> > border 'highlight' is supposed to be bound to/based on them. The
> > issue isn't so much enter/leave events not working, but being
> > triggered by mouse events as well for some reason
> Running my exact code, in a fresh wish interpreter, I can click, or
> mousewheel, as much as I like on/above the yellow canvas and neither of
> my 'enter' or 'leave' events fires.
>
> So you have to provide more to us here (i.e., some code that shows the
> issue). Everything looks to be working as expected, and to an extent
> that borders can be created/removed via enter/leave events.
>
> If you want to edit my code to make it do what you see, that is fine,
> but, you need to supply the edited code so we can also see the issue.

Both your example and the 1st example of code in my 2nd post emit Enter & Leave events before each mouse event (well scrollwheel & click, doesn't seem to happen with motion). I posted the output of my terminal to illustrate that in my 2nd post..
If you can't reproduce maybe it's because you aren't on x11 or 8.6.11? that seems to indicate that either it's either a bug on x11, or there's some x11 configuration/option that needs to be changed..

Re: mouse events triggering enter/leave events in x11

<38e93b2f-7dc1-4df8-92dd-382a134513f3n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9937&group=comp.lang.tcl#9937

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a37:4646:0:b0:6e4:ed82:a3ac with SMTP id t67-20020a374646000000b006e4ed82a3acmr6618453qka.57.1667152049724;
Sun, 30 Oct 2022 10:47:29 -0700 (PDT)
X-Received: by 2002:a05:620a:2698:b0:6f5:7127:76a4 with SMTP id
c24-20020a05620a269800b006f5712776a4mr6339994qkp.216.1667152049555; Sun, 30
Oct 2022 10:47:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.niel.me!glou.org!news.glou.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sun, 30 Oct 2022 10:47:29 -0700 (PDT)
In-Reply-To: <f760f6e5-f862-45cd-afb5-98c1a7a8da85n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:645:401:5af0:0:0:0:f83d;
posting-account=QzsGYwkAAAC0e9QC1lnysuaHwDBEpa6X
NNTP-Posting-Host: 2601:645:401:5af0:0:0:0:f83d
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
<tjksn3$3umpv$1@dont-email.me> <44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com>
<tjls1q$5om0$1@dont-email.me> <f760f6e5-f862-45cd-afb5-98c1a7a8da85n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <38e93b2f-7dc1-4df8-92dd-382a134513f3n@googlegroups.com>
Subject: Re: mouse events triggering enter/leave events in x11
From: sebsha...@gmail.com (Seb Shader)
Injection-Date: Sun, 30 Oct 2022 17:47:29 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Seb Shader - Sun, 30 Oct 2022 17:47 UTC

On Sunday, October 30, 2022 at 10:12:47 AM UTC-7, Seb Shader wrote:
> On Sunday, October 30, 2022 at 5:52:15 AM UTC-7, Rich wrote:
> > Seb Shader <sebs...@gmail.com> wrote:
> > > On Saturday, October 29, 2022 at 8:57:29 PM UTC-7, Rich wrote:
> > >> Seb Shader <sebs...@gmail.com> wrote:
> > >> > Hi,
> > >>
> > >> > I'm trying to have a number of canvasses that can be scrolled. When
> > >> > the user hovers over a canvas I'd like the outline to change as a
> > >> > highlight.
> > >> > ...
> > >> > Enter/leave events for each canvas aren't usable since both seem to
> > >> > get triggered before each mouse event.. is this expected behavior,
> > >> > or a bug? this is on wish 8.6.11 (x11/xfce on mx linux)
> > >> Please explain how enter/leave events are not usable. This code below
> > >> prints the expected results under Linux on 8.6.11:
> > >>
> > >> #!/usr/bin/wish
> > >>
> > >> canvas .outer -width 800 -height 800
> > >>
> > >> canvas .inner -width 200 -height 200 -background yellow
> > >>
> > >> .outer create window 0 0 -anchor center -window .inner
> > >>
> > >> pack .outer
> > >>
> > >> bind .inner <Enter> [list enter %W]
> > >> bind .inner <Leave> [list leave %W]
> > >>
> > >> proc enter {w} {
> > >> puts stderr "enter: w='$w'"
> > >> }
> > >>
> > >> proc leave {w} {
> > >> puts stderr "leave: w='$w'"
> > >> }
> > >>
> > >> When the mouse enters the inner canvas, an enter event is generated.
> > >> When it leaves the same, a leave event is generated. The enter event
> > >> can cause a border to appear around the canvas, and the leave event can
> > >> teardown the border the enter event erected (borders are not
> > >> implemented in the example code above).
> > >
> > > If I click or do a mousewheel scroll in the the yellow canvas in your
> > > example, both enter and leave events are triggered/printed for each
> > > of those mouse events, before the actual events are (based on my
> > > tests). This is an issue because it will create flickering if the
> > > border 'highlight' is supposed to be bound to/based on them. The
> > > issue isn't so much enter/leave events not working, but being
> > > triggered by mouse events as well for some reason
> > Running my exact code, in a fresh wish interpreter, I can click, or
> > mousewheel, as much as I like on/above the yellow canvas and neither of
> > my 'enter' or 'leave' events fires.
> >
> > So you have to provide more to us here (i.e., some code that shows the
> > issue). Everything looks to be working as expected, and to an extent
> > that borders can be created/removed via enter/leave events.
> >
> > If you want to edit my code to make it do what you see, that is fine,
> > but, you need to supply the edited code so we can also see the issue.
> Both your example and the 1st example of code in my 2nd post emit Enter & Leave events before each mouse event (well scrollwheel & click, doesn't seem to happen with motion). I posted the output of my terminal to illustrate that in my 2nd post..
> If you can't reproduce maybe it's because you aren't on x11 or 8.6.11? that seems to indicate that either it's either a bug on x11, or there's some x11 configuration/option that needs to be changed..
sorry, I didn't see that you were on linux (I presume x11) 8.6.11.. odd. Maybe it is actually some configuration issue, possibly w/ xfce..

Re: mouse events triggering enter/leave events in x11

<tjmft9$89oi$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9938&group=comp.lang.tcl#9938

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!paganini.bofh.team!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: mouse events triggering enter/leave events in x11
Date: Sun, 30 Oct 2022 18:31:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <tjmft9$89oi$1@dont-email.me>
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com> <tjksn3$3umpv$1@dont-email.me> <44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com> <tjls1q$5om0$1@dont-email.me> <f760f6e5-f862-45cd-afb5-98c1a7a8da85n@googlegroups.com>
Injection-Date: Sun, 30 Oct 2022 18:31:05 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b7e5ac15013dacfd96e40b95c1ad0148";
logging-data="272146"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xDX7wx6Y//A8sZ0GIuspS"
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.10.17 (x86_64))
Cancel-Lock: sha1:l3AepjRwwGVa3I9rV04Xsm6f67Y=
 by: Rich - Sun, 30 Oct 2022 18:31 UTC

Seb Shader <sebshader@gmail.com> wrote:
> Both your example and the 1st example of code in my 2nd post emit
> Enter & Leave events before each mouse event (well scrollwheel &
> click, doesn't seem to happen with motion).

Not for me.

> I posted the output of my terminal to illustrate that in my 2nd
> post.. If you can't reproduce maybe it's because you aren't on x11
> or 8.6.11?

From my very first post in this sub-thread: "Linux on 8.6.11".

I'm on X11, Linux, and 8.6.11. My code I posted does not trigger
either the enter, nor the leave, events on either clicking or
scrollwheel motion.

> that seems to indicate that either it's either a bug on x11, or
> there's some x11 configuration/option that needs to be changed..

Unsure, but here, on X11 and 8.6.11, my code works as expected.

Re: mouse events triggering enter/leave events in x11

<tjmg00$89oi$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9939&group=comp.lang.tcl#9939

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!paganini.bofh.team!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: mouse events triggering enter/leave events in x11
Date: Sun, 30 Oct 2022 18:32:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <tjmg00$89oi$2@dont-email.me>
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com> <tjksn3$3umpv$1@dont-email.me> <44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com> <tjls1q$5om0$1@dont-email.me> <f760f6e5-f862-45cd-afb5-98c1a7a8da85n@googlegroups.com> <38e93b2f-7dc1-4df8-92dd-382a134513f3n@googlegroups.com>
Injection-Date: Sun, 30 Oct 2022 18:32:32 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b7e5ac15013dacfd96e40b95c1ad0148";
logging-data="272146"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Pbz0/7hx+TPGkzxn6yThf"
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.10.17 (x86_64))
Cancel-Lock: sha1:IlInk0rNtZa9RGqEi7gJYZA9Ls0=
 by: Rich - Sun, 30 Oct 2022 18:32 UTC

Seb Shader <sebshader@gmail.com> wrote:
> On Sunday, October 30, 2022 at 10:12:47 AM UTC-7, Seb Shader wrote:
>> Both your example and the 1st example of code in my 2nd post emit
>> Enter & Leave events before each mouse event (well scrollwheel &
>> click, doesn't seem to happen with motion). I posted the output of
>> my terminal to illustrate that in my 2nd post.. If you can't
>> reproduce maybe it's because you aren't on x11 or 8.6.11? that
>> seems to indicate that either it's either a bug on x11, or there's
>> some x11 configuration/option that needs to be changed..

> sorry, I didn't see that you were on linux (I presume x11) 8.6.11..
> odd. Maybe it is actually some configuration issue, possibly w/
> xfce..

Yup, X11. I am, however, running fvwm2 as window manager, so there is
a possibility it is an xfce related issue.

Re: mouse events triggering enter/leave events in x11

<9228ef87-14df-43d7-9af1-3e2dbf4ef11fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9940&group=comp.lang.tcl#9940

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:620a:28ce:b0:6cf:933c:40d3 with SMTP id l14-20020a05620a28ce00b006cf933c40d3mr6781248qkp.258.1667163026677;
Sun, 30 Oct 2022 13:50:26 -0700 (PDT)
X-Received: by 2002:ac8:5fd5:0:b0:39c:e9f0:d0f4 with SMTP id
k21-20020ac85fd5000000b0039ce9f0d0f4mr8128845qta.322.1667163026403; Sun, 30
Oct 2022 13:50:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sun, 30 Oct 2022 13:50:26 -0700 (PDT)
In-Reply-To: <tjmg00$89oi$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:5a8:600:421:b8a6:ed28:4d79:f9a0;
posting-account=QzsGYwkAAAC0e9QC1lnysuaHwDBEpa6X
NNTP-Posting-Host: 2001:5a8:600:421:b8a6:ed28:4d79:f9a0
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
<tjksn3$3umpv$1@dont-email.me> <44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com>
<tjls1q$5om0$1@dont-email.me> <f760f6e5-f862-45cd-afb5-98c1a7a8da85n@googlegroups.com>
<38e93b2f-7dc1-4df8-92dd-382a134513f3n@googlegroups.com> <tjmg00$89oi$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9228ef87-14df-43d7-9af1-3e2dbf4ef11fn@googlegroups.com>
Subject: Re: mouse events triggering enter/leave events in x11
From: sebsha...@gmail.com (Seb Shader)
Injection-Date: Sun, 30 Oct 2022 20:50:26 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2603
 by: Seb Shader - Sun, 30 Oct 2022 20:50 UTC

On Sunday, October 30, 2022 at 11:32:36 AM UTC-7, Rich wrote:
> Seb Shader <sebs...@gmail.com> wrote:
> > On Sunday, October 30, 2022 at 10:12:47 AM UTC-7, Seb Shader wrote:
> >> Both your example and the 1st example of code in my 2nd post emit
> >> Enter & Leave events before each mouse event (well scrollwheel &
> >> click, doesn't seem to happen with motion). I posted the output of
> >> my terminal to illustrate that in my 2nd post.. If you can't
> >> reproduce maybe it's because you aren't on x11 or 8.6.11? that
> >> seems to indicate that either it's either a bug on x11, or there's
> >> some x11 configuration/option that needs to be changed..
>
> > sorry, I didn't see that you were on linux (I presume x11) 8.6.11..
> > odd. Maybe it is actually some configuration issue, possibly w/
> > xfce..
> Yup, X11. I am, however, running fvwm2 as window manager, so there is
> a possibility it is an xfce related issue.
Turns out this has been seen before, and is actually oddly dependent on being on using xfce or lxde:
https://linux.debian.user.narkive.com/dXxiVBcM/strange-event-handling-problem-with-xfce-lxde-which-pkg-responsible

Re: mouse events triggering enter/leave events in x11

<nnd$239bc55d$220c1eed@965c8f707aed209c>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9943&group=comp.lang.tcl#9943

  copy link   Newsgroups: comp.lang.tcl
Subject: Re: mouse events triggering enter/leave events in x11
Newsgroups: comp.lang.tcl
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
<tjksn3$3umpv$1@dont-email.me>
<44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com>
<tjls1q$5om0$1@dont-email.me>
<f760f6e5-f862-45cd-afb5-98c1a7a8da85n@googlegroups.com>
<38e93b2f-7dc1-4df8-92dd-382a134513f3n@googlegroups.com>
<tjmg00$89oi$2@dont-email.me>
<9228ef87-14df-43d7-9af1-3e2dbf4ef11fn@googlegroups.com>
From: loo...@the.footer.invalid (Erik Leunissen)
Date: Mon, 31 Oct 2022 09:10:13 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.2.1
MIME-Version: 1.0
In-Reply-To: <9228ef87-14df-43d7-9af1-3e2dbf4ef11fn@googlegroups.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: nl
Content-Transfer-Encoding: 7bit
Message-ID: <nnd$239bc55d$220c1eed@965c8f707aed209c>
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe006.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 28
Injection-Date: Mon, 31 Oct 2022 09:10:13 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2706
 by: Erik Leunissen - Mon, 31 Oct 2022 08:10 UTC

On 30/10/2022 21:50, Seb Shader wrote:
>> > sorry, I didn't see that you were on linux (I presume x11) 8.6.11..
>> > odd. Maybe it is actually some configuration issue, possibly w/
>> > xfce..
>> Yup, X11. I am, however, running fvwm2 as window manager, so there is
>> a possibility it is an xfce related issue.
> Turns out this has been seen before, and is actually oddly dependent on being on using xfce or lxde:
> https://linux.debian.user.narkive.com/dXxiVBcM/strange-event-handling-problem-with-xfce-lxde-which-pkg-responsible
>

I see a possible conceptual confusion in this thread (including the websites to which Seb referred
for a wider recognition of the issue) between a desktop environment and a window manager.

The issue described in this thread may be related to the desktop environment and/or window manager.
(Though personally, I would expect the window manager to be the culprit, first).

XFCE and LXDE are desktop environments. They may employ - or operate in concert with - different
window managers. Openbox appears to be a window manager. For example, I have XFCE installed, and I
can to make it work with Xfwm4 or Sawfish as the window manager.

Different window managers can make an essential difference (while keeping the desktop environment).

Regards,
Erik
--
elns@ nl | Merge the left part of these two lines into one,
xs4all. | respecting a character's position in a line.

Re: mouse events triggering enter/leave events in x11

<056dae76-6367-4160-b14b-8efe4d82e181n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9944&group=comp.lang.tcl#9944

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ad4:5be1:0:b0:498:79dc:d3ff with SMTP id k1-20020ad45be1000000b0049879dcd3ffmr11260353qvc.87.1667230836960;
Mon, 31 Oct 2022 08:40:36 -0700 (PDT)
X-Received: by 2002:a05:622a:1c1:b0:39a:9da4:1177 with SMTP id
t1-20020a05622a01c100b0039a9da41177mr11061388qtw.11.1667230836768; Mon, 31
Oct 2022 08:40:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Mon, 31 Oct 2022 08:40:36 -0700 (PDT)
In-Reply-To: <nnd$239bc55d$220c1eed@965c8f707aed209c>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:645:401:5af0:0:0:0:f83d;
posting-account=QzsGYwkAAAC0e9QC1lnysuaHwDBEpa6X
NNTP-Posting-Host: 2601:645:401:5af0:0:0:0:f83d
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
<tjksn3$3umpv$1@dont-email.me> <44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com>
<tjls1q$5om0$1@dont-email.me> <f760f6e5-f862-45cd-afb5-98c1a7a8da85n@googlegroups.com>
<38e93b2f-7dc1-4df8-92dd-382a134513f3n@googlegroups.com> <tjmg00$89oi$2@dont-email.me>
<9228ef87-14df-43d7-9af1-3e2dbf4ef11fn@googlegroups.com> <nnd$239bc55d$220c1eed@965c8f707aed209c>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <056dae76-6367-4160-b14b-8efe4d82e181n@googlegroups.com>
Subject: Re: mouse events triggering enter/leave events in x11
From: sebsha...@gmail.com (Seb Shader)
Injection-Date: Mon, 31 Oct 2022 15:40:36 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3239
 by: Seb Shader - Mon, 31 Oct 2022 15:40 UTC

On Monday, October 31, 2022 at 1:10:21 AM UTC-7, Erik Leunissen wrote:
> On 30/10/2022 21:50, Seb Shader wrote:
> >> > sorry, I didn't see that you were on linux (I presume x11) 8.6.11..
> >> > odd. Maybe it is actually some configuration issue, possibly w/
> >> > xfce..
> >> Yup, X11. I am, however, running fvwm2 as window manager, so there is
> >> a possibility it is an xfce related issue.
> > Turns out this has been seen before, and is actually oddly dependent on being on using xfce or lxde:
> > https://linux.debian.user.narkive.com/dXxiVBcM/strange-event-handling-problem-with-xfce-lxde-which-pkg-responsible
> >
> I see a possible conceptual confusion in this thread (including the websites to which Seb referred
> for a wider recognition of the issue) between a desktop environment and a window manager.
>
> The issue described in this thread may be related to the desktop environment and/or window manager.
> (Though personally, I would expect the window manager to be the culprit, first).
>
> XFCE and LXDE are desktop environments. They may employ - or operate in concert with - different
> window managers. Openbox appears to be a window manager. For example, I have XFCE installed, and I
> can to make it work with Xfwm4 or Sawfish as the window manager.
>
> Different window managers can make an essential difference (while keeping the desktop environment).
>
> Regards,
> Erik
> --
> elns@ nl | Merge the left part of these two lines into one,
> xs4all. | respecting a character's position in a line.
true, I guess it's more precise to say the issue likely occurs in xfwm, openbox and whatever lxde is using (seems likely to be openbox or xfwm)

Re: mouse events triggering enter/leave events in x11

<84296189-e97d-4a45-ab65-5123c0227a6bn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9945&group=comp.lang.tcl#9945

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a0c:9a0d:0:b0:4b1:982e:96d4 with SMTP id p13-20020a0c9a0d000000b004b1982e96d4mr11841242qvd.114.1667238109030;
Mon, 31 Oct 2022 10:41:49 -0700 (PDT)
X-Received: by 2002:a05:620a:28cd:b0:6cf:93b3:a78 with SMTP id
l13-20020a05620a28cd00b006cf93b30a78mr10025392qkp.11.1667238108843; Mon, 31
Oct 2022 10:41:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Mon, 31 Oct 2022 10:41:48 -0700 (PDT)
In-Reply-To: <056dae76-6367-4160-b14b-8efe4d82e181n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:fb90:464:99f:712b:86ed:c1a9:18eb;
posting-account=QzsGYwkAAAC0e9QC1lnysuaHwDBEpa6X
NNTP-Posting-Host: 2607:fb90:464:99f:712b:86ed:c1a9:18eb
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
<tjksn3$3umpv$1@dont-email.me> <44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com>
<tjls1q$5om0$1@dont-email.me> <f760f6e5-f862-45cd-afb5-98c1a7a8da85n@googlegroups.com>
<38e93b2f-7dc1-4df8-92dd-382a134513f3n@googlegroups.com> <tjmg00$89oi$2@dont-email.me>
<9228ef87-14df-43d7-9af1-3e2dbf4ef11fn@googlegroups.com> <nnd$239bc55d$220c1eed@965c8f707aed209c>
<056dae76-6367-4160-b14b-8efe4d82e181n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <84296189-e97d-4a45-ab65-5123c0227a6bn@googlegroups.com>
Subject: Re: mouse events triggering enter/leave events in x11
From: sebsha...@gmail.com (Seb Shader)
Injection-Date: Mon, 31 Oct 2022 17:41:49 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3512
 by: Seb Shader - Mon, 31 Oct 2022 17:41 UTC

On Monday, October 31, 2022 at 8:40:39 AM UTC-7, Seb Shader wrote:
> On Monday, October 31, 2022 at 1:10:21 AM UTC-7, Erik Leunissen wrote:
> > On 30/10/2022 21:50, Seb Shader wrote:
> > >> > sorry, I didn't see that you were on linux (I presume x11) 8.6.11..
> > >> > odd. Maybe it is actually some configuration issue, possibly w/
> > >> > xfce..
> > >> Yup, X11. I am, however, running fvwm2 as window manager, so there is
> > >> a possibility it is an xfce related issue.
> > > Turns out this has been seen before, and is actually oddly dependent on being on using xfce or lxde:
> > > https://linux.debian.user.narkive.com/dXxiVBcM/strange-event-handling-problem-with-xfce-lxde-which-pkg-responsible
> > >
> > I see a possible conceptual confusion in this thread (including the websites to which Seb referred
> > for a wider recognition of the issue) between a desktop environment and a window manager.
> >
> > The issue described in this thread may be related to the desktop environment and/or window manager.
> > (Though personally, I would expect the window manager to be the culprit, first).
> >
> > XFCE and LXDE are desktop environments. They may employ - or operate in concert with - different
> > window managers. Openbox appears to be a window manager. For example, I have XFCE installed, and I
> > can to make it work with Xfwm4 or Sawfish as the window manager.
> >
> > Different window managers can make an essential difference (while keeping the desktop environment).
> >
> > Regards,
> > Erik
> > --
> > elns@ nl | Merge the left part of these two lines into one,
> > xs4all. | respecting a character's position in a line.
> true, I guess it's more precise to say the issue likely occurs in xfwm, openbox and whatever lxde is using (seems likely to be openbox or xfwm)
But I wonder why it works for you on xfwm4 then..

Re: mouse events triggering enter/leave events in x11

<nnd$5af015dc$45d672b3@c2a249b27b14833c>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9946&group=comp.lang.tcl#9946

  copy link   Newsgroups: comp.lang.tcl
Subject: Re: mouse events triggering enter/leave events in x11
Newsgroups: comp.lang.tcl
References: <bc221abd-0b73-4840-bdb3-984b582b15bbn@googlegroups.com>
<tjksn3$3umpv$1@dont-email.me>
<44003ab7-a552-46ec-8dd8-9435377f4292n@googlegroups.com>
<tjls1q$5om0$1@dont-email.me>
<f760f6e5-f862-45cd-afb5-98c1a7a8da85n@googlegroups.com>
<38e93b2f-7dc1-4df8-92dd-382a134513f3n@googlegroups.com>
<tjmg00$89oi$2@dont-email.me>
<9228ef87-14df-43d7-9af1-3e2dbf4ef11fn@googlegroups.com>
<nnd$239bc55d$220c1eed@965c8f707aed209c>
<056dae76-6367-4160-b14b-8efe4d82e181n@googlegroups.com>
<84296189-e97d-4a45-ab65-5123c0227a6bn@googlegroups.com>
From: loo...@the.footer.invalid (Erik Leunissen)
Date: Mon, 31 Oct 2022 19:11:10 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.2.1
MIME-Version: 1.0
In-Reply-To: <84296189-e97d-4a45-ab65-5123c0227a6bn@googlegroups.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: nl
Content-Transfer-Encoding: 7bit
Message-ID: <nnd$5af015dc$45d672b3@c2a249b27b14833c>
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe005.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 11
Injection-Date: Mon, 31 Oct 2022 19:11:10 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1747
 by: Erik Leunissen - Mon, 31 Oct 2022 18:11 UTC

On 31/10/2022 18:41, Seb Shader wrote:
> But I wonder why it works for you on xfwm4 then..
>

I just commented on the words used in this discussion thread. I didn't do any testing.

Erik.
--
elns@ nl | Merge the left part of these two lines into one,
xs4all. | respecting a character's position in a line.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor