[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] [Haiku] #16576: BWindow::Activate(false) should not sent to back
From:       "Haiku" <trac () haiku-os ! org>
Date:       2020-10-19 19:04:25
Message-ID: 051.e92179db7bf42967f98118ddbdeff8e4 () haiku-os ! org
[Download RAW message or body]

--===============5189894391684973470==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

#16576: BWindow::Activate(false) should not sent to back
--------------------------------+--------------------------
 Reporter:  smallstepforman     |       Owner:  nobody
     Type:  bug                 |      Status:  new
 Priority:  normal              |   Milestone:  Unscheduled
Component:  Kits/Interface Kit  |     Version:  R1/beta2
 Keywords:  BWindow Activate    |  Blocked By:
 Blocking:                      |    Platform:  All
--------------------------------+--------------------------
 Calling BWindow::Activate(false) will send the window to the back, which
 is undesired for the following reasons:

 Consider the scenario where one application has 2 windows open, arranged
 side by side.  Behind the 2nd window is another unrelated application.
 The developer calls BWindow::Activate(false) because they do not want the
 2nd window to have focus when first opened.  The developer expects  it
 should still maintain its window heirarchy and visiblity.  If they wanted
 the application to move to back, they would have called the
 SendBehind(BWindow *) function instead.  Unfortunately, calling
 BWindow::Activate(false) will send the window behind the unrelated
 application window.

 To observe this issue, you will need to have an unrelated application
 window sharing the same screen space as the window being made inactive.

 In some use case scenarios, the user may be unaware that a BWindow was
 spawned since it may be behind a bigger window for an unrelated
 application.  This problem would not exist if BWindow::Activate(false)
 didn't send to back.  It should only remove focus.
-- =

Ticket URL: <https://dev.haiku-os.org/ticket/16576>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.
--===============5189894391684973470==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic