[haiku-bugs] Re: [Haiku] #6029: Holding CTRL+ALT should move more than just windows

#6029: Holding CTRL+ALT should move more than just windows
---------------------------------------------------------+------------------
 Reporter:  RedNifre                                     |       Owner:  nobody 
  
     Type:  enhancement                                  |      Status:  
assigned 
 Priority:  normal                                       |   Milestone:  R1     
  
Component:  User Interface                               |     Version:  
R1/alpha2
 Keywords:  CTRL ALT move window replicant view deskbar  |    Platform:  All    
  
Blockedby:                                               |       Patch:  0      
  
 Blocking:                                               |  
---------------------------------------------------------+------------------

Comment(by Ziusudra):

 What the ... OK, on 36917 now.

 Deskbar works normally when not holding any modifiers. If I hold Ctrl+Alt
 I can not move it around, but can send it back or bring it forward.

 I can move other windows with Ctrl+Alt and your current if condition is
 the same used in Window.cpp to move windows.

 I tried it the way seen in ExpandoMenuBar:
 {{{
                 int32 mods = modifiers();
                 if ((mods & B_COMMAND_KEY) != 0
                         && (mods & B_OPTION_KEY) == 0
                         && (mods & B_SHIFT_KEY) == 0
                         && (mods & B_CONTROL_KEY) != 0) {
 }}}
 with the same result.

 Is the BWindow MouseDown() catching the event and preventing this from
 working? Thus BarWindow needs to implement MouseDown() to override?

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

Other related posts: