protonscr

Steam notifications steal window focus

steamclosed High priorityreviewed
ValveSoftware/steam-for-linux#89 · opened 2012-12-20 by biltongza · updated 2013-07-27 · 9 comments · github
Bbiltongza 2012-12-20 github

I can't figure out a way to reproduce this, but it seems sometimes Steam notifications steal the focus form the active window and instead send it to an open Steam window, usually a chat window or something. I noticed it last night when I started TF2 and for some reason the in game overlay did not start (minor issue, it worked after starting TF2 again) but every time someone on my friends list came online or started playing a game, or even if a group made an announcement TF2 would minimize and I would be typing into a chat window.

Processor Information:
    Vendor:  GenuineIntel
    Speed: 3701 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    "Arch Linux" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.7.1-2-ck
    X Server vendor:  The X.Org Foundation
    X Server release:  11301000

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 460/PCIe/SSE2

    Driver Version:  4.3.0 NVIDIA 310.19
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0xe22
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 20.04" x 11.26"  (22.95" diag)
                                            50.9cm x 28.6cm  (58.3cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 1023 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC889

Memory:
    RAM:  9965 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_ZA.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  187272 Mb
    Largest Free Hard Disk Block:  126623 Mb

Installed software:

Recent Failure Reports:
    Thu Dec 20 08:52:46 2012 GMT: file ''/tmp/dumps/assert_20121220105239_1.dmp'', upload yes: ''CrashID=bp-b82133c9-fff9-45b4-abc0-9bb182121220''
    Thu Dec 20 09:00:03 2012 GMT: file ''/tmp/dumps/assert_20121220105955_1.dmp'', upload yes: ''CrashID=bp-ee164799-e51e-41c1-8e6e-3c4622121220''

Mmewt666 2012-12-20 github

The same behaviour will occur when using steam in the background and a notification pops up. Focus will be stolen from your current application for the duration of the notification and returned once the notification disappears.

NNevon 2012-12-20 github

It's not only the notifications that steal focus. The main Steam window also does this. For example, if you switch to another application while Steam is logging you in, the main Steam window will steal focus from whatever you're doing as soon as you have been logged in.

Bbarsanuphe 2012-12-20 github

Maybe a related issue: login and exit dialogs are on top of every other window (using KDE). This is annoying when Steam takes a long time syncing data, as these dialogs stay in the middle of the screen and cannot be moved or hidden.

TTheSofox 2012-12-20 github

On Ubuntu 12.04, 32bit, with Nvidia & ATI cards:

I sometimes play FTL (as a standalone download from developer's website, not from Steam) in a window with Steam also running in another window in the background. Every time a Steam notification pops up, I suddenly can't control anything in FTL, nothing responds, and only after a bit of struggling do I get control back (I think as mewt666 said, you regain control whent he notification disappears). I lost at least one spaceship this way, so I just quit Steam and never have it running while I'm playing FTL.

Also, I sometimes have multiple chat programs open. One time I was holding a Skype and Steam chat simultaneously and while I was typing into the Skype window, my Steam conversation partner posted something and suddenly everything I was typing into the keyboard went into the Steam conversation window instead of the Skype conversation window.

MM3t0r 2012-12-20 github

let's just say steam handels windows very poorly. tooltips, notifications, menus and real windows all steal the focus, resize and repaint them self and all that stuff window managers were invented for. somebody didn't read freedesktop.org...

Sscottlu 2012-12-20 github

We're aware of the focus stealing problem and are working on it.

Sscottlu 2012-12-23 github

Focus stealing by notification popups is fixed and this fix will be in the next update (after New Years).

Focus stealing on startup is not yet fixed. This is still on our list.

LLiamDawe 2013-01-05 github

Just to add this in while it's running in KDE (Kubuntu 12.10) lets say i close Steam but it's really minimized since minimize and close on Steam do exactly the same?! I then browse firefox and open a menu, bam my cursor changes to the same weird backwards pointer I get over the Steam window.

DDawda 2013-07-27 github

I still have this glitch... Annoying when ingame in a non-steam game

Nothing extracted yet.