Skip to content

yet more dpi shenanigans #8734

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

Merged
merged 10 commits into from
Mar 14, 2025
Merged

yet more dpi shenanigans #8734

merged 10 commits into from
Mar 14, 2025

Conversation

hry-gh
Copy link
Member

@hry-gh hry-gh commented Mar 11, 2025

About the pull request

follow up to #8723, just respects the tgui scaling (now window scaling) pref globally, with windows either becoming bigger or zooming out

this now applies to most simple html browsers, tgui say and some other miscellany

Explain why it's good for the game

looks less silly :)

Testing Photographs and Procedure

4k monitor with 200% scaling:

on "smaller zoom" mode:

rPrHMkkBa310nEas@2x

on "larger windows" mode:
cfhepGVohf94UYRQ@2x

Changelog

🆑
qol: people with window scaling that is greater or less than 100% will now have windows scale, appropriate to the "window scaling" option in settings
/:cl:

@github-project-automation github-project-automation bot moved this to Awaiting Review in Review Backlog Mar 11, 2025
@cmss13-ci cmss13-ci bot added UI deletes nanoui/html Quality of Life Make the game harder to play labels Mar 11, 2025
cm13-github added a commit that referenced this pull request Mar 11, 2025
cm13-github added a commit that referenced this pull request Mar 11, 2025
cm13-github added a commit that referenced this pull request Mar 11, 2025
Copy link
Contributor

@Drulikar Drulikar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appears to work fine. Though of note character preferences do not use the scaling, but may be easier to finish the tguification of preferences rather than wrestling the byondui.

@github-project-automation github-project-automation bot moved this from Awaiting Review to Partially Approved / Mergeable in Review Backlog Mar 11, 2025
cm13-github added a commit that referenced this pull request Mar 11, 2025
@Drulikar
Copy link
Contributor

For fireteam scaling issue:
patch.diff.txt

cm13-github added a commit that referenced this pull request Mar 13, 2025
cm13-github added a commit that referenced this pull request Mar 13, 2025
@Drulikar Drulikar added this pull request to the merge queue Mar 14, 2025
Merged via the queue into cmss13-devs:master with commit 838bda0 Mar 14, 2025
24 checks passed
@github-project-automation github-project-automation bot moved this from Partially Approved / Mergeable to Merged in Review Backlog Mar 14, 2025
cmss13-ci bot added a commit that referenced this pull request Mar 14, 2025
ihatethisengine pushed a commit to ihatethisengine/cmss13 that referenced this pull request Mar 14, 2025
# About the pull request

<!-- Remove this text and explain what the purpose of your PR is.

Mention if you have tested your changes. If you changed a map, make sure
you used the mapmerge tool.
If this is an Issue Correction, you can type "Fixes Issue #169420" to
link the PR to the corresponding Issue number #169420.

Remember: something that is self-evident to you might not be to others.
Explain your rationale fully, even if you feel it goes without saying.
-->

follow up to cmss13-devs#8723, just respects the tgui scaling (now window scaling)
pref globally, with windows either becoming bigger or zooming out

this now applies to most simple html browsers, tgui say and some other
miscellany

# Explain why it's good for the game

looks less silly :)

# Testing Photographs and Procedure

4k monitor with 200% scaling:


on "smaller zoom" mode:


![rPrHMkkBa310nEas@2x](https://github.com/user-attachments/assets/840710ab-a915-44b4-9064-82e2c4be80b0)


on "larger windows" mode:

![cfhepGVohf94UYRQ@2x](https://github.com/user-attachments/assets/c6be53af-75fc-424d-8ac0-0ca0285944dd)


# Changelog

:cl:
qol: people with window scaling that is greater or less than 100% will
now have windows scale, appropriate to the "window scaling" option in
settings
/:cl:

---------

Co-authored-by: harryob <[email protected]>
Co-authored-by: Drulikar <[email protected]>
ihatethisengine pushed a commit to ihatethisengine/cmss13 that referenced this pull request Mar 14, 2025
@DarkLordCabbage
Copy link
Contributor

It's fixed!!! Thank you!!!!!!!!!

@Drulikar Drulikar mentioned this pull request Mar 15, 2025
github-merge-queue bot pushed a commit that referenced this pull request Mar 15, 2025
# About the pull request

This PR is a follow up to #8734 that changed the type of a browser user
from mob to client but there were a few lingering situations where it
was not getting converted (VVing bit fields and I guess viewing
tickets).

Past that just cleanup generally in this file...

# Explain why it's good for the game

Working browsers that open?

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>


![image](https://github.com/user-attachments/assets/be43bd03-b8ae-4a9e-afe4-13278188f7a9)

</details>


# Changelog
:cl: Drathek
fix: Fixed browsers sometimes not handling a mob passed instead of a
client (VV bitfields & tickets atleast)
/:cl:
DarkLordCabbage pushed a commit to DarkLordCabbage/cmss13-Fork that referenced this pull request Mar 22, 2025
# About the pull request

This PR is a follow up to cmss13-devs#8734 that changed the type of a browser user
from mob to client but there were a few lingering situations where it
was not getting converted (VVing bit fields and I guess viewing
tickets).

Past that just cleanup generally in this file...

# Explain why it's good for the game

Working browsers that open?

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>


![image](https://github.com/user-attachments/assets/be43bd03-b8ae-4a9e-afe4-13278188f7a9)

</details>


# Changelog
:cl: Drathek
fix: Fixed browsers sometimes not handling a mob passed instead of a
client (VV bitfields & tickets atleast)
/:cl:
github-merge-queue bot pushed a commit to Aurorastation/Aurora.3 that referenced this pull request May 14, 2025
Got tired of the issues here when working on something else.

Ported several PRs from /tg/station to fix DPI scaling issues. This was
not a problem before 516, however 516 now respects Window's DPI setting,
causing misalignment in several of our UI elements.

This PR implements these ~~four~~ ~~five~~ six PRs:
tgstation/tgstation#65686
tgstation/tgstation#89994
tgstation/tgstation#90416
tgstation/tgstation#90418
tgstation/tgstation#90796
cmss13-devs/cmss13#8734

~~Does not include fixes with TGUI-Say. /tg/station refactored TGUI-Say
after their port to React before they fixed DPI scaling, and this would
be pain to deconstruct to port over to Inferno. Since porting to React
is "inevitable", I considered it not worth my time to fix this.~~

Thanks to the assistance of harry, TGUI-Say fixes now included.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Quality of Life Make the game harder to play UI deletes nanoui/html
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants