<div dir="ltr"><div>Hi,</div><div><br></div><div>While working on native linux glass code I observed that requestFocus() is called before show().</div><div></div><div>If the window is not shown (mapped on Xorg), It can't be focused.</div><div><br></div><div>The code is on WindowStage.setScene() line 276.</div><div><br></div><div>It might be the case when switching the scene, but should the window be focused in that case?</div><div><br></div><div>If the user is "focused" on another window and the program decides to switch the scene the window would pop and steal the focus.</div><div><br></div><div>Cheers.<br></div></div>