Win Program loses focus and cannot regain it back.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
cazkin
Newbie
Newbie
Posts: 2
Joined: Mon Apr 13, 2009 5:37 pm

Win Program loses focus and cannot regain it back.

Post by cazkin »

Application is working on Windows but when I run on RedHat10 under Wine 1.1.15. It looses focus and underlying Linux applications to get the keystrokes from the keyboard.

Clicking on the application we're trying to run or switching with ALT+TAB doesn't not give it the focus back.

The parameters we're running Wine are:

Allow the window manager to decorate the windows : OFF
Allow the window manager to control the windows: OFF
Emulate the Virtual desktop : OFF

If we allow the window manager to control the windows, then we don't have the problem. But, then we're having problems with modal forms used in our application.

I really appreciate if you guys can advise.

Thanks
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Win Program loses focus and cannot regain it back.

Post by austin987 »

On Mon, Apr 13, 2009 at 5:46 PM, cazkin <[email protected]> wrote:
Application is working on Windows but when I run on RedHat10 under Wine 1.1.15. It looses focus and underlying Linux applications to get the keystrokes from the keyboard.

Clicking on the application we're trying to run or switching with ALT+TAB doesn't not give it the focus back.

The parameters we're running Wine are:

Allow the window manager to decorate the windows : OFF
Allow the window manager to control the windows: OFF
Emulate the Virtual desktop : OFF

If we allow the window manager to control the windows, then we don't have the problem. But, then we're having problems with modal forms used in our application.

I really appreciate if you guys can advise.
Try enabling the virtual desktop.


--
-Austin
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Win Program loses focus and cannot regain it back.

Post by vitamin »

cazkin wrote:Allow the window manager to decorate the windows : OFF
Turn this back on. That's your problem. WM knowns nothing about Wine windows and takes all focus.
cazkin
Newbie
Newbie
Posts: 2
Joined: Mon Apr 13, 2009 5:37 pm

Re: Win Program loses focus and cannot regain it back.

Post by cazkin »

Hi vitamin,

It was ON earlier but then we had different problem. When we moved the window, edit box (which is expecting operator to enter some data) stays there and doesn't move along with window.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Win Program loses focus and cannot regain it back.

Post by vitamin »

cazkin wrote:Hi vitamin,

It was ON earlier but then we had different problem. When we moved the window, edit box (which is expecting operator to enter some data) stays there and doesn't move along with window.
So what would you prefer? No input at all or input box in the wrong place? Don't touch that option.
Locked