eclipse-platform / eclipse.platform.swt

Eclipse SWT
https://www.eclipse.org/swt/
Eclipse Public License 2.0
118 stars 139 forks source link

Dialog focus management #1626

Open eyryve opened 3 days ago

eyryve commented 3 days ago

Hello,

When a dialog from eclipse appears, the screen switch to eclipse while i am writing in other application (A) on an other screen. This make losing my work on (A). There's no reason for eclipse to acquire the focus to display a dialog box or no other reason. This is the role of the window manager.

regards.

basilevs commented 3 days ago

IMO, Eclipse has nothing to do with it. It is indeed a job of window manager and they define if a new window should receive a focus. Most modern desktop environment decided not to move focus without explicit user request.

Please add name and version of your desktop environment and actual steps to reproduce the problem (current description lacks the type, timing and source of a dialog).

eyryve commented 3 days ago

Hello.

Only SWT (as eclipse) application work like this. All other app do not have this problem.

For information, i use KDE5 (plasma/X11) on debian12. The focus follow the mouse.

The step to reproduce. It's simple.

On 11/27/24 22:21, Vasili Gulevich wrote:

IMO, Eclipse has nothing to do with it. It is indeed a job of window manager and they define if a new window should receive a focus. Most modern desktop environment decided not to move focus without explicit user request.

Please add name and version of your desktop environment and actual steps to reproduce the problem (current description lacks the type, timing and source of a dialog).

— Reply to this email directly, view it on GitHub https://github.com/eclipse-platform/eclipse.platform.swt/issues/1626#issuecomment-2504787005, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZX6BZ55WZJV3KXBGZULN3D2CYZVRAVCNFSM6AAAAABSSYYWPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBUG44DOMBQGU. You are receiving this because you authored the thread.Message ID: @.***>