When I have an ongoing chat in a window in the background, and my chat partner sends a message there, the window "demands attention" - its entry in the taskbar blinks. I always use the standard Ctrl+Alt+A keyboard shortcut of KWin to bring attention-demanding chat windows to front. But in Text Ui, there is a delay between the windows starting to demand attention and the keyboard shortcut working – it seems like five seconds, but it's hard to tell, so I will just repeatedly press Ctrl+Alt+A until the window appears. This is frustrating, and other applications don't behave this way. If it's not a bug, it's certainly a very strange and counterintuitive feature. Reproducible: Always Steps to Reproduce: 1. Get someone to send you an IM message 2. Immediately when the window's taskbar entry starts blinking, press Ctrl+Alt+A 3. Nothing happens. After five seconds, goto step 2, and the window will appear as expected. I'm using the Kubuntu packages, and they don't seem to have any newer than 0.6.1, so I have not tested on 0.6.2.
Works fine here. Basically instant. Can anyone else confirm that it does or does not work for them?
Got a friend to test, and he could reproduce it on 0.6.2.
Confirmed, though turns out... a bug in plasma. What is happening is that the notification demands attention at the same time as the window. KWin selects the notification widget in plasma when you press the shortcut which doesn't do anything. (I tend to run colibri, hence didn't see this) output of : for id in `xwininfo -root -tree | grep -E "0x[0-9a-e]{7}" -o ` ; do xwininfo -id $id -wm; done | grep Attention -B 20 xwininfo: Window id: 0x280033d "plasma-desktop" Window manager hints: Client accepts input or input focus: Yes Initial state is Normal State Displayed on all desktops Window type: Dock Kde Net Wm Window Type Override Normal Window state: Demands Attention -- Window manager hints: Process id: (unknown) xwininfo: Window id: 0x24461a7 (has no name) No window manager hints defined Window manager hints: Process id: (unknown) xwininfo: Window id: 0x6c00012 "Martin Gräßlin" Window manager hints: Client accepts input or input focus: Yes Initial state is Normal State Displayed on desktop 0 Window type: Normal Window state: Demands Attention Thanks to Martin Gräßlin for suggesting that as a possibility. Fix will need to be in Plasma, as that's where the bug is. We could bodge it by delaying the notification by a few ms, but that doesn't really fix the problem. I'll try and fix this plasma side.
This review has been submitted with commit 82742975bba60311272c0bb4909635d948bb8291 by Martin Gräßlin to branch master. Fixed in Plasma 4.11