#3112: Screenshot won't take screenshot of active window with FFM -------------------------------------+-------------------------------------- Reporter: nutela | Owner: julun Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/Screenshot | Version: R1/pre-alpha1 Keywords: | Blockedby: Platform: x86 | Blocking: -------------------------------------+-------------------------------------- Changes (by Wim): * cc: WPJvanderMeer@… (added) Comment: I started to look at this, but I am not sure what the proper behavior should be. Even if FFM is on, when you click on a window title, just like you would without FFM to make a window active, then the screen shot is taken of that window. I suppose that in Haiku there is a difference between a window that has focus and a window that is active. When FFM is off, the window that has focus is also the active window. With FFM on, the window under the mouse has focus (that window could be partly obscured by other windows), and the active window is defined as the topmost window that is visible. The topmost window is taken as the first visible, not minimized window from the list of windows returned by the get_window_order() function. The DeskBar is always visible, so if no other window is activated a screenshot of the deskbar is taken. Looking at it this way the current behavior seems to be logical, albeit somewhat counterintuitive. I would be willing to modify the current behavior, but that would mean that the window that has focus needs to be brought to the front, i.e. made active, before a screenshot can be taken. So, what is the proper Haiku way? Setting the delay time to a non-zero value when selecting "Take active window" is a trivial change. What value do you propose? -- Ticket URL: <http://dev.haiku-os.org/ticket/3112#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.