Tdesktop: Notification makes window instantly active

Created on 15 May 2020  路  4Comments  路  Source: telegramdesktop/tdesktop

Steps to reproduce

  1. Install Telegram on Fedora 32 as a Flatpak
  2. Receive a notification

Expected behaviour

Receive a notification without Telegram becoming the active window straight away.

Actual behaviour

A notification popup happens, then Telegram becomes the active window after every notification.

Configuration

Operating system: Fedora 32, Gnome 3.36.2, X11

Version of Telegram Desktop:
2.1.6

Installation source (Linux Only) - the official website / GitHub releases / flatpak / snap / distribution package: Flatpak

Used theme:
Night mode

Logs:
Insert log.txt here (if necessary)

Most helpful comment

It looks like there's a new setting for notifications: "Bring attention to the window", and this was on by default. Previously, I don't remember this being a feature. If this is the default, it really shouldn't be.

All 4 comments

It looks like there's a new setting for notifications: "Bring attention to the window", and this was on by default. Previously, I don't remember this being a feature. If this is the default, it really shouldn't be.

This is not a problem of Telegram. Either this is a Flatpak or Gnome issue. In either case what should happen (and what is happening for me on KDE X11) is that your application task bar should highlight Telegram - not activate it.

In my case the Telegram icon becomes orange highlighted and starts jumping for a few seconds:
Screenshot_20200515_111415

I can activate it manually then by pressing Ctrl+Alt+A on KDE, but it does not get activated on its own.

This is not a problem of Telegram. Either this is a Flatpak or Gnome issue. In either case what should happen (and what is happening for me on KDE X11) is that your application task bar should highlight Telegram - not activate it.

In my case the Telegram icon becomes orange highlighted and starts jumping for a few seconds:
Screenshot_20200515_111415

I can activate it manually then by pressing Ctrl+Alt+A on KDE, but it does not get activated on its own.

As I mentioned above, I was able to resolve the issue by turning off the Telegram setting "Draw attention to the window" which was turned on by default. (Why is this on by default if the behaviour is inconsistent between platforms?)

Why is this on by default if the behaviour is inconsistent between platforms?

Because it was always by default, but just wasn't implemented on Linux
See #7887

Was this page helpful?
0 / 5 - 0 ratings

Related issues

abhyrz picture abhyrz  路  3Comments

hosseinab picture hosseinab  路  3Comments

LeonTheOriginal picture LeonTheOriginal  路  3Comments

qwitriy picture qwitriy  路  3Comments

Yanrishatum picture Yanrishatum  路  3Comments