ptrcmd / widgetfx

Automatically exported from code.google.com/p/widgetfx
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Swing components not getting focus correctly #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a widget with a Swing component like this:
ComponentView {
  component: FlowPanel {
    content: [ 
      Label{ text: bind txt }, 
      TextField{ text: bind txt with inverse } 
    ]
  }
}

2. Add the widget to the sidebar
3. Click the TextField to change the text
4. The TextField won't get any focus and won't therefor accept any input
until you try to drag the widget. The dragging action will just move it a
pixel or something like that. 
5. After trying to drag the widget, it'll behave like it was dragged out on
the desktop until you try to drag it again.
6. Now it'll be back in the sidebar and the TextField will accept focus. 
7. Dragging another widget will reset this widget to the erroneous state in
number 3.

What is the expected output? What do you see instead?
One click on the TextField should give it focus and let me edit it.

What version of the product are you using? On what operating system?
Version 0.1.1 on Windows XP with JRE build 1.6.0_10-rc-b28.

Original issue reported on code.google.com by per.dahl...@gmail.com on 9 Sep 2008 at 9:17

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by zax...@ca.astound.net on 11 Jan 2009 at 3:05