Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #208686

Re: Strange event handling problem with Xfce/LXDE - which pkg responsible?

From Michael Lange <klappnase@freenet.de>
Newsgroups linux.debian.user
Subject Re: Strange event handling problem with Xfce/LXDE - which pkg responsible?
Date 2019-05-16 00:20 +0200
Message-ID <xYapI-2C3-5@gated-at.bofh.it> (permalink)
References <xXXVw-3h0-5@gated-at.bofh.it> <xY56F-7FR-3@gated-at.bofh.it> <xY8Hg-1tH-7@gated-at.bofh.it> <xY8Hg-1tH-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On Wed, 15 May 2019 16:27:24 -0400
Greg Wooledge <wooledg@eeg.ccf.org> wrote:

> On Wed, May 15, 2019 at 10:23:25PM +0200, Michael Lange wrote:
> > #############################################
> > frame .f -bg yellow -width 400 -height 300
> > pack .f -fill both -expand 1
> > 
> > bind .f <Button-1> {puts "Button-1 event"}
> > bind .f <Enter> {puts "Enter event"}
> > bind .f <Leave> {puts "Leave event"}
> > #############################################
> > 
> > As expected, it's the same as with Tkinter, when the mouse button is
> > pressed, Enter and Leave events are triggered [...]
> 
> I ran this in straight Tcl/Tk on buster under fvwm and pressing the
> mouse button inside the yellow window only generates "Button-1 event",
> not the other two.
> 

ok, so now I'm at it I installed a few truckloads of KDE, Gnome and mate
packages and with these three the script works as expected, too.
>From the lean and classic department I tried WindowMaker, and again
everything's fine.
>From the lean and not so classic ones I tried awesome, and with this it
is worse: each ButtonPress triggers *two* Enter and Leave events :-)

I don't really know what to make of all this. A feeling in my guts
claims that cannot be Tk's fault, but who knows? I think for now I'll
call it a day and think about a bug report tomorrow.

Thanks again for the feedback, and best regards

Michael

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Those who hate and fight must stop themselves -- otherwise it is not
stopped.
		-- Spock, "Day of the Dove", stardate unknown

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Strange event handling problem with Xfce/LXDE - which pkg  responsible? Michael Lange <klappnase@freenet.de> - 2019-05-15 11:00 +0200
  Re: Strange event handling problem with Xfce/LXDE - which pkg responsible? "Thomas Schmitt" <scdbackup@gmx.net> - 2019-05-15 18:40 +0200
    Re: Strange event handling problem with Xfce/LXDE - which pkg  responsible? Michael Lange <klappnase@freenet.de> - 2019-05-15 20:20 +0200
      Re: Strange event handling problem with Xfce/LXDE - which pkg responsible? "Thomas Schmitt" <scdbackup@gmx.net> - 2019-05-15 21:00 +0200
        Re: Strange event handling problem with Xfce/LXDE - which pkg  responsible? Michael Lange <klappnase@freenet.de> - 2019-05-15 22:10 +0200
    Re: Strange event handling problem with Xfce/LXDE - which pkg  responsible? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-15 22:30 +0200
      Re: Strange event handling problem with Xfce/LXDE - which pkg  responsible? Michael Lange <klappnase@freenet.de> - 2019-05-16 00:20 +0200
    Re: Strange event handling problem with Xfce/LXDE - which pkg  responsible? Michael Lange <klappnase@freenet.de> - 2019-05-15 22:30 +0200
  Re: Strange event handling problem with Xfce/LXDE - which pkg responsible? Jonas Smedegaard <jonas@jones.dk> - 2019-05-15 21:10 +0200
    Re: Strange event handling problem with Xfce/LXDE - which pkg  responsible? Michael Lange <klappnase@freenet.de> - 2019-05-17 00:40 +0200
      Re: Strange event handling problem with Xfce/LXDE - which pkg responsible? Jonas Smedegaard <jonas@jones.dk> - 2019-05-18 18:20 +0200
        Re: Strange event handling problem with Xfce/LXDE - which pkg  responsible? Michael Lange <klappnase@freenet.de> - 2019-05-18 19:40 +0200
          Re: Strange event handling problem with Xfce/LXDE - which pkg responsible? Jonas Smedegaard <jonas@jones.dk> - 2019-05-18 20:30 +0200

csiph-web