[haiku-bugs] Re: [Haiku] #8923: [Deskbar] Auto-raise does not work correctly when covered by a window

  • From: "x-ist" <trac@xxxxxxxxxxxx>
  • Date: Thu, 25 Oct 2012 06:25:51 -0000

#8923: [Deskbar] Auto-raise does not work correctly when covered by a window
------------------------------------+----------------------------
   Reporter:  x-ist                 |      Owner:  axeld
       Type:  bug                   |     Status:  new
   Priority:  normal                |  Milestone:  R1
  Component:  Applications/Deskbar  |    Version:  R1/Development
 Resolution:                        |   Keywords:  Auto-raise
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by x-ist):

 The issue was introduced by hrev44113.
 Enabling/disabling reception of mouse events is made dependent on the
 state of the transit parameter:
 {{{
 if (transit == B_ENTERED_VIEW && EventMask() == 0)
         SetEventMask(B_POINTER_EVENTS, B_NO_POINTER_HISTORY);
 }}}
 and
 {{{
 if (transit == B_EXITED_VIEW || transit == B_OUTSIDE_VIEW)
         SetEventMask(0);
 }}}
 That apparently excludes the case when the Deskbar is covered by other
 windows
 at the screen edge, effectively preventing auto-raise.
 @anevilyak: Do you see an alternative to that solution without
 reintroducing the bugs it solved?

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

Other related posts: