[haiku-bugs] Re: [Haiku] #5472: [LaunchBox] "Set description" window appears offscreen

  • From: "GeneralMaximus" <trac@xxxxxxxxxxxx>
  • Date: Thu, 14 Apr 2011 15:10:08 -0000

#5472: [LaunchBox] "Set description" window appears offscreen
--------------------------------------+----------------------------
   Reporter:  diver                   |      Owner:  stippi
       Type:  bug                     |     Status:  new
   Priority:  normal                  |  Milestone:  R1
  Component:  Applications/LaunchBox  |    Version:  R1/Development
 Resolution:                          |   Keywords:  gsoc2011
 Blocked By:                          |   Blocking:
Has a Patch:  1                       |   Platform:  All
--------------------------------------+----------------------------

Comment (by GeneralMaximus):

 Turns out the window was not really off the screen.
 make_sure_frame_is_on_screen just needed to take window borders into
 account when calculating the left and top edges of the window. Adding an
 offset of 5.0 fixes the issue.

 Is there a way to get the border width programmatically instead of
 hardcoding the value?

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

Other related posts: