#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 --------------------------------------+---------------------------- Changes (by yourpalal): * keywords: => gsoc2011 Comment: First of all, thanks for looking in to this! I don't think centering the NamePanel every single time it appears is the best way to solve this problem. For one thing, there are mechanisms in place in Launchbox that save the frame of the NamePanel, so that its location and size persist, even between boots. With this patch, you lost that functionality, but the code that actually carries out those actions (saving/loading the frame and so on) is still active. One of the factors contributing to the undesired behaviour here is the make_sure_frame_is_on_screen() function (in support.cpp), which, if the frame is off to the left top (as fNamePanelFrame is, when it isn't loaded from the settings file) places the frame in the top left corner. Preferably, when fNamePanelFrame is invalid, the NamePanel would be placed near the LaunchBox window, instead of the top left corner. -- Ticket URL: <http://dev.haiku-os.org/ticket/5472#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.