[Pidgin] #16720: GConf used to register URL handlers

Pidgin trac at pidgin.im
Wed Jul 15 18:09:47 EDT 2015


#16720: GConf used to register URL handlers
---------------------+--------------------------
 Reporter:  mmcco    |      Owner:
     Type:  defect   |     Status:  new
Milestone:  3.0.0    |  Component:  pidgin (gtk)
  Version:  3.0.0hg  |   Keywords:
---------------------+--------------------------
 I was just exploring [[mmcco#Pidginsprocesses|which processes Pidgin
 spawns]] by running Pidgin 3.0 in gdb with the following setup:

 {{{
 (gdb) handle SIGPIPE nostop noprint
 (gdb) catch fork
 (gdb) catch exec
 (gdb) run
 }}}

 The first spawned child process is from
 [https://hg.pidgin.im/soc/2015/mmcc/main/file/077a1f2a14a3/pidgin/gtkutils.c#l3416
 here]. Then there are twenty from
 [https://hg.pidgin.im/soc/2015/mmcc/main/file/077a1f2a14a3/pidgin/gtkutils.c#l3442
 here]. All happen during startup before the main window appears.

 All are registering URL handlers with [https://en.wikipedia.org/wiki/GConf
 GConf], which is deprecated in GNOME 3 and (based on what people in
 devel at cpi are telling me) may not be used at all. They're also suggesting
 that other desktop environments may still depend on GConf, so removing it
 may break URL opening for them. Either way, there's probably a better way
 of doing this, and fixing it could reduce startup time significantly.

 Anecdotally, this might explain why Pidgin takes almost as long as Firefox
 to start on OpenBSD...

--
Ticket URL: <https://developer.pidgin.im/ticket/16720>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list