[Pidgin] #10889: More focus bugs, possibly Windows only.

Pidgin trac at pidgin.im
Thu Dec 3 13:05:40 EST 2009


#10889: More focus bugs, possibly Windows only.
----------------------+-----------------------------------------------------
 Reporter:  phreadom  |        Owner:  rekkanoryo  
     Type:  defect    |       Status:  new         
Milestone:            |    Component:  unclassified
  Version:  2.6.4     |   Resolution:              
 Keywords:            |  
----------------------+-----------------------------------------------------
Description changed by phreadom:

Old description:

> While taking screenshots for a Pidgin tutorial I noticed another focus
> bug, and while trying to narrow that bug down, I noticed another
> variation on a previous bug I'd just reported 2 days ago.
>
> For the first bug, if you open the "Accounts" or "Modify Accounts"
> dialogs (depending on if you already have any accounts), and then either
> open either an "Add Account" or "Modify Account" dialog and then switch
> to another window and back, in most cases the focus will switch back to
> the Accounts/Modify Accounts dialog and move the Add/Modify Account
> dialog behind it incorrectly. However, the Add/Modify Account dialog will
> still actually have focus. You will have to click to focus the
> incorrectly brought to the top unfocused dialog and THEN click on the
> background dialog to bring it back to the front with correct focus and
> stacking.
>
> If this doesn't happen every time, one seemingly sure way I found to make
> it happen is to open or switch to another window and make it open a
> dialog box (such as switching to Explorer and right clicking on a file
> and choosing Properties, or opening a Save File dialog etc), and then
> either close that window or minimize it so that the focus automatically
> switches back to Pidgin. This will cause the previously focused top
> dialog box to move behind the one behind it, while still retaining focus.
> Again, you'll have to click the front dialog and then the back dialog
> again to focus it and bring it back to the front.
>
> This first bug is a little more severe in that it messes up the focus a
> little more severely than the following cases.
>
> The next set of focus bugs is back on the "Join a chat" dialog boxes...
>
> (probably related to the same issue affecting my previous bug report
> http://developer.pidgin.im/ticket/10863 )
>
> If you open the "Join a chat" dialog, select the Yahoo protocol, and
> click on "Room List", the room list will open with the correct focus.
> However, if you switch to another window and back again, you will see
> that the "Join a chat" dialog has jumped to the front, while the "Room
> List" remains focused but behind it.
>
> Switching to another window and back again will toggle the focus between
> the windows again, bringing the "Room List" back to the front, while the
> "Join a chat" dialog now has focus, but is behind the Room List.
>
> At least a single click will correct the focus and stacking without
> having to click the unfocused window first etc like the previously
> mentioned Account dialogs focus problem.
>
> The same toggle of focus and window stacking issue can be seen with the
> XMPP Room List dialogs as well, and can be corrected with a single click
> like the Yahoo Room Lists issue.
>
> (I tested these cases out on my girlfriend's Ubuntu 9.04 laptop with
> Pidgin 2.5.5 and they don't happen, so this may be solely a Windows focus
> bug. I don't have 2.6.4 on the laptop yet to test it further.)

New description:

 While taking screenshots for a Pidgin tutorial I noticed another focus
 bug, and while trying to narrow that bug down, I noticed another variation
 on a previous bug I'd just reported 2 days ago.

 For the first bug, if you open the "Accounts" or "Modify Accounts" dialogs
 (depending on if you already have any accounts), and then either open
 either an "Add Account" or "Modify Account" dialog and then switch to
 another window and back, in most cases the focus will switch back to the
 Accounts/Modify Accounts dialog and move the Add/Modify Account dialog
 behind it incorrectly. However, the Add/Modify Account dialog will still
 actually have focus.

 Another side effect of this focus change is that it can only be fixed by
 clicking on the title bar of the incorrectly backgrounded dialog to bring
 it back to the front and focused. You can't click anywhere in the window
 to change the focus back as you would normally be able to do. However, you
 can click inside the foreground unfocused window to switch the focus to
 it, and THEN click inside the now unfocused background window to bring it
 back to the front and focused.

 If this doesn't happen every time, one seemingly sure way I found to make
 it happen is to open or switch to another window and make it open a dialog
 box (such as switching to Explorer and right clicking on a file and
 choosing Properties, or opening a Save File dialog etc), and then either
 close that window or minimize it so that the focus automatically switches
 back to Pidgin. This will cause the previously focused top dialog box to
 move behind the one behind it, while still retaining focus.

 The next set of focus bugs is back on the "Join a chat" dialog boxes...

 (probably related to the same issue affecting my previous bug report
 http://developer.pidgin.im/ticket/10863 )

 If you open the "Join a chat" dialog, select the Yahoo protocol, and click
 on "Room List", the room list will open with the correct focus. However,
 if you switch to another window and back again, you will see that the
 "Join a chat" dialog has jumped to the front, while the "Room List"
 remains focused but behind it.

 Switching to another window and back again will toggle the focus between
 the windows again, bringing the "Room List" back to the front, while the
 "Join a chat" dialog now has focus, but is behind the Room List.

 Again, these can only be fixed by either clicking on the titlebar of the
 still focused but now backgrounded dialog, or by clicking inside the
 unfocused foreground dialog to focus it, and then inside the now unfocused
 background dialog to focus it and bring it back to the front.

 The same toggle of focus and window stacking issue can be seen with the
 XMPP Room List dialogs as well, and can be corrected the same way as the
 others.

 (I tested these cases out on my girlfriend's Ubuntu 9.04 laptop with
 Pidgin 2.5.5 and they don't happen, so this may be solely a Windows focus
 bug. I don't have 2.6.4 on the laptop yet to test it further.)

--

-- 
Ticket URL: <http://developer.pidgin.im/ticket/10889#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list