Hi list, I'm using entry object from flatgui library with Pd-extended 0.43 (latest autobuild) on a ubuntu 11.10. The object don't loose the focus on it, so when I write something inside it and I click out but still doing some action in the canvas (maybe writing in some other msg box or object) it continues to get my keyboard signal. This weird behavior doesn't happen on Mac Os X 10.6 with a Pd 0.42-5. Is this a bug? someone else could try it before fill a bug report please? thanks husk
Yip yip - same here on PDE 0.43.1-extended-20120126.
Presumed it was my busted 9.10 puredyne install tbh.
Julian
On 14 February 2012 16:42, Husk 00 husk00@gmail.com wrote:
Hi list, I'm using entry object from flatgui library with Pd-extended 0.43 (latest autobuild) on a ubuntu 11.10. The object don't loose the focus on it, so when I write something inside it and I click out but still doing some action in the canvas (maybe writing in some other msg box or object) it continues to get my keyboard signal. This weird behavior doesn't happen on Mac Os X 10.6 with a Pd 0.42-5. Is this a bug? someone else could try it before fill a bug report please? thanks husk
-- "when Art become pratical, we call it technology, when Technology become useless we call it Art" Song hojun
www.estereotips.net
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
What you see if the conflict between the Tcl/Tk focus model in the entry widget, and Pd's custom focus model handled completely separately from Tcl/Tk. The focus issue doesn't happen in play mode, only edit mode, so its something you'll have to live with when using that object.
Some day I hope to finish the tkwidgets library, which aims to address stuff like this. Contributes are welcome :)
.hc
On Feb 14, 2012, at 11:54 AM, Julian Brooks wrote:
Yip yip - same here on PDE 0.43.1-extended-20120126.
Presumed it was my busted 9.10 puredyne install tbh.
Julian
On 14 February 2012 16:42, Husk 00 husk00@gmail.com wrote: Hi list, I'm using entry object from flatgui library with Pd-extended 0.43 (latest autobuild) on a ubuntu 11.10. The object don't loose the focus on it, so when I write something inside it and I click out but still doing some action in the canvas (maybe writing in some other msg box or object) it continues to get my keyboard signal. This weird behavior doesn't happen on Mac Os X 10.6 with a Pd 0.42-5. Is this a bug? someone else could try it before fill a bug report please? thanks husk
-- "when Art become pratical, we call it technology, when Technology become useless we call it Art" Song hojun
www.estereotips.net
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
"A cellphone to me is just an opportunity to be irritated wherever you are." - Linus Torvalds
On Tue, Feb 14, 2012 at 7:17 PM, Hans-Christoph Steiner hans@at.or.atwrote:
What you see if the conflict between the Tcl/Tk focus model in the entry widget, and Pd's custom focus model handled completely separately from Tcl/Tk.
ok, thanks to explain
The focus issue doesn't happen in play mode, only edit mode, so its something you'll have to live with when using that object.
That's not true for me. It doesn't lose focus both in edit or no edit mode.
Some day I hope to finish the tkwidgets library, which aims to address stuff like this. Contributes are welcome :)
I cannot help here (no tcl coders[still]), so I will just wait :)
thanks a lot! husk
From: Husk 00 husk00@gmail.com To: Hans-Christoph Steiner hans@at.or.at Cc: pd list pd-list@iem.at Sent: Tuesday, February 14, 2012 1:43 PM Subject: Re: [PD] problem with flatgui/entry object
[...]
I cannot help here (no tcl coders[still]), so I will just wait :)
Not sure if there is an easy fix. In tk, the widget embedded in a canvas window will only lose focus
if you click on some other widget inside a canvas window (or use tab or click outside of the canvas).
Clicking on the blank canvas, or on rectangle/line/polygon/text items (which is what all the iemguis are)
will not cause the widget to lose focus.
So I guess you have to make a proc that checks for clicks on the canvas, inspect that position to see if
there are any window items underneath it, and if there are not, then lose focus for any/all widgets inside
a window item on that canvas.
-Jonathan
thanks a lot! husk
-- "when Art become pratical, we call it technology, when Technology become useless we call it Art" Song hojun
www.estereotips.net
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
From: Hans-Christoph Steiner hans@at.or.at To: Julian Brooks jbeezez@gmail.com Cc: pd list pd-list@iem.at Sent: Tuesday, February 14, 2012 1:17 PM Subject: Re: [PD] problem with flatgui/entry object
What you see if the conflict between the Tcl/Tk focus model in the entry widget, and Pd's custom focus model handled completely separately from Tcl/Tk. The focus issue doesn't happen in play mode, only edit mode, so its something you'll have to live with when using that object.
Happens in both Run mode and Edit mode. Put a numbox next to [entry], and in Run mode give focus to the
[entry]. Now click on numbox and start typing. Bug: you get text typed in both numbox and [entry].
-Jonathan
Some day I hope to finish the tkwidgets library, which aims to address stuff like this. Contributes are welcome :)
.hc
On Feb 14, 2012, at 11:54 AM, Julian Brooks wrote:
Yip yip - same here on PDE 0.43.1-extended-20120126.
Presumed it was my busted 9.10 puredyne install tbh.
Julian
On 14 February 2012 16:42, Husk 00 husk00@gmail.com wrote:
Hi list,
I'm using entry object from flatgui library with Pd-extended 0.43 (latest autobuild) on a ubuntu 11.10. The object don't loose the focus on it, so when I write something inside it and I click out but still doing some action in the canvas (maybe writing in some other msg box or object) it continues to get my keyboard signal. This weird behavior doesn't happen on Mac Os X 10.6 with a Pd 0.42-5. Is this a bug? someone else could try it before fill a bug report please? thanks husk
-- "when Art become pratical, we call it technology, when Technology become useless we call it Art" Song hojun
www.estereotips.net
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
"A cellphone to me is just an opportunity to be irritated wherever you are." - Linus Torvalds
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list