Skip to content
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

Titlebar of maximized window behaves weird on Windows 10 Version 1803 #4649

Closed
levrik opened this issue May 2, 2018 · 28 comments
Closed

Titlebar of maximized window behaves weird on Windows 10 Version 1803 #4649

levrik opened this issue May 2, 2018 · 28 comments
Labels

Comments

@levrik
Copy link

levrik commented May 2, 2018

Steps to reproduce

  1. Open Telegram on Windows 10 Version 1803
  2. Unmaximize window if isn't already
  3. Maximize window

Actual behaviour

image
(see the control buttons at the right; yes, the close button is almost completely out of scope. it's not cut off the screenshot)

Also it looks like the Window is hiding behind the task bar. Normally that one looks more dark.
image

Initial start as maximized window looks completely normal. As soon as I unmaximize and maximize the window again the issue occurs. It can only be fixed by restarting Telegram.

As mentioned below by @lightlessfilms you can work around this issue by running Telegram in Windows 8 compatibility mode.

Configuration

Operating system: Windows 10 Version 1803
Version of Telegram Desktop: 1.2.17

Additional information

It seems like there's some issue with custom title bars in the new Windows version. Spotify, Discord and Slack are having similar issues. Notable here is that unlike Telegram these apps can "fix itself". If the window got into this state you can just unmaximize and maximize again. If you repeat that again after fixing it's broken again.

image
image
image

@levrik levrik changed the title Maximized window looking broken on Windows 10 Version 1803 Maximized window behaves weird on Windows 10 Version 1803 May 2, 2018
@levrik levrik changed the title Maximized window behaves weird on Windows 10 Version 1803 Titlebar of maximized window behaves weird on Windows 10 Version 1803 May 2, 2018
@daedalus01
Copy link

Might be related to #4428

@pomazanbohdan
Copy link

pomazanbohdan commented May 3, 2018

+1

@stek29
Copy link
Contributor

stek29 commented May 3, 2018

It seems like there's some issue with custom title bars in the new Windows version. Spotify and Discord are having similar issues.

Is "version" 1803 considered stable by MS?

@levrik
Copy link
Author

levrik commented May 3, 2018

@stek29 I think so. Got it via Windows Update yesterday. I'm not signed up to the Insider program.

Why the " around version? Just curious. I didn't choose the naming 🙂

@stek29
Copy link
Contributor

stek29 commented May 3, 2018

@levrik
Indeed, looks like it went to stable at April 30, according to https://www.howtogeek.com/340688/whats-coming-in-windows-10s-redstone-4-update-available-march-2018/

Why the " around version?

Because I don't know much about Windows, and just quoted your words :)

Windows is weird shrug

I was asking because you mentioned that other apps have issues too -- maybe it's a bug on MS side and should be fixed by them.

@levrik
Copy link
Author

levrik commented May 3, 2018

@stek29 It could be a bug on MS side, for sure. Just wanted to let you know and to be able to track this issue on Telegram side. Maybe Microsoft changed something that needs changes on Telegram's side. I have no idea 🙂
If it's something on MS side this issue should be kept open until they fixed it in my opinion.

@lightlessfilms
Copy link

lightlessfilms commented May 3, 2018

Edit: if you change the compatibility settings to Windows 8, that fixes the issue for me:
2018-05-03 18_11_03-window

The maximized window also overlaps to the second monitor
2018-05-03 17_40_03-

@levrik
Copy link
Author

levrik commented May 3, 2018

@lightlessfilms Thank you for the workaround. That's working perfect!

@wwevo
Copy link

wwevo commented May 25, 2018

What's the downside of the compatibility mode then?

@Poolitzer
Copy link

@wwevo does there always have to be one?

@wwevo
Copy link

wwevo commented May 28, 2018

Nah, there usually is one though, only my experience. so far I haven't encountered any ^^ Workaround seems to work around the issue just fine

@Timmyfox
Copy link

Timmyfox commented Jun 3, 2018

Can we expect any more permanent fix that doesn't require workarounds?

@ChildishGiant
Copy link

Workaround is working great. This also works for discord, whatsapp and loads of other apps with custom title bars.

@Timmyfox
Copy link

Timmyfox commented Jun 3, 2018

I'm sure it is but it's still a workaround that needs to be done by every single end user; Surely there's a better solution that prevents the bug from happening at all and won't cause trouble for less tech savvy people too?

@john-preston
Copy link
Member

@Timmyfox I would like to know that solution. I don't know yet how to fix that in code.

@lightlessfilms
Copy link

@john-preston , @Timmyfox
I could be wrong here, but I think that this is an issue that needs to be fixed by Microsoft.
As mentioned by @ChildishGiant this also affects Discord, Whatsapp with custom title bars.
So I believe the DWM (Desktop Window Manager) is at fault here. I could be totally wrong here

@ChildishGiant
Copy link

ChildishGiant commented Jun 3, 2018

It's on Window's end but I imagine there's a fix on the dev's end https://www.reddit.com/r/Windows10/comments/8iict8/certain_apps_like_discord_dont_maximize_properly

@john-preston
Copy link
Member

Even Chrome for someone:

https://news.softpedia.com/news/the-maximized-window-bug-is-the-most-annoying-thing-in-windows-10-version-1803-521320.shtml

If anyone has a in-code (C++ / anything?) workaround, I'll be happy to look into it.

@Aokromes
Copy link
Collaborator

Aokromes commented Jun 6, 2018

Microsoft already fixed this on RS5, maybe on next days it will be fixed on RS4 (1803)

@levrik
Copy link
Author

levrik commented Jun 13, 2018

Today's cumulative Windows update didn't fix this issue. I had hopes...

@mmatrosov
Copy link

Telegram 1.3.10. Bug is still there.

@weekendjoy
Copy link

why is this simple problem not fixed yet?

@john-preston
Copy link
Member

@weekendjoy Because it is a Windows bug and there is no known workaround.

@wwevo
Copy link

wwevo commented Jul 14, 2018

Use the compatibility mode for now. Fixes all those pesky visual bugs and has no downside so far. At least not for me.

@levrik
Copy link
Author

levrik commented Jul 25, 2018

I just got the Windows update KB4340917 (OS Build 17134.191) and although the official changelog doesn't mention it this issue is gone now. Also for the other mentioned apps in my initial post.
I think this can be closed then? @stek29 @john-preston

@TopperDEL
Copy link

I've just received the mentioned update and can indeed confirm that this solves the issue!

@ChildishGiant
Copy link

ChildishGiant commented Jul 25, 2018

Can also confirm that KB4340917 fixes this. The issue can be closed then 😄

@levrik levrik closed this as completed Oct 10, 2018
@github-actions
Copy link

github-actions bot commented Mar 7, 2021

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 github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests