tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Window slowly moves upwards everytime it's opened from the tray

Open limdingwen opened this issue 10 years ago • 15 comments

Steps to reproduce

  1. Close Telegram to the tray
  2. 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

limdingwen avatar Oct 30 '16 09:10 limdingwen

I'm using 0.10.19 in the plasma desktop (with kwin) and this bug does not occur.

AndydeCleyre avatar Nov 22 '16 21:11 AndydeCleyre

Is this fixed? In 1.0.29 maximize minimize bug #2883 which is referenced here still happening.

tavrez avatar Apr 06 '17 11:04 tavrez

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.

rusins avatar May 12 '17 14:05 rusins

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.)

ghost avatar Jun 01 '18 18:06 ghost

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

Dabuka avatar Sep 12 '18 23:09 Dabuka

Still happening in Telegram 1.7.0 (flathub) Gnome 3.32.1 on Manjaro Linux

a5trocat avatar May 15 '19 16:05 a5trocat

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

ilya-fedin avatar Jul 13 '20 18:07 ilya-fedin

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.

mikkovedru avatar Oct 14 '20 22:10 mikkovedru

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 avatar Oct 14 '20 23:10 ilya-fedin

@ilya-fedin I enabled the option but I still can't reproduce the bug anymore.

mikkovedru avatar Oct 15 '20 21:10 mikkovedru

I can still reproduce the issue.

Telegram 2.4.3, system window frame option enabled, Gnome 3.38.1, Arch Linux.

rusins avatar Oct 16 '20 13:10 rusins

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!

stale[bot] avatar Apr 14 '21 20:04 stale[bot]

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

rusins avatar Apr 14 '21 20:04 rusins

@Aokromes can you close the issue to indicate that people should move to the linked GNOME bug?

ilya-fedin avatar Apr 15 '21 06:04 ilya-fedin

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.

github-actions[bot] avatar May 30 '21 07:05 github-actions[bot]