Open ghost opened 9 years ago
XPS Display
External Monitor (see near it for comparizon: there's a normal explorer window).
I still have this issue with last version (even reinstall didn't worked). There's no auto DPI scaling.
@auchri this is still not working for me (even with the last update)
@ssorokin I confirm. No response from @telegramdesktop or @auchri or even from @john-preston ... this is a bug and need fix. Maybe there's something more "urgent" right now 😟 .
I had configured the repo for working on the code and may spot the bug but i have to admit that i haven't had much time to work on it 🚶
@PaoloFalomo @telegramdesktop can't respond, because it is an organization account now 😌
This is not something that can be changed any easy way: all the styles are configured when the app is launched according to the current interface scale level chosen in Settings (which is chosen by the current dpi), so at this time there is no way to change the interface scale factor in runtime.
@john-preston Oh! Ok 😸 for the telegramdesktop user, thx for the info eheh.
Btw i had a similar problem about this developing other win apps.
I think it should all be DPI-AWARE. So it may needs to rewrite a tons of lines of code ? 😮
@PaoloFalomo Yes, Qt sets DPI awareness as per-monitor by default. I guess currently I need to set it to system DPI aware.
Is there any update on fixing this issue? It has made Telegram desktop rather unusable for me. Which is a shame as it's otherwise fantastic.
Also, can we get 175% scaling or adjustable font size? Right now there are only 150% and 200%.
My primary monitor is 100% scaling and my laptop is 250%. Need to be able to scale based on monitor it's currently on. I like to use my laptop for chat and my monitor for work but I can't right now.
Love nearly every aspect of Telegram. But this is actually very annoying. Though running with the web-version in a browser solves it temporary. But then the notifications and stuff is not as good. +1 on this!
Qt does support setting DPI awareness to "System Aware" instead of "Per Monitor Aware" by setting DPI bit in platform configuration. I guess another Qt patch for Telegram Desktop would be okay to address issues with multiple displays and DPIs since adapting Per Monitor Aware (even Per Monitor Aware v2 introduced in Windows 10 Version 1703) is hard.
Ok but for example i use 3 monitors each one with very different dpis and i need to move chat on other monitor.
Telegram is the best free chat platform as slack for me... I love the new call feature just tested last week with my father 😍
But...
Even whatsapp currently works on multi-monitor so telegram need this to be fixed. I am a developer and i'd investigate my own to debug this but i've no time at moment :(
@imbushuo that link doesnt mention anything about linux, do you know about the state of things in linux?
Is there any updates on this issue? I have bought laptop with HiDPI screen to save my eyes. And guess what? Telegram at maximum scale is almost unusable for me now :(
@semka i can confirm. This is still an issue since 2015 😢
@matti I don't know the platform-specific configuration of Qt on Linux. Sorry.
So at least Telegram modified DPI awareness on Windows to "System Aware" to enable Windows scale it on display with different DPI (in my case, an alternative display at 100%) in the latest update.
+1. Fonts and scrollbar are really tiny with scaling 200 on a 4k display (at 13"). A scaling factor 300 (or 250) would probably solve this. With Microsofts Creator Update 4k displays will get more and more common this year I guess.
When I disconnect my external display, all the images and icons get blurry. I need to restart the app to solve temporarily the problem.
3 days more and it will be one year since my last comment here
@PaoloFalomo and what?
@stek29 It will be my buggyversary.
since i had posted here i have moved to mac os with no problems of dpi scaling between monitors
How can this not be fixed since so many years? This days all top laptops are 3k, 4k. But we still have our old FHD monitors (why switch them, rigth?). So why is it so hard to fix this one?
@stgolem Because this is just hard in current implementation :( All the layout and graphics are set up for current scale factor on the app launch and can't be changed in realtime right now.
Is this also an issue on Ubuntu? Can we create alternative Electron app from web client to solve this issue?
@stgolem This is an issue for Telegram Desktop on all platforms. Yes, you can create an alternative app for that.
@john-preston How hard would adding 250-350% manual scaling in the settings be? That would make it usable on very high dpi displays when the main display is FHD.
I need 400% scaling on MacOS. 250% was not enough for me. I finally have a Retina MacBook Pro but now I can't use my favorite app due to some irrational disablement of a key feature. I'm very sad.
Can we at least get more fixed scale factors available? I'm struggling with it right now, because 150 is too small, and 200 is too large for me on 27 4k. At least give us 175% and >200% for those laptop users.
Here @imbushuo showed a screenshot with Telegram running as a "System aware" application on Windows 10. I have Telegram version 1.2.6 and Windows 10 1709, but Telegram is reported by Process Explorer as a "Per-Monitor Aware" application. Because of this and the fact that Telegram is not actually per-monitor aware, in a multi-monitor setup using a HiDPI device (Surface Pro 3) and a Full HD 24'' external monitor, the Telegram window content is either too small or too big when the window is moved from one monitor to the other.
Using the executable properties to set its scaling management to "System" allows to show the application with proper size in both screens, but by doing so, the app is blurred on the HiDPI screen. Moreover, when the PC is not attached to the external screen, the application is blurred anyway.
A viable solution would be to make Telegram a "System aware" application again, so that the application would be seen correctly on the "main/only screen" (as selected from Windows settings), and scaled by the OS on the other screens (with the associated blurriness). I think this should be relatively easy to do by changing the qt.conf file as explained on the official Qt documentation, in the Windows section.
I am using the Telegram Desktop Client on Linux and I can scale it via Settings --> Interface Scale
Telegram-desktop is too small on 13" 4K screen. It correctly detects it's a hidpi screen and sets scaling factor to 200%, but I'd prefer 250% or 300%.
I've managed to make it larger by setting up the QT_SCALE_FACTOR
environmental variable to 3
, but then when I select any chat, app will freeze and become unusable.
I'm using latest telegram-desktop on Fedora 27 linux.
It's been over 2,5 years since this problem was first brought up. Is there any sign of the devs working on a scaling option over 200 % ?
Save my eyes!
This is how it works at Everdo for Windows PC (seems it based on Qt):
Please fix this! I'm using Dell XPS 13 (9370) with 4k display. The display seems to small without 300% scale option
I love the Telegram so much but I struggle for every day I connect my laptop to different displays with different DPI. Could we at least apply a patch which will restart Telegram when it was moved to another display ? Is it possible ? For now I restart it manually each time I disconnect laptop from dock station. Very annoying... Thank you guys!
Would be nice if telegram could recognize multi dpi evironments. Every other QT5 App does that out of the box with QT_AUTO_SCREEN_SCALE_FACTOR=1 environment variabel - so telegram is somehow activly disabling that.
EDIT: the code is here https://github.com/telegramdesktop/tdesktop/blob/c7a4d67cfb63af74f6da6ca35aea9ad08cf65588/Telegram/SourceFiles/core/launcher.cpp#L41
The font on Dell 4k 13xps is just too small. Please make an option to scale up to 300% or more.
I have this issue on win10 switching between 4k and convential dpi monitor. I have to manually adjust the "interface scale" every time since auto has no effect.
Please update the Software to allow higher scale 300% or more. I have a new HP Spectre 360 with 15" 4 K Display and can barley read telegram messages with my best glasses on. Very difficult to use.
Same here. Interface is too small even on cheap Lenovo 720S with 4k screen. There are lots of Windows laptops with 4k screens now.
Same with my Macbook Pro, save my eyes!
I'd like to confirm it's still the issue for me. My configuration is
the Windows client 1.3.14 on Windows 10, a WQHD 14'' internal screen with the 175% system scaling factor and the 150% scaling factor set in Telegram, an FHD 24'' external screen with the 100% scaling factor. The client is rendered usable on the internal screen (though I'd appreciate a bit larger fonts with the same size interface elements so the font size setting would be handy here too) but when I move its window to the external screen, it's shown too large.
That's the annoying issue especially given most of the other applications which are being actively developed do not suffer from it. Hopefully, we'll get a fix for it.
P.S. Otherwise, the Telegram client is great. )
JFYI, I've managed to add 250% and 300% scales support to Telegram client, anyone interested could check it in my hdpi branch. Emoji and icon set images are just upscaled 200% ones, but it's still a way better than tiny letters at 200% on my Dell XPS 13.
@3cky I looked at your code and it seems good. It will be very nice if you make a pool-request! Those who want to build from the source code will clearly not be so much, but if the contributing will be accepted, then all of us would thank you.
And apparently, the developers don't care about this issue a lot. (3 years passed by)
@lucidyan I'm not quite sure that developers are interested in code since it's rather trivial. Here @john-preston wrote that 250%+ scaling support adding problem is in graphics. Upscaled 200% graphics looks very decent to me, but it seem the Telegram team don't like it, so here we are.
@3cky maybe it's because 250% may make images blurry. Maybe it would be better to scale 100%, 200%, 300% and 400% only to force pixel on images be drawn as squares with side 1, 2, 3 and 4 pixels.
@3cky could you please also build it for me? or even create a telegram group when you will send new releases with hdpi support =) that would be awesome
I`d like to share what worked for me! (EDIT: actually I get some blur on high dpi screen, while the interface autoscale correctly)
I followed the advise from this article and then restarted telegram (edit: its settings "interface scale" is disabled)
how-improve-app-dpi-scaling-enabling-system-enhanced-feature-windows-10
Would it be possible to allow the app to automatically change the DPI scaling at runtime depending on which screen it is in?
This is an issue in multi-screen environments with different DPI scaling per screen.
Is this some limitation of Qt?