TGTextEntry in root 5.30/03 loses focus

I’ve just updated to the new Root version from Root 5.28 to 5.30/03. The behaviour of TGTextEntry seems to have changed.

TGTestFrame::TGTestFrame() : TGMainFrame(0, 500, 500) {
TGTextEntry * x = new TGTextEntry(this, “asdf”);

Starting from Root 5.30/03, the TGTextEntry accepts input only, if the mouse cursor is located directly over the TGTextEntry. Moving the cursor to some other area (without clicking) of the TGMainFrame seems to change the input focus. Is this intended?

Regards, Jürgen

Hi Jürgen,

The focus follow the mouse, until you click inside the text entry. Then the focus should remain in. If it is not the case, please specify which platform youre working on, and which Window manager.

Cheers, Bertrand.

Hi Bertrand,

yes, that’s what the application was doing until the Root upgrade. I’m using Win32, VC 2008, binaries downloaded.

Regards, Jürgen