[haiku-bugs] Re: [Haiku] #16980: DiskUsage window may open off-screen after switching to a lower resolution display (easy) (was: DiskUsage does not start on Haiku 32bit nightly hrev.55114)

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 11 Jun 2021 06:44:28 -0000

#16980: DiskUsage window may open off-screen after switching to a lower 
resolution
display (easy)
-------------------------------------+-------------------------
  Reporter:  bruno                   |      Owner:  nobody
      Type:  bug                     |     Status:  reopened
  Priority:  normal                  |  Milestone:  Unscheduled
 Component:  Applications/DiskUsage  |    Version:  R1/beta2
Resolution:                          |   Keywords:
Blocked By:                          |   Blocking:
  Platform:  x86                     |
-------------------------------------+-------------------------
Changes (by pulkomandy):

 * status:  closed => reopened
 * resolution:  invalid =>
 * summary:  DiskUsage does not start on Haiku 32bit nightly hrev.55114 =>
     DiskUsage window may open off-screen after switching to a lower
     resolution display (easy)


Old description:

DiskUsage does not start on Haiku 32bit nightly hrev.55114

New description:

 DiskUsage save its window position. If you use a large display and move it
 towards the bottom or right, and then switch to a smaller display, the
 window may end up opening off-screen and invisible on the next time it is
 run.

 This can be fixed by adding a call to BWindow::MoveOnScreen after showing
 the window.

--
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16980#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #16980: DiskUsage window may open off-screen after switching to a lower resolution display (easy) (was: DiskUsage does not start on Haiku 32bit nightly hrev.55114) - Haiku