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

Allow for resizing gamebot windows (not web-apps!) #28254

Open
dotvhs opened this issue Aug 8, 2024 · 5 comments · May be fixed by #28311
Open

Allow for resizing gamebot windows (not web-apps!) #28254

dotvhs opened this issue Aug 8, 2024 · 5 comments · May be fixed by #28311

Comments

@dotvhs
Copy link

dotvhs commented Aug 8, 2024

Is your feature request related to a problem?

One of the recent updates changed the behavior for gamebots (like gamee for example). Games now open inside a very small (384x590) fixed-size window making it difficult to play or read text presented on them. It is a regression compared to previous versions and even most modern mobile phones have display sizes larger than this.

image

Describe the solution you'd like

Having in mind that this is a Desktop client, this screams for ability to resize the window in both axis. There could be size limitations for it but please allow for resizing the window.

Describe alternatives you've considered

An alternative would be having "Open in browser" button in the overflow menu, however this is less than ideal solution because it would require doing that every time, while resizeable window could remember its previous size.

Additional context

HTML5 Game bot documentation clearly states that games should be responsive:

Please make sure that your HTML5 page is responsive and works well on all Telegram apps and supported platforms.

Source: https://core.telegram.org/bots/games#creating-a-great-html5-experience

There's no clear reason for limiting game bots to fixed-size super small windows.

@dotvhs dotvhs changed the title Allow for resizing OR opening gamebots (not web-apps!) in browser Allow for resizing gamebot windows (not web-apps!) Aug 8, 2024
@tarfand121
Copy link

also some keyboard features does not work in the gamebot windows. for example see this "@Gamee Run" .

@Aokromes
Copy link
Collaborator

Aokromes commented Aug 8, 2024

imho a lot of windows needs to be allowed resized on every direction.

@dotvhs
Copy link
Author

dotvhs commented Aug 8, 2024

imho a lot of windows needs to be allowed resized on every direction.

Agreed but this here is a clear regression from previous behavior. Other windows just were like this from the beginning. But using game bots became now just very annoying on TDesktop.

Just because "most users use mobile anyway", we - desktop users - should not suffer from a worse experience. There was nothing wrong with previous behavior and it was superior in almost every way.

@MaxVerevkin
Copy link

+1 for allowing all windows (web-apps included) to be resized. In fact web-apps already can be resized but only on linux and only on X11, which is odd. But there resizing works and I don't see a reason why it is locked on other platforms.

@MaxVerevkin MaxVerevkin linked a pull request Aug 24, 2024 that will close this issue
@dotvhs
Copy link
Author

dotvhs commented Sep 6, 2024

Just to update on the topic: Telegram Web K allows for resizing Web Apps therefore there are even less reasons for Telegram Desktop to have this in the worst state than any other client by sheer size of its window alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants