[Pidgin] #9267: Log window inconvenience - dialog

Pidgin trac at pidgin.im
Thu May 28 11:49:24 EDT 2009


#9267: Log window inconvenience - dialog
---------------------------+------------------------------------------------
 Reporter:  jankratochvil  |        Owner:              
     Type:  enhancement    |       Status:  pending     
Milestone:                 |    Component:  pidgin (gtk)
  Version:  2.5.6          |   Resolution:              
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by jankratochvil):

  * status:  pending => new


Comment:

 Regarding GDK_WINDOW_TYPE_HINT_NORMAL vs. GDK_WINDOW_TYPE_HINT_DIALOG
 window type hint:

 GDK_WINDOW_TYPE_HINT_DIALOG implies _NET_WM_WINDOW_TYPE_DIALOG. Spec
 http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html says:

   _NET_WM_WINDOW_TYPE_DIALOG indicates that this is a dialog window. If
 _NET_WM_WINDOW_TYPE is not set, then windows with WM_TRANSIENT_FOR set
 MUST be taken as this type.

 This IMO suggests that GDK_WINDOW_TYPE_HINT_DIALOG also means "transient-
 for" relationship (even despite the parent window has not been specified
 by Pidgin).

 Regarding whether to use gtk_dialog_new*() or gtk_window_new*() I do not
 find important, gtk_dialog_new_with_buttons() just provides some widgets-
 from-va_list build framework and use whatever is easier.

 Whether dialogs should / should not have minimize/maximize buttons is
 probably a bug of the metacity wm.  Still the transient-for relationship
 comes from the wm spec so one cannot say metacity is wrong for it.

 That the "View Log" window should not be transient-for the other Pidgin
 windows is I hope without a dispute.

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


More information about the Tracker mailing list