-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows 10] window size and position bug #1189
Comments
I cant confirm first, everything works fine. |
Just tested again. Rebooted system 10 times and got 1 problem with window position restoring. Maybe it’s only windows 10 related problem, never happened on 8.1 |
I have the same problem with the current release, but I'm on Windows 7. I noticed the same bug on Windows 10 and it's really annoying. |
This might be the same thing as #1693 Basically the issue is that Telegram doesn't remember the position when you use Aero snap (snap to side of screen) and then minimize/close to systray. If you minimize to task bar, it works, but once you turn off the task bar icon, it uses the last size and position before using the snap feature. |
I confirm this, it needs few maximize+restore to notice. |
After build 1803 (April update) this bug is more frequent and also when window is maximized on the second monitor, the topbar is cut in half |
As far as I understand, this issue was about resizing a window and that it changes its position after being restored. What you talking is a common bug with applications on Windows 10 (with April update and for a long time on Insider) that have custom title bars: when maximized, sometimes such windows can be wrongly maximized (means, the title bar is slightly cropped; also when you have a taskbar on left/right side, bottom also can be cropped). I'm not sure there's something to do with Telegram Desktop. I can reproduce the same thing with Discord, VK Messenger. @JohnKiller, your comment is probably irrelevant to this issue The bug about Telegram window losing its position or size after restore isn't reproducible for me. |
Скорей всего проблема появляется у тех, кто использует больше одного монитора. Изменение параметров совместимости ни к чему не приводит. Записал видео как ведет окно Telegram https://youtu.be/4cCg0uQQecQ |
I must have something like that. Oh, I didn't look at the date. Maybe I should create a new ticket? |
Please do :) Also, what version of Windows 8.1 do you use? |
no need of create new tickets for already opened issues even they are ancient. |
6.3.9600 Build 9600
Sure. But it seems to me, the closed ticket #7222 is more relevant to my case. |
@Vilmodao Thank you for the quick reply. Can you install the latest version of Telegram Desktop portable version? 1.9.14 is out |
The size of the window will shrink automatically, each time it is closed and then opened again, until it shrinks to a certain extent. |
Same here. I was just about to create a post about this issue when I realized it has tons of duplicates, but the #7222 is more relevant to me as well
I'm also running 1.9.19 beta, and it has been happening since a few updates ago on Windows 10. And it's quite annoying. It happens specially when you drag to resize until it snaps to bottom or top of the screen, otherwise it still remembers window size but only if you don't completely close the application |
the 1.9.21 also have the problem,it's quite annoying.so sad. |
The window shrinking bug is still here on version 2.1. |
2.1.6 not fixed |
Can confirm I have the same issue where the Telegram window is significantly smaller each time the app is launched (on a machine with two monitors, one 1920x1080 and one 1920x1200). There are no issues when minimizing/maximizing the window without closing the program. Telegram: 2.1.10 |
Yep. My Telegram window height gets smaller after each Telegram restart. Telegram version 2.1.13. Windows 10 version 1909. Laptop screen resolution 1600x900. |
Same here. |
2.2.0 not fixed hhh |
2.3.1 not fixed |
windows update to 2004,it fixed. |
I'm on a fresh Windows install, recently updated to 2004 and the bug persists. |
Apparently the problem can occur when you run the program minimized by default - setting it to launch normally fixed it for me. Still, would be nice to have that option without the window size bugging out. For a long time, I used to think the resize was an intentional change on Telegram's part. |
It broke again, either after Tg or Windows update. I don't use multiple monitors or virtual desktops. Edit: now it doesn't resize once again, I'm confused. |
@last-things , I noticed that the Telegram window currently can't physically be shrunk vertically past a certain point. So, for me, it gets smaller and smaller vertically until it hits that point, and then obviously no longer happens because it's reached that point. It's still not fixed for people who want the window to be larger than that, though. |
"Use system window frame" seems to fixed this. |
Thanks, that does seem to be a workaround. |
the "use system window frame" workaround doesn't totally fix this for me only when using vertical right panel (aka dock) as is default on ubuntu. |
That's great, but it makes no sense to close this issue based on that. The people experiencing this bug aren't inherently on multiple monitors, and the bug isn't some general issue with Windows programs -- this issue only affects Telegram. I can still demonstrate the bug for you right now. |
i am unable to reproduce on latest windows insider with a single monitor. |
I'm working on reproducing it on another machine for you to help determine the specific conditions. It still does it on my laptop, but not on a desktop. Both are using the 32-bit version of Telegram Desktop, version 2.7.4. I'm not on a Windows Insider branch, so I can't speak to that. My laptop screen is set at 1600x900 resolution, with Windows scale set to 100%, and I've tried Telegram scale set to 100% or 125%, but it doesn't matter, it still does it. The desktop monitor is set at 1920x1080 resolution, but I've also tried 1600x900, I've tried the Windows scale at both 100% and 125% at both 1920 and 1600 resolutions, and I've tried Telegram scale set to 100% or 125%, but it doesn't matter, I can't reproduce it there. I had a hunch that it had something to do with differences in system menu font size or scrollbar size, but I compared various settings for those across both machines, controlled for it, and still couldn't reproduce on the desktop, only on the laptop. |
i tried on the system where i reproduced it on 2016, i cannot now, so, microsoft fixed it. |
What is your insider build version number? I'm willing to test it on my laptop, or at least wait until it is released to a wider channel. 21H1 is also going to be released soon. The issue could just be contingent on some system setting that has changed on your system since then, rather than something that was fixed by Microsoft. |
10.0.21376.1, that's not 21h1 instead minimum 21h2 https://betawiki.net/wiki/Windows_10_build_21376.1 |
Before taking that step, I tested it on a clean install of 20H2 on the same laptop and couldn't reproduce. This got me thinking what it could be on my particular Windows install that was causing it. I decided to clean house, uninstalling an assortment of old programs and libraries that were still present but that I hadn't used in a while, including Java, MATLAB, Qt, gstreamer-sdk, even an old copy of YouCam webcam software, etc., then rebooted the laptop, and the problem disappeared! |
Sigh... it's doing it again. Back to square one. |
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. |
After each maximize and restore telegram window size is reduced.
App randomly starts at desktop center (first monitor) instead of last saved position.
The text was updated successfully, but these errors were encountered: