[Pidgin] #8692: purple_conversation_present doesn't seem to work

Pidgin trac at pidgin.im
Tue May 26 14:44:11 EDT 2009


#8692: purple_conversation_present doesn't seem to work
------------------------+---------------------------------------------------
 Reporter:  darkrain42  |        Owner:  sadrul      
     Type:  defect      |       Status:  new         
Milestone:              |    Component:  pidgin (gtk)
  Version:  2.5.5       |   Resolution:              
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by deryni):

 Anything that directly calls pidgin_conv_present_conversation should be
 able to call pidgin_conv_window_switch_gtkconv I believe, which is as
 "correct" a solution to this problem as I can imagine. I realize that this
 leaves core-only plugins at a loss currently but I can't see a good way to
 make this work (that doesn't entirely remove the focus stealing
 preventions we were attempting to provide, as much as I hate them, or that
 doesn't make the prevention so easy to avoid as to effectively remove the
 protections entirely).

 The issue is that pidgin cannot control the calls to
 pidgin_conv_present_conversation but does feel that we shouldn't allow
 things to steal the conversation focus from users by doing so. So, we only
 focus the actual tab when we can tell that the user has explicitely
 requested the focus change. I'm not sure I agree with this policy (it
 feels very much like the focus stealing prevention code in window
 managers, like metacity and kwin, that I despise) but other than simply
 always moving the conversation focus the only other options are even more
 complicated.

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


More information about the Tracker mailing list