Window gets very large after switching monitors
Steps to reproduce
I use a notebook with 3840x2400 native display resolution. It uses 200% scale, so the programs can probably see it as 1920x1200. But I mostly use my external monitor with a classic 1920x1080 resolution. Unfortunately, notebook often switches back to its native display after a sleep, so I need to switch it back to the external monitor every day right after I turn it on. When I do this, the window of Telegram Desktop gets resized to a larger size, much larger than reasonable.
I performed the same test on both displays: I am on one display. I set Telegram window to the half of the screen width and the half of the screen height (i.e. W/2 x H/2 = covering 1/4 of the screen area). Then I switch to the other display and watch how big is the Telegram window.
Additional notes
The external monitor has slightly different resolution 1920x1080, but they are very similar and that's why the human-friendly and logical behavior is to keep the window's size relatively same on each display. Also, it makes sense to expect it to keep the relative size to its own contents.
Expected behaviour
Unsurprisingly, I would expect the window size to be preserved. Especially after I do a whole round-trip, the window size should be back to its original size. This "the same" size can be either relative to the monitor size, or relative to the Telegram window's contents. In neither case it makes sense to zoom the window 2-times.
Actual behaviour
I performed the same test on both displays.
Scenario 1 I start on the native display. Window size is W/2 x H/2 = covering 1/4 of the screen area. When I switch to the external monitor, the size of the window is changed to W/2 x H. It means it becomes 2-times taller, while the width is preserved.
Scenario 2 I start on the external display. Window size is W/2 x H/2 = covering 1/4 of the screen area. When I switch to the internal display, the size of the window is changed to the whole desktop, i.e. W x H. It means it becomes 2-times wider and 2-times taller than it was.
Operating system
Windows 11
Version of Telegram Desktop
7.1.3
Installation source
Downloaded from desktop.telegram.org or GitHub
Crash ID
No response
Logs
[2026.09.01 10:58:59] Launched version: 7001003, install beta: [FALSE], alpha: 0, debug mode: [FALSE]
[2026.09.01 10:58:59] Executable dir: C:/Users/akepr/AppData/Roaming/Telegram Desktop/, name: Telegram.exe
[2026.09.01 10:58:59] Initial working dir: C:/Users/akepr/AppData/Roaming/Telegram Desktop/
[2026.09.01 10:58:59] Working dir: C:/Users/akepr/AppData/Roaming/Telegram Desktop/
[2026.09.01 10:58:59] Command line: C:\Users\akepr\AppData\Roaming\Telegram Desktop\Telegram.exe -noupdate
[2026.09.01 10:58:59] Executable path before check: C:/Users/akepr/AppData/Roaming/Telegram Desktop/Telegram.exe
[2026.09.01 10:58:59] Logs started
[2026.09.01 10:58:59] WinRT Supported: [TRUE]
[2026.09.01 10:58:59] App Info: Shortcut validated at "C:/Users/akepr/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Telegram Desktop/Telegram.lnk"
[2026.09.01 10:58:59] AppUserModelID: Telegram.TelegramDesktop
[2026.09.01 10:58:59] Using DirectX compiler 'C:\Users\akepr\AppData\Roaming\Telegram Desktop\modules\x64\d3d\d3dcompiler_47.dll'.
[2026.09.01 10:58:59] Connecting local socket to Global\869b51b645faa7dd64c8570938a9f983-{87A94AB0-E370-4cde-98D3-ACC110C5967D}...
[2026.09.01 10:58:59] This is the only instance of Telegram, starting server and app...
[2026.09.01 10:58:59] Moved logging from 'C:/Users/akepr/AppData/Roaming/Telegram Desktop/log_start4.txt' to 'C:/Users/akepr/AppData/Roaming/Telegram Desktop/log.txt'!
[2026.09.01 10:58:59] Old start log 'log_start0.txt' found, deleted: [TRUE]
[2026.09.01 10:58:59] Old start log 'log_start1.txt' found, deleted: [TRUE]
[2026.09.01 10:58:59] Old start log 'log_start2.txt' found, deleted: [TRUE]
[2026.09.01 10:58:59] Old start log 'log_start3.txt' found, deleted: [TRUE]
[2026.09.01 10:58:59] Opened 'C:/Users/akepr/AppData/Roaming/Telegram Desktop/tdata/working' for reading, the previous Telegram Desktop launch was not finished properly :( Crash log size: 0
[2026.09.01 10:58:59] Global devicePixelRatio: 1
[2026.09.01 10:58:59] QT_DPI_ADJUSTMENT_POLICY: AdjustDpi
[2026.09.01 10:58:59] Primary screen DPI: 96, Base: 96.
[2026.09.01 10:58:59] Computed screen scale: 100
[2026.09.01 10:58:59] DevicePixelRatio: 1
[2026.09.01 10:58:59] ScreenScale: 100
[2026.09.01 10:58:59] Media Info: Type Playback, default: {0.0.0.00000000}.{a7b72e26-3dd7-45f7-842a-efd5e91dcee4}, list: { "Headphones (Jabra Evolve 75)" <{0.0.0.00000000}.{23cd2de6-14e2-4ecf-b128-b86021088238}>, "T34w-30 (HD Audio Driver for Display Audio)" <{0.0.0.00000000}.{45139124-bd2c-4d19-ba23-72bf9a6b2b71}>, "Headset (2- ThinkPad Thunderbolt 3 Dock USB Audio)" <{0.0.0.00000000}.{4c8313a8-5707-43a9-badd-94de1dccf690}>, "Headphones (Jabra Evolve 75)" <{0.0.0.00000000}.{547fd5f9-888c-41d6-8901-c0c352e29115}>, "E2722 (HD Audio Driver for Display Audio)" <{0.0.0.00000000}.{5757ec77-4efa-4498-9c5f-5f663259137c}>, "Headset Earphone (Poly Voyager Focus 2 Series)" <{0.0.0.00000000}.{589f76a2-2198-4b3c-81f7-0f324f802cc7}>, "Speakers (2- Realtek(R) Audio)" <{0.0.0.00000000}.{63f9e86f-192c-4976-8971-ebfa4973ef75}>, "Internal AUX Jack (Intel® Smart Sound Technology for Digital Microphones)" <{0.0.0.00000000}.{70c992c4-fc44-4b9c-b58c-6bc17567a239}>, "Realtek HD Audio 2nd output (2- Realtek(R) Audio)" <{0.0.0.00000000}.{98daab64-f65e-48f2-9d79-224d9f942347}>, "Speakers (2- Realtek(R) Audio)" <{0.0.0.00000000}.{a543fb2f-1b76-4ac5-84ef-d37f036b4d5c}>, "Headset Earphone (Poly BT700)" <{0.0.0.00000000}.{a7b72e26-3dd7-45f7-842a-efd5e91dcee4}>, "Headset (ThinkPad Thunderbolt 3 Dock USB Audio)" <{0.0.0.00000000}.{cbbeaa35-2489-4b1e-9fbc-9085a2c28e06}>, "Realtek HD Audio 2nd output (2- Realtek(R) Audio)" <{0.0.0.00000000}.{e3900a32-f95a-447a-8f0b-a397d88761bb}> }, full list refresh: false
[2026.09.01 10:58:59] Media Info: Type Capture, default: {0.0.1.00000000}.{de3413ca-9e28-4236-b895-dc7d05fddf65}, list: { "Microphone (2- Realtek(R) Audio)" <{0.0.1.00000000}.{07f832dc-fb5b-4669-8d87-c3413c191702}>, "Headset (Jabra Evolve 75)" <{0.0.1.00000000}.{0ae8b5e2-6bc4-4b83-946c-430fea36dc04}>, "Headset Microphone (Poly Voyager Focus 2 Series)" <{0.0.1.00000000}.{1074b30d-d061-4d01-9798-86d437b79a69}>, "Microphone (2- ThinkPad Thunderbolt 3 Dock USB Audio)" <{0.0.1.00000000}.{4230e8e9-28ce-4487-8b1e-e89a5fa95d32}>, "Microphone Array (Intel® Smart Sound Technology for Digital Microphones)" <{0.0.1.00000000}.{85718a36-0165-479f-ab3e-fa41da2a531a}>, "Stereo Mix (2- Realtek(R) Audio)" <{0.0.1.00000000}.{8cfdcc8f-a74f-49c5-bf9e-f82efce4c8f0}>, "Stereo Mix (2- Realtek(R) Audio)" <{0.0.1.00000000}.{b3910d7a-aafa-4b02-8c13-dbef574f6d84}>, "Microphone (ThinkPad Thunderbolt 3 Dock USB Audio)" <{0.0.1.00000000}.{bb651834-9f15-4896-bab9-99dc7f1c867b}>, "Headset Microphone (Poly BT700)" <{0.0.1.00000000}.{de3413ca-9e28-4236-b895-dc7d05fddf65}>, "Microphone (2- Realtek(R) Audio)" <{0.0.1.00000000}.{fe3c9df4-b830-48d9-ab95-46400f3aecc0}> }, full list refresh: false
[2026.09.01 10:58:59] Media Info: Type Camera, default: \\?\\\usb#vid_5986&pid_1199&mi_00#6&1a9bc30c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global, list: { "Integrated Camera" <\\?\\\usb#vid_5986&pid_1199&mi_00#6&1a9bc30c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global> }, full list refresh: true
[2026.09.01 10:58:59] App Info: reading settings...
[2026.09.01 10:58:59] App Info: reading encrypted settings...
[2026.09.01 10:59:00] Lang Info: Loaded cached, keys: 10993
[2026.09.01 10:59:00] Font: from ':/gui/fonts/OpenSans-Italic.ttf' loaded 'Open Sans'
[2026.09.01 10:59:00] Font: from ':/gui/fonts/OpenSans-Regular.ttf' loaded 'Open Sans'
[2026.09.01 10:59:00] Font: from ':/gui/fonts/OpenSans-SemiBold.ttf' loaded 'Open Sans Semibold'
[2026.09.01 10:59:00] Font: from ':/gui/fonts/OpenSans-SemiBoldItalic.ttf' loaded 'Open Sans Semibold'
[2026.09.01 10:59:00] Font: from ':/gui/fonts/Vazirmatn-UI-NL-Regular.ttf' loaded 'Vazirmatn UI NL'
[2026.09.01 10:59:00] Font: from ':/gui/fonts/Vazirmatn-UI-NL-SemiBold.ttf' loaded 'Vazirmatn UI NL SemiBold'
[2026.09.01 10:59:00] OpenAL Logging Level: (not set)
[2026.09.01 10:59:00] Screen Reader: inactive
[2026.09.01 10:59:00] App Info: reading accounts info...
[2026.09.01 10:59:00] App Info: reading encrypted info...
[2026.09.01 10:59:00] App Info: reading map...
[2026.09.01 10:59:00] App Info: reading encrypted map...
[2026.09.01 10:59:01] App Info: reading encrypted user settings...
[2026.09.01 10:59:01] App Info: encrypted user settings read.
[2026.09.01 10:59:01] App Info: reading encrypted mtp data...
[2026.09.01 10:59:01] MTP Info: read keys, current: 5, to destroy: 0
[2026.09.01 10:59:01] Map read time: 111
[2026.09.01 10:59:01] App Info: reading encrypted mtp config...
[2026.09.01 10:59:01] Export Info: Destroy top bar by controller removal.
[2026.09.01 10:59:01] OpenGL: Using custom 'gpu_driver_bug_list.json'.
[2026.09.01 10:59:01] OpenGL Profile: OpenGLES.
[2026.09.01 10:59:01] OpenGL Renderer: ANGLE (Intel, Intel(R) Arc(TM) Pro Graphics Direct3D11 vs_5_0 ps_5_0, D3D11-32.0.101.8517)
[2026.09.01 10:59:01] OpenGL Vendor: Google Inc. (Intel)
[2026.09.01 10:59:01] OpenGL Version: OpenGL ES 3.0.0 (ANGLE 2.1.12 git hash: d4c3606e4738)
[2026.09.01 10:59:01] OpenGL Extensions: GL_OES_EGL_image, GL_ANGLE_memory_size, GL_NV_framebuffer_blit, GL_CHROMIUM_lose_context, GL_NV_shader_noperspective_interpolation, GL_OES_compressed_ETC2_sRGB8_alpha8_texture, GL_EXT_clip_control, GL_EXT_draw_buffers, GL_EXT_texture_compression_s3tc_srgb, GL_OES_compressed_EAC_R11_signed_texture, GL_ANGLE_depth_texture, GL_CHROMIUM_bind_uniform_location, GL_EXT_debug_marker, GL_APPLE_clip_distance, GL_OES_draw_elements_base_vertex, GL_OES_fbo_render_mipmap, GL_OES_texture_float_linear, GL_ANGLE_renderability_validation, GL_ANGLE_texture_multisample, GL_OES_compressed_ETC2_sRGB8_texture, GL_ANGLE_texture_usage, GL_EXT_color_buffer_float, GL_ANGLE_translated_shader_source, GL_EXT_EGL_image_external_wrap_modes, GL_OES_vertex_array_object, GL_OES_depth32, GL_ANGLE_copy_texture_3d, GL_CHROMIUM_copy_texture, GL_OES_packed_depth_stencil, GL_ANGLE_texture_compression_dxt5, GL_NV_fence, GL_ANGLE_shader_pixel_local_storage, GL_EXT_instanced_arrays, GL_EXT_texture_rg, GL_OES_mapbuffer, GL_EXT_texture_filter_anisotropic, GL_CHROMIUM_copy_compressed_texture, GL_ANGLE_instanced_arrays, GL_ANGLE_clip_cull_distance, GL_OES_texture_npot, GL_EXT_blend_minmax, GL_OES_texture_half_float_linear, GL_EXT_base_instance, GL_OES_compressed_ETC2_RGBA8_texture, GL_ANGLE_request_extension, GL_EXT_sRGB, GL_OES_EGL_image_external, GL_OES_rgb8_rgba8, GL_NV_pixel_buffer_object, GL_ANGLE_polygon_mode, GL_EXT_depth_clamp, GL_ANGLE_base_vertex_base_instance, GL_ANGLE_client_arrays, GL_EXT_polygon_offset_clamp, GL_KHR_parallel_shader_compile, GL_OES_sample_variables, GL_OES_texture_stencil8, GL_EXT_color_buffer_half_float, GL_OES_compressed_EAC_RG11_signed_texture, GL_ANGLE_base_vertex_base_instance_shader_builtin, GL_EXT_occlusion_query_boolean, GL_CHROMIUM_bind_generates_resource, GL_ANGLE_get_serialized_context_string, GL_EXT_blend_func_extended, GL_EXT_texture_compression_bptc, GL_OES_get_program_binary, GL_OES_texture_border_clamp, GL_EXT_disjoint_timer_query, GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture, GL_EXT_unpack_subimage, GL_OES_shader_multisample_interpolation, GL_ANGLE_framebuffer_blit, GL_OES_EGL_image_external_essl3, GL_EXT_multi_draw_indirect, GL_OES_surfaceless_context, GL_OES_element_index_uint, GL_EXT_clip_cull_distance, GL_EXT_texture_mirror_clamp_to_edge, GL_EXT_texture_compression_dxt1, GL_OES_compressed_ETC2_RGB8_texture, GL_OVR_multiview, GL_ANGLE_program_cache_control, GL_EXT_robustness, GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture, GL_ANGLE_lossy_etc_decode, GL_ANGLE_robust_client_memory, GL_EXT_float_blend, , GL_OES_standard_derivatives, GL_OES_compressed_EAC_R11_unsigned_texture, GL_EXT_discard_framebuffer, GL_ANGLE_texture_compression_dxt3, GL_WEBGL_video_texture, GL_EXT_conservative_depth, GL_EXT_texture_border_clamp, GL_KHR_debug, GL_ANGLE_shader_pixel_local_storage_coherent, GL_OES_texture_half_float, GL_EXT_render_snorm, GL_ANGLE_framebuffer_multisample, GL_CHROMIUM_sync_query, GL_EXT_texture_storage, GL_ANGLE_provoking_vertex, GL_EXT_draw_buffers_indexed, GL_EXT_multisampled_render_to_texture, GL_EXT_texture_format_BGRA8888, GL_NV_EGL_stream_consumer_external, GL_EXT_read_format_bgra, GL_OES_draw_buffers_indexed, GL_AMD_performance_monitor, GL_EXT_draw_elements_base_vertex, GL_ANGLE_pack_reverse_row_order, GL_OES_depth24, GL_EXT_map_buffer_range, GL_EXT_debug_label, GL_ANGLE_multi_draw, GL_OVR_multiview2, GL_EXT_texture_norm16, GL_EXT_texture_type_2_10_10_10_REV, GL_NV_pack_subimage, GL_OES_texture_float, GL_EXT_shader_texture_lod, GL_ANGLE_get_tex_level_parameter, GL_OES_compressed_EAC_RG11_unsigned_texture, GL_ANGLE_multiview_multisample, GL_EXT_texture_compression_rgtc, GL_ANGLE_stencil_texturing, GL_EXT_frag_depth
[2026.09.01 10:59:01] EGL Extensions: EGL_EXT_create_context_robustness, EGL_ANGLE_d3d_share_handle_client_buffer, EGL_ANGLE_d3d_texture_client_buffer, EGL_ANGLE_surface_d3d_texture_2d_share_handle, EGL_ANGLE_query_surface_pointer, EGL_ANGLE_window_fixed_size, EGL_ANGLE_keyed_mutex, EGL_ANGLE_surface_orientation, EGL_ANGLE_direct_composition, EGL_ANGLE_windows_ui_composition, EGL_NV_post_sub_buffer, EGL_KHR_create_context, EGL_KHR_image, EGL_KHR_image_base, EGL_KHR_gl_texture_2D_image, EGL_KHR_gl_texture_cubemap_image, EGL_KHR_gl_renderbuffer_image, EGL_KHR_get_all_proc_addresses, EGL_KHR_stream, EGL_KHR_stream_consumer_gltexture, EGL_NV_stream_consumer_gltexture_yuv, EGL_ANGLE_stream_producer_d3d_texture, EGL_ANGLE_create_context_webgl_compatibility, EGL_CHROMIUM_create_context_bind_generates_resource, EGL_CHROMIUM_sync_control, EGL_EXT_pixel_format_float, EGL_KHR_surfaceless_context, EGL_ANGLE_display_texture_share_group, EGL_ANGLE_display_semaphore_share_group, EGL_ANGLE_create_context_client_arrays, EGL_ANGLE_program_cache_control, EGL_ANGLE_robust_resource_initialization, EGL_ANGLE_create_context_extensions_enabled, EGL_ANDROID_blob_cache, EGL_ANDROID_recordable, EGL_ANGLE_image_d3d11_texture, EGL_ANGLE_create_context_backwards_compatible, EGL_KHR_no_config_context, EGL_KHR_create_context_no_error, EGL_KHR_reusable_sync,
[2026.09.01 10:59:01] OpenGL: QOpenGLContext created, version: 3.3.
[2026.09.01 10:59:01] Renderer: [OpenGL] (Window)
[2026.09.01 10:59:04] API Error: received featured stickers hash 4772256322042657452 while counted hash is 2730164733900386729
[2026.09.01 11:04:24] Skipping message, because it is already in blocks!
[2026.09.02 10:23:02] Update Error: could not get current version 3
[2026.09.02 10:23:22] Update Error: could not get current version 3
[2026.09.02 10:23:42] Update Error: could not get current version 3
[2026.09.02 10:24:02] Update Error: could not get current version 3
[2026.09.02 10:24:10] Update Info: Starting loading 'C:/Users/akepr/AppData/Roaming/Telegram Desktop/tupdates/tx64upd7001004' from 0 offset.
[2026.09.02 10:24:10] Update Info: Loading using MTP from '4'.
[2026.09.02 12:52:52] MTP Info: -404 error received in 30004 with temporary key, assuming it was destroyed.
[2026.09.02 12:52:52] MTP Info: -404 error received in 4 with temporary key, assuming it was destroyed.
[2026.09.02 21:57:28] MTP Info: -404 error received in 30004 with temporary key, assuming it was destroyed.
[2026.09.03 12:41:53] MTP Info: -404 error received in 10001 with temporary key, assuming it was destroyed.
[2026.09.03 12:41:59] API Error: received featured stickers hash 4772256322042657452 while counted hash is 2730164733900386729
[2026.09.03 12:41:59] RPC Error: request 822 got fail with code 400, error FILE_REFERENCE_EXPIRED
[2026.09.03 13:00:43] RPC Error: request 889 got fail with code 400, error FILE_REFERENCE_EXPIRED
[2026.09.03 13:00:43] RPC Error: request 888 got fail with code 400, error FILE_REFERENCE_EXPIRED
[2026.09.03 13:50:06] API Error: received featured stickers hash 4772256322042657452 while counted hash is 2730164733900386729
[2026.09.04 09:48:41] MTP Info: -404 error received in 4 with temporary key, assuming it was destroyed.
[2026.09.04 09:48:41] MTP Info: -404 error received in 30004 with temporary key, assuming it was destroyed.
[2026.09.04 10:14:34] RPC Error: request 1057 got fail with code 400, error FILE_REFERENCE_EXPIRED
[2026.09.04 10:14:34] RPC Error: request 1055 got fail with code 400, error FILE_REFERENCE_EXPIRED
[2026.09.04 10:14:34] RPC Error: request 1058 got fail with code 400, error FILE_REFERENCE_EXPIRED
[2026.09.04 10:14:34] RPC Error: request 1056 got fail with code 400, error FILE_REFERENCE_EXPIRED
[2026.09.05 21:09:39] MTP Info: -404 error received in 170004 with temporary key, assuming it was destroyed.
[2026.09.05 21:09:39] MTP Info: -404 error received in 160004 with temporary key, assuming it was destroyed.
[2026.09.05 21:09:39] MTP Info: -404 error received in 4 with temporary key, assuming it was destroyed.
[2026.09.05 21:09:39] MTP Info: -404 error received in 30004 with temporary key, assuming it was destroyed.
[2026.09.05 21:42:18] RPC Error: request 1262 got fail with code 400, error PEER_ID_INVALIDSource: telegramdesktop/tdesktop