[haiku-bugs] Re: [Haiku] #8431: Screen preflet crashes when opening

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Fri, 30 Mar 2012 17:34:32 -0000

#8431: Screen preflet crashes when opening
----------------------------------+----------------------------
   Reporter:  DaaT                |      Owner:  anevilyak
       Type:  bug                 |     Status:  assigned
   Priority:  normal              |  Milestone:  R1
  Component:  Preferences/Screen  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------
Changes (by anevilyak):

 * status:  new => assigned
 * owner:  axeld => anevilyak
 * version:  R1/alpha3 => R1/Development


Comment:

 There are two problems occurring here:

 1) In the case of a fixed refresh rate, the way in which the resolution
 string is formatted is inconsistent with the way it's generated when
 searching for it in _UpdateRefreshControl(). This results in us
 potentially failing to find that item if the refresh rate is not an even
 integral one, and leads to:

 2) The handling of the "Other" refresh rate item needs to be reworked. In
 the above fixed refresh case, this item is not constructed at all, and the
 member pointer for it is left uninitialized.

 Will deal with this over the weekend unless someone wants to beat me to
 it.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8431#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: