Hide Forgot
Description of problem: When the password entry dialog comes up, it should automatically be given keyboard focus. You shouldn't have to click on it with the mouse. Version-Release number of selected component (if applicable): claws-mail-3.7.9-2.fc15.x86_64 How reproducible: Happens every time Steps to Reproduce: 1. Start Claws Mail. The main window should appear. 2. You should already have an account set up. Press Ctrl-I to Retrieve Mail from Current Account. The password entry dialog should appear. Actual results: The password entry dialog doesn't have keyboard focus. You have to click on the password entry field in order to enter your password with the keyboard. Expected results: The cursor should automatically be in the password entry field. That way, you can enter your password with the keyboard and not have to use the mouse.
Are you sure you cannot type in the password immediately? Here it works (Fedora 15 x86_64 GNOME Shell), although the cursor is not displayed.
I just verified that I can't type the password in immediately. What seems to be happening is that when I press a keyboard command like Ctrl-I, the entire Claws Mail application loses focus. You can see that because the name is not listed next to Activities at the top left. If I press Alt-Tab several times, then I can get Claws-Mail to have focus. After focus is restored, the password entry field has the cursor in it. I can then enter the password. A similar situation occurs when I use the G key to bring up the dialog to change mail folder. The entire Claws Mail application loses focus.
Although I still cannot reproduce with the password dialog, it's not limited to the password dialog. Several dialogs don't get any focus at all actually. E.g. Configuration > Filtering, Configuration > Plugins, Configuration > Templates. Their title bar is greyed out for these dialogs. This is specific to GNOME Shell or its window manager (mutter), though, and could be just a bug or side-effect of how it handles some dialogs. By comparison, it's also not reproducible within Openbox.
<metoo>. I've encountered it with the annoying "process mark" dialog, and with refiling of messages as well. Interestingly, the older claws-mail-3.7.6-1.fc14.1.x86_64 package I installed in response to the startup crash bug didn't have trouble with focus. claws-mail-3.7.9-3.fc16.x86_64 definitely does, so something has changed in between.
Ah, that's helpful! It's actually the work-around patch for bug 693990 [gtk_window_deiconify() ignored : Claws Mail starts minimized] that causes this.
One additional bit of weirdness I've noted with this version: windows (the compose window in particular) have a tendency to pop up *behind* the main claws window. That can be annoying, especially if there isn't even a corner sticking out to make it clear where the window is. Don't know if it's a related problem or not, but 3.7.6-1 didn't behave that way.
3.7.6-1.fc14.1 without a patch would also start minimized => bug 693990 We need a [better] solution for that issue, because the focus problem with the dialogs is not acceptable. If - as a last resort - we take out the gtk_window_iconify() call as an alternative for the patch for bug 693990, Claws Mail would appear briefly on the screen for users who enable the "Hide at start-up" Trayicon feature.
(In reply to comment #7) > If - as a last resort - we take out the gtk_window_iconify() call as an > alternative for the patch for bug 693990, Claws Mail would appear briefly on > the screen for users who enable the "Hide at start-up" Trayicon feature. To me the trade-off between the trayicon feature and the dialogs not working is clearly to remove the workaround (obviously this needs to be handled more gracefully).
Sure, but what do you think about replacing the workaround? by taking out the iconify call instead -> http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=960
That would probably be the best solution for now till there is some more input an the issue.
claws-mail-3.7.9-4.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/claws-mail-3.7.9-4.fc15
Package claws-mail-3.7.9-4.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing claws-mail-3.7.9-4.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/claws-mail-3.7.9-4.fc15 then log in and leave karma (feedback).
claws-mail-3.7.9-4.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.