[haiku-bugs] Re: [Haiku] #12809: Implement a Haiku notification Center

  • From: "perelandra" <trac@xxxxxxxxxxxx>
  • Date: Fri, 27 Jan 2017 16:01:32 -0000

#12809: Implement a Haiku notification Center
----------------------------+--------------------
   Reporter:  richienyhus   |      Owner:  nobody
       Type:  enhancement   |     Status:  new
   Priority:  normal        |  Milestone:  R2
  Component:  Applications  |    Version:
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+--------------------

Comment (by perelandra):

 I checked the cpu usage last night and I also see some but only when the
 notification center window is shown and has notifications in it.  If it is
 empty or hidden there is no cpu usage.  I did some debugging and it
 doesn't look like to app server is in a messaging loop with that window, I
 added a printf first thing inside the NotificationWindow MessageReceived
 and got the expected number of calls to it, no runaway repeated messages.
 Unfortunately when I try to debug the app_server my system totally
 freezes.  The fortunate thing is the CPU usage does not increase with more
 notifications or groups, it seems to be a steady usage as soon as one is
 added but stays the same after more are added.

 I'll look into it further when I return to modifying this server after I
 get more feedback.  On my Core2 it is only using about 1/2 a core and only
 when the center is displayed so it should cause any system to be totally
 hosed by testing it.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12809#comment:34>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: