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

Can't properly maximise the app. #4755

Closed
ChildishGiant opened this issue May 29, 2018 · 3 comments
Closed

Can't properly maximise the app. #4755

ChildishGiant opened this issue May 29, 2018 · 3 comments

Comments

@ChildishGiant
Copy link

ChildishGiant commented May 29, 2018

Steps to reproduce

Try to maximise the app in any way. This includes key bindings, buttons and dragging the window to the top of the screen.

Expected behaviour

The app should take up the whole of that monitor.

Actual behaviour

The app misses out a space at the top and goes off the bottom. It also goes too far to the right. This happens both on my main monitor and secondary monitor. This doesn't affect snapping the app to half a screen.

Video

Configuration

Operating system: Windows 10 Version 1803 (OS Build 17134.48)

Version of Telegram Desktop:
1.2.17 (Current at time)

Used theme:
Dark

Logs: ``` 20180529 [11:42:20.390 00-0000096] Debug logs started. (messenger.cpp : 671) [11:42:22.106 01-0000097] MTP Info: dc 4 trying to send after ping, state: 2 (connection.cpp : 722) [11:42:22.108 01-0000099] MTP Info: sending request, size: 26, num: 1382067196, time: 1527590543 (connection.cpp : 3021) [11:42:22.885 00-0000101] Window Pos: Saving position: 5, 15, 1276, 867 (maximized [TRUE]) (main_window.cpp : 301) [11:42:22.885 00-0000102] Window Pos: Screen found, geometry: 0, 0, 1920, 1080 (main_window.cpp : 317) [11:42:22.885 00-0000103] Window Pos: Writing: 5, 15, 1276, 867 (maximized [TRUE]) (main_window.cpp : 330) [11:42:22.887 00-0000104] Window Pos: Writing to storage 5, 15, 1276, 867 (maximized [TRUE]) (localstorage.cpp : 2421) [11:42:22.899 00-0000105] Window Pos: Saving position: 5, 15, 1276, 867 (maximized [TRUE]) (main_window.cpp : 301) [11:42:22.899 00-0000106] Window Pos: Screen found, geometry: 0, 0, 1920, 1080 (main_window.cpp : 317) [11:42:23.886 00-0000107] Window Pos: Saving position: 5, 15, 1276, 867 (maximized [TRUE]) (main_window.cpp : 301) [11:42:23.886 00-0000108] Window Pos: Screen found, geometry: 0, 0, 1920, 1080 (main_window.cpp : 317) [11:42:24.297 00-0000109] Window Pos: Saving position: -1280, 52, 1296, 1040 (maximized [FALSE]) (main_window.cpp : 301) [11:42:24.297 00-0000110] Window Pos: Screen found, geometry: -1280, 52, 1280, 1024 (main_window.cpp : 317) [11:42:24.297 00-0000111] Window Pos: Writing: 0, 0, 1296, 1040 (maximized [FALSE]) (main_window.cpp : 330) [11:42:24.298 00-0000112] Window Pos: Writing to storage 0, 0, 1296, 1040 (maximized [FALSE]) (localstorage.cpp : 2421) [11:42:24.316 00-0000113] Window Pos: Saving position: -1280, 52, 1296, 1040 (maximized [FALSE]) (main_window.cpp : 301) [11:42:24.316 00-0000114] Window Pos: Screen found, geometry: -1280, 52, 1280, 1024 (main_window.cpp : 317) [11:42:24.330 00-0000115] Window Pos: Saving position: -1280, 52, 1296, 1040 (maximized [FALSE]) (main_window.cpp : 301) [11:42:24.330 00-0000116] Window Pos: Screen found, geometry: -1280, 52, 1280, 1024 (main_window.cpp : 317) [11:42:24.337 00-0000117] Window Pos: Saving position: -1288, 64, 1276, 867 (maximized [FALSE]) (main_window.cpp : 301) [11:42:24.337 00-0000118] Window Pos: Screen found, geometry: -1280, 52, 1280, 1024 (main_window.cpp : 317) [11:42:24.337 00-0000119] Window Pos: Writing: -8, 12, 1276, 867 (maximized [FALSE]) (main_window.cpp : 330) [11:42:24.338 00-0000120] Window Pos: Writing to storage -8, 12, 1276, 867 (maximized [FALSE]) (localstorage.cpp : 2421) [11:42:25.484 00-0000121] Window Pos: Saving position: -1294, 86, 1276, 867 (maximized [FALSE]) (main_window.cpp : 301) [11:42:25.484 00-0000122] Window Pos: Screen found, geometry: -1280, 52, 1280, 1024 (main_window.cpp : 317) [11:42:25.484 00-0000123] Window Pos: Writing: -14, 34, 1276, 867 (maximized [FALSE]) (main_window.cpp : 330) [11:42:25.484 00-0000124] Window Pos: Writing to storage -14, 34, 1276, 867 (maximized [FALSE]) (localstorage.cpp : 2421) [11:42:25.568 00-0000125] Window Pos: Saving position: -14, 34, 1276, 867 (maximized [TRUE]) (main_window.cpp : 301) [11:42:25.568 00-0000126] Window Pos: Screen found, geometry: 0, 0, 1920, 1080 (main_window.cpp : 317) [11:42:25.568 00-0000127] Window Pos: Writing: -14, 34, 1276, 867 (maximized [TRUE]) (main_window.cpp : 330) [11:42:25.569 00-0000128] Window Pos: Writing to storage -14, 34, 1276, 867 (maximized [TRUE]) (localstorage.cpp : 2421) [11:42:25.579 00-0000129] Window Pos: Saving position: -14, 34, 1276, 867 (maximized [TRUE]) (main_window.cpp : 301) [11:42:25.579 00-0000130] Window Pos: Screen found, geometry: 0, 0, 1920, 1080 (main_window.cpp : 317) [11:42:26.423 00-0000131] Window Pos: Saving position: -1280, 52, 1296, 1040 (maximized [FALSE]) (main_window.cpp : 301) [11:42:26.423 00-0000132] Window Pos: Screen found, geometry: -1280, 52, 1280, 1024 (main_window.cpp : 317) [11:42:26.423 00-0000133] Window Pos: Writing: 0, 0, 1296, 1040 (maximized [FALSE]) (main_window.cpp : 330) [11:42:26.423 00-0000134] Window Pos: Writing to storage 0, 0, 1296, 1040 (maximized [FALSE]) (localstorage.cpp : 2421) [11:42:26.442 00-0000135] Window Pos: Saving position: -1280, 52, 1296, 1040 (maximized [FALSE]) (main_window.cpp : 301) [11:42:26.442 00-0000136] Window Pos: Screen found, geometry: -1280, 52, 1280, 1024 (main_window.cpp : 317) [11:42:26.457 00-0000137] Window Pos: Saving position: -1280, 52, 1296, 1040 (maximized [FALSE]) (main_window.cpp : 301) [11:42:26.457 00-0000138] Window Pos: Screen found, geometry: -1280, 52, 1280, 1024 (main_window.cpp : 317) [11:42:26.465 00-0000139] Window Pos: Saving position: -1294, 86, 1276, 867 (maximized [FALSE]) (main_window.cpp : 301) [11:42:26.465 00-0000140] Window Pos: Screen found, geometry: -1280, 52, 1280, 1024 (main_window.cpp : 317) [11:42:26.465 00-0000141] Window Pos: Writing: -14, 34, 1276, 867 (maximized [FALSE]) (main_window.cpp : 330) [11:42:26.465 00-0000142] Window Pos: Writing to storage -14, 34, 1276, 867 (maximized [FALSE]) (localstorage.cpp : 2421) [11:42:27.452 00-0000143] Window Pos: Saving position: -1294, 86, 1276, 867 (maximized [FALSE]) (main_window.cpp : 301) [11:42:27.452 00-0000144] Window Pos: Screen found, geometry: -1280, 52, 1280, 1024 (main_window.cpp : 317) [11:42:31.679 00-0000145] MTP Info: adding request to toSendMap, msCanWait 0 (session.cpp : 469) [11:42:31.679 00-0000146] MTP Info: added, requestId 185 (session.cpp : 497) [11:42:31.679 00-0000147] MTP Info: dcWithShift 4 stopped send timer, can wait for 0ms from current 1857947 (session.cpp : 203) [11:42:31.679 01-0000148] MTP Info: dc 4 trying to send after ping, state: 2 (connection.cpp : 722) [11:42:31.682 01-0000150] MTP Info: sending request, size: 22, num: -451902452, time: 1527590552 (connection.cpp : 3021) [11:42:31.683 00-0000152] MTP Info: adding request to toSendMap, msCanWait 0 (session.cpp : 469) [11:42:31.683 00-0000153] MTP Info: added, requestId 186 (session.cpp : 497) [11:42:31.683 00-0000154] MTP Info: dcWithShift 4 stopped send timer, can wait for 0ms from current 0 (session.cpp : 203) [11:42:31.683 01-0000155] MTP Info: dc 4 trying to send after ping, state: 2 (connection.cpp : 722) [11:42:31.684 01-0000157] MTP Info: sending request, size: 18, num: -435937180, time: 1527590552 (connection.cpp : 3021) [11:42:31.699 00-0000159] MTP Info: adding request to toSendMap, msCanWait 0 (session.cpp : 469) [11:42:31.699 00-0000160] MTP Info: added, requestId 187 (session.cpp : 497) [11:42:31.699 00-0000161] MTP Info: dcWithShift 4 stopped send timer, can wait for 0ms from current 0 (session.cpp : 203) [11:42:31.700 01-0000162] MTP Info: dc 4 trying to send after ping, state: 2 (connection.cpp : 722) [11:42:31.700 01-0000164] MTP Info: sending request, size: 18, num: -364934328, time: 1527590552 (connection.cpp : 3021) [11:42:31.729 01-0000170] RPC Info: response received for 6560951466361652236, queueing... (connection.cpp : 1894) [11:42:31.729 01-0000171] Message Info: requests acked, ids [6560951466361652236, 6560951466361652236] (connection.cpp : 2114) [11:42:31.729 01-0000172] RPC Info: gzip container (connection.cpp : 1908) [11:42:31.729 01-0000173] MTP Info: will send 1 acks, ids: [6560951462023325697, 6560951462023325697] (connection.cpp : 1432) [11:42:31.729 01-0000174] MTP Info: emitting needToReceive() - need to parse in another thread, 1 responses, 0 updates. (connection.cpp : 1441) [11:42:31.731 00-0000175] MTP Info: dcWithShift 4 can wait for 10000ms from current 0 (session.cpp : 199) [11:42:31.768 01-0000180] Message Info: container received, count: 2 (connection.cpp : 1492) [11:42:31.768 01-0000181] Message Info: message from container, msg_id: 6560951462205271041, needAck: [TRUE] (connection.cpp : 1517) [11:42:31.768 01-0000182] RPC Info: response received for 6560951466377617508, queueing... (connection.cpp : 1894) [11:42:31.768 01-0000183] Message Info: requests acked, ids [6560951466377617508, 6560951466377617508] (connection.cpp : 2114) [11:42:31.768 01-0000184] Message Info: message from container, msg_id: 6560951462205285377, needAck: [FALSE] (connection.cpp : 1517) [11:42:31.768 01-0000185] Message Info: acks received, ids: [6560951466448620360, 6560951466448620360] (connection.cpp : 1546) [11:42:31.768 01-0000186] Message Info: requests acked, ids [6560951466448620360, 6560951466448620360] (connection.cpp : 2114) [11:42:31.768 01-0000187] Message Info: ignoring ACK for msgId 6560951466448620360 because request 187 requires a response (connection.cpp : 2149) [11:42:31.768 01-0000188] MTP Info: will send 2 acks, ids: [6560951462023325697, 6560951462023325697, 6560951462205271041] (connection.cpp : 1432) [11:42:31.768 01-0000189] MTP Info: emitting needToReceive() - need to parse in another thread, 2 responses, 0 updates. (connection.cpp : 1441) [11:42:31.771 01-0000194] RPC Info: response received for 6560951466448620360, queueing... (connection.cpp : 1894) [11:42:31.771 01-0000195] Message Info: requests acked, ids [6560951466448620360, 6560951466448620360] (connection.cpp : 2114) [11:42:31.771 01-0000196] MTP Info: will send 3 acks, ids: [6560951462023325697, 6560951462023325697, 6560951462205271041, 6560951462220125185] (connection.cpp : 1432) [11:42:31.771 01-0000197] MTP Info: emitting needToReceive() - need to parse in another thread, 3 responses, 0 updates. (connection.cpp : 1441) [11:42:31.771 00-0000198] MTP Info: dcWithShift 4 can wait for 9960ms from current 1877533 (session.cpp : 199) [11:42:31.771 00-0000199] MTP Info: dcWithShift 4 can wait for 9960ms from current 1877573 (session.cpp : 199) [11:42:31.897 00-0000200] RPC Info: found parser for request 185, trying to parse response... (mtp_instance.cpp : 792) [11:42:31.897 00-0000201] RPC Info: found parser for request 186, trying to parse response... (mtp_instance.cpp : 792) [11:42:31.897 00-0000202] RPC Info: found parser for request 187, trying to parse response... (mtp_instance.cpp : 792) ```
@Aokromes
Copy link
Collaborator

#4649

@ChildishGiant
Copy link
Author

Ah sorry, I had a look but couldn't find anything. At least I gave more info.

@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.
Projects
None yet
Development

No branches or pull requests

3 participants