Guake / guake

Drop-down terminal for GNOME
https://guake.github.io
GNU General Public License v2.0
4.44k stars 576 forks source link

Lose focus when IDEA windows is opening #1607

Open nlpsuge opened 5 years ago

nlpsuge commented 5 years ago

the version of Guake that I'm using 3.6.3

Describe the bug Guake will lose focus when IDEA windows is opening.

If lose focus, I'm probably typing some letters into the editor of IDEA or just cancel the opening dialog because of pressing Enter/Space.

Expected behavior The opening procedure of IDEA or other apps should not lead the Guake to lose focus.

Actual behavior Guake will lose focus when IDEA windows is opening.

To Reproduce


Please run $ guake --support, and paste the results here. Don't put backticks (`) around it! The output already contains Markdown formatting. And make sure you run the command OUTSIDE the Guake.

$ guake --support Guake Version: 3.6.3 Vte Version: 0.56.3 Vte Runtime Version: 0.56.3 -------------------------------------------------- GTK+ Version: 3.24.8 GDK Backend: GdkX11.X11Display -------------------------------------------------- Desktop Session: gnome -------------------------------------------------- Display: :1 RGBA visual: True Composited: True * Monitor: 0 - eDP-1-1 * Geometry: 1920 x 1080 at 0, 0 * Size: 344 x 194 mm² * Primary: True * Refresh rate: 120.02 Hz * Subpixel layout: unknown
mlouielu commented 5 years ago

I can only reproduce this when I'm:

  1. Focus on guake
  2. Start IDEA
  3. Typing inside guake
  4. IDEA bump out day-tips dialog

Then at step 4, guake lost the focus, the focus is then on day-tips dialog. Is this your situation?

nlpsuge commented 5 years ago

In my case, it seems that opening IDEA windows lead Guake to lose focus. Because I always just type into editable area of IDEA.

Maybe you can try to open multiple windows then exist IDEA. Open IDEA again, IDEA will reopen all the previous opening windows.

nlpsuge commented 5 years ago

Hi, I confirm that this loading window can also lead Guake to lose focus.

image

mlouielu commented 5 years ago

After some goolge-fu with "steal window focus linux", it seems more relative to this problem.

mati865 commented 5 years ago

For me it's even more apparent with Postman, it will steal focus multiple time during launch.

I don't this it's Guake bug but rather window manager or the app.

jzakrzewski commented 3 years ago

There is a long-standing issue for all IntelliJ-based IDEs. They all tend to steal focus on startup.

Davidy22 commented 2 years ago

Does the lazy lose focus option introduced by #1892 resolve this for you?