[Pidgin] #4986: automatic chat input field resizing should be optional, regression from 2.3

Pidgin trac at pidgin.im
Fri Mar 14 13:43:33 EDT 2008


#4986: automatic chat input field resizing should be optional, regression from 2.3
---------------------------+------------------------------------------------
  Reporter:  swbrown       |       Owner:                   
      Type:  enhancement   |      Status:  new              
  Priority:  minor         |   Milestone:                   
 Component:  pidgin (gtk)  |     Version:  2.4.0            
Resolution:                |    Keywords:  chat input resize
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by seanegan):

 Replying to [comment:122 eddyp]:
 > I will not get into any bashing or complaining, I'll just propose a
 strategy for a fix.
 >
 > '''Proposal for the fix:'''
 >
 > '''Just grow when needed and let me set the minimum; I must also be able
 to set a fixed input area, if I want to, just as it was before.'''

 This is what I originally tried doing (every version of Pidgin attempts to
 do this, but people don't realize because it's so broken), but it turns
 out to be near impossible. GTK+ doesn't like to let you programatically
 resize things after the user has manually sized it.

 These new 2.4.0 changes started as trying to fix it, realizing how hard it
 was, asking "hey, does anyone care if manual-resizing just goes away
 altogether, getting a general consensus, and working on it together until
 we had it behaving as we thought was best"

 > '''Description:'''
 > Because nobody complained it was too big before.

 I think you mean "I didn't complain it was too big before." Unless you
 follow devel at pidgin.im (the mailing list and the XMPP conference), our IRC
 channel, all the Trac tickets, and personal IMs and E-mails to developers,
 you can't really speak for nobody. And I know that you don't, because they
 did complain. I'm *still* complaining it's too big.

 > '''* by default, when the text in the input area imposes a scroll bar,
 grow automatically; after sending the message, the input area should
 restore its size to the default'''
 >
 > Because, if someone found the energy to implement this, probably he
 likes this behaviour.

 And as I mentioned above, this **has** been the behavior for some time.

 > '''* add a small icon with a lock and an up-down arrow - will show if
 input's size is locked ; this should be a tri-state: resize (setting
 stored globally)/lock this dialog (will not be stored)/lock all dialogs
 (stored and globally true)'''
 >
 > Because some people will disable automatic resizing for a conversation
 or even globally.

 Nobody ever asked to before, (and that's an **actual** nobody), so I doubt
 we need this complication.

 Thanks for your comment; it's more constructive than most :)

 The main problem is getting GTK+ to play nice with auto-resising and user-
 resizing. If anyone wants to submit a patch that gets it all right, I
 would gladly accept it.

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


More information about the Tracker mailing list