Window slowly moves upwards everytime it's opened from the tray
Steps to reproduce
- Close Telegram to the tray
- Click on the tray icon to open the main window
Expected behaviour
The window should reopen at the same position it was closed at when the tray icon is clicked.
Actual behaviour
The window reopens slightly higher than the position it was closed at when the tray icon is clicked.
Configuration
Operating system: Linux Mint Cinnamon 18 (64-bit), Intel i5, 1440x900
Version of Telegram Desktop: 0.10.7
I'm using 0.10.19 in the plasma desktop (with kwin) and this bug does not occur.
Is this fixed? In 1.0.29 maximize minimize bug #2883 which is referenced here still happening.
Still happening in Telegram version 1.0.29. It seems like the amount it moves upwards is the exact hight of the window title/border/close-min-max button border. Most likely a bug in either saving the previous location, or when passing the window's desired position when drawing the window to the screen.
Happens to me when opening telegram anyhow, not only from the tray. Tested on Gnome 3.24.2 on Arch Linux, 12th of May.
Hey there!
We're automatically closing this issue since there was no activity in this issue since 385 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.
Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
(Please note that this is an automated comment.)
I use devilspie2 package as a workaround (ubuntu 18.04).
sudo apt install devilspie2 devilspie2 #to create config folder gedit ~/.config/devilspie2/telegram.lua
if (get_window_name():sub(1, #"Telegram") == "Telegram") then
set_window_position(360, 180);
end
gnome-session-properties #add to startup
Still happening in Telegram 1.7.0 (flathub) Gnome 3.32.1 on Manjaro Linux
A Gnome/Cinnamon bug: https://bugreports.qt.io/browse/QTBUG-71671 https://bugreports.qt.io/browse/QTBUG-75312 https://gitlab.gnome.org/GNOME/mutter/-/issues/400 https://github.com/linuxmint/cinnamon/issues/8546
This bug ( https://github.com/linuxmint/cinnamon/issues/8546 ) seems to be fixed in Linux Mint Cinnamon 20.
@ilya-fedin, @a5trocat, @Dabuka, @tavrez, @rusins, @stek29, please confirm my observation.
Telegram got custom decorations some time ago, this issue won't reproduce with them, since the bug is that mutter counts margins wrong with server-side decorations. You should enable "Use system window frame" option in order to reproduce the issue.
@ilya-fedin I enabled the option but I still can't reproduce the bug anymore.
I can still reproduce the issue.
Telegram 2.4.3, system window frame option enabled, Gnome 3.38.1, Arch Linux.
Hey there!
This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.
Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
Not the most important bug, but definitely still present. Commenting to stop the bot from closing the issue.
Telegram 2.7.1, Gnome 40.0.0, X11
@Aokromes can you close the issue to indicate that people should move to the linked GNOME bug?
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.