Input field loses focus

Report bugs here

Input field loses focus

Postby gennady » Tue Nov 03, 2009 5:48 pm

Hello,

Goldendict is a very nice program, but one thing annoys me very much.

You:

1) enter new word in the input field;

2) press Enter;

3) press Alt-S in order to hear sound of the word again;

4) switch to another application by Alt-Tab;

5) switch back and trying to input a new word, but...

it doesn't work. The input focus is in the menu at this moment. You type a few first characters and one of the submenus opens. If you type fast, you can even select one of the items in the menu. Then you realise what is going on and press Esc one or few times and try to type in your new word again. The same thing happens again because the input focus still in the menu.

This behaviour annoys me very much because at this moment I have to grab the mouse and click into the input field.

I think it would be great if after switching into the application you can type in words straight away.

Ubuntu 9.04, Qt 4.5.0
The latest build from Git, but this behaviour was few months ago too.
gennady
 
Posts: 6
Joined: Fri Jul 31, 2009 10:47 pm
Location: Bryansk, Russia

Re: Input field loses focus

Postby ikm » Tue Nov 03, 2009 6:20 pm

I'm not sure this is GoldenDict-related. For one, I don't have this behavior (though I'm on KDE4). And if I understand your description right, the same thing should happen with any application you alt-tab from and then back to, not just GD.

I suppose the program could focus on the word input each time it gets focus, but that would disrupt other possible user activities (e.g. imagine you read the article with the focus on its body and scroll using cursor keys, then switch to another app for a moment, then switch back to continue reading your article -- that'd disrupt that).
ikm
Автор GoldenDict
 
Posts: 1595
Joined: Wed Feb 04, 2009 10:40 am

Re: Input field loses focus

Postby gennady » Tue Nov 03, 2009 8:55 pm

ikm wrote:I'm not sure this is GoldenDict-related.


It seems you are right.
GoldenDict works fine in Ubuntu 9.10 (Qt 4.5.2).
gennady
 
Posts: 6
Joined: Fri Jul 31, 2009 10:47 pm
Location: Bryansk, Russia


Return to Bugs

Who is online

Users browsing this forum: No registered users and 9 guests