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

Default enabled Precise High DPI scaling #28478

Closed
fireandfuel opened this issue Oct 1, 2024 · 3 comments
Closed

Default enabled Precise High DPI scaling #28478

fireandfuel opened this issue Oct 1, 2024 · 3 comments

Comments

@fireandfuel
Copy link

Is your feature request related to a problem?

Telegram Desktop fails to dynamically detect the screen scaling setting of the current screen where its being displayed on MS Windows 11 x64. It only seems to detect the screen scaling setting of the primary screen when switching on the default interface scaling in its settings.

I would guess that Telegram Desktop explicitly overrides the dynamically detection for enabling its own scaling setting.

Describe the solution you'd like

Telegram Desktop dynamically detect the screen scaling setting of the current screen where it being displayed, like any other MS Windows app and re-scales the window content dynamically agnostic to the screen scaling setting without restarting the app.

Telegram Desktop's interface scaling maybe be applied on top of the scaling setting of the current screen.

Describe alternatives you've considered

  • Setting a fixed interface scaling to 150% works when I have it on my primary screen only. I need to restart Telegram Desktop every time I change the interface scaling.
  • Setting a fixed interface scaling to 125% is better on my secondary screen, but a bit small for my primary screen. I need to restart Telegram Desktop every time I change the interface scaling.
  • Enable default interface scaling and it seems to detect the scaling setting of the primary screen which is too big for my secondary screen

Additional context

A multi monitor setup might look like this:
3840x2160 @ 150% scaling (primary screen)
1920x1080 @ 100% scaling (secondary screen)

Usually Telegram Desktop runs on the secondary screen.

@john-preston
Copy link
Member

Unfortunately, that's a very hard problem to fix with a permittable quality :( You can try "Enable precise High DPI scaling" in Settings > Advanced > Experimental, that way it should scale exactly to the screen you're using it on, but it comes with a lot of graphical glitches / artifacts and I'm not sure how to deal with them nicely with current UI approach.

@fireandfuel
Copy link
Author

The "precise High DPI scaling" seems to work a lot better for me, I didn't noticed any glitches yet after enabling it. I keep testing it.

@fireandfuel fireandfuel changed the title Dynamic screen scaling setting agnostic default interface scaling Default Enabled High DPI scaling Oct 1, 2024
@fireandfuel fireandfuel changed the title Default Enabled High DPI scaling Default enabled Precise High DPI scaling Oct 1, 2024
@ilya-fedin
Copy link
Contributor

I don't understand how you could not see obvious artifacts

The issue is also effectively a dup of #1121

@Aokromes Aokromes closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants