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

Tab widths do not fit properly to text at 125% scale on Windows #5411

Open
4 tasks done
ZonianMidian opened this issue May 20, 2024 · 7 comments · May be fixed by #5802
Open
4 tasks done

Tab widths do not fit properly to text at 125% scale on Windows #5411

ZonianMidian opened this issue May 20, 2024 · 7 comments · May be fixed by #5802
Labels
issue-report An issue reported by a user.

Comments

@ZonianMidian
Copy link
Contributor

Checklist

  • I'm reporting a problem with Chatterino
  • I've verified that I'm running the most recent nightly build or stable release
  • I've looked for my problem on the wiki
  • I've searched the issues and pull requests for similar looking reports

Describe your issue

Specifications:

  • Font: Sogoe UI
  • Font size: 10pt
  • Zoom: 1.2x
  • Screen resolution: 1920 x 1080
  • Scale: 125%

Note: I did not make any changes to the configuration before or after updating Chatterino. I also noticed that changing the scale from 125% (default) to 100% fixes it.

Possible causes: #5404 #4868

Screenshots

image

OS and Chatterino Version

Chatterino Nightly 2.5.1 (commit 8ba5704) built on 2024-05-19 with Qt 6.5.0, MSVC 193933523 Running on Windows 11 Version 22H2, kernel: 10.0.22621

@ZonianMidian ZonianMidian added the issue-report An issue reported by a user. label May 20, 2024
@Nerixyz
Copy link
Contributor

Nerixyz commented May 20, 2024

I can't replicate this on Windows 10 with Qt 6.7.0 (maybe I'm missing something). I tried 1.2x zoom at 100%, 125%, 150% scale and 1.0x zoom at 100%, 125%, 150% scale with default font settings.

@iProdigy
Copy link
Contributor

iProdigy commented Jan 6, 2025

monitor configuration of my friend with this issue (after they updated to v2.5.2)

Display 1 (secondary): 4K monitor @ 60Hz in vertical mode with 150% scaling
Display 2 (primary): 1080p monitor @ 60Hz with 100% scaling

both monitors are connected to a rx 6700 xt

 

the tabs are scrunched on display 1 but not display 2.

if display 1 is switched to 100% scaling, the problem is resolved (but they want to keep 150% scaling).

if both displays are at 150% scaling (and chatterino is restarted), the problem is not resolved.

if display 1 is switched to horizontal mode, the problem is not resolved.

changing the font and zoom settings within chatterino also does not resolve the issue

@Nerixyz
Copy link
Contributor

Nerixyz commented Jan 6, 2025

I... can't reproduce this. From the screenshots in #5798, this looks more like a general scale-change bug. A step-by-step reproduction would be great. Ideally, from a point where the scaling works fine (as that's what it does for me).

Please test this on a fresh portable version (without an account). Then we can be sure the settings are the same.

@Zyntos
Copy link

Zyntos commented Jan 6, 2025

Same issue here after updating.
Display 1: (primary) 2k Monitor @ 120hz with 100% scaling -> no issues
Display 2: (secondary) 4K Monitor @60Hz with 150% scaling -> tabs are scrunched
if Display 2 is switched to 100%, its fine. Switching it back to 150% immediately makes the issue appear.
When dragging chatterino between the displays its immediately fixed and broken again based on the display.
No changes made to configs directly before or after upgrade.

@ZonianMidian
Copy link
Contributor Author

Note: Also happens in usercard
Usercard

@Nerixyz
Copy link
Contributor

Nerixyz commented Jan 7, 2025

I think I found the issue in #5802 - at least it worked for Zonian in chat.

It would be great if some of you could test the fix. You can try the PR from that branch by downloading chatterino-windows-x86-64-Qt-6.7.1.zip from https://github.com/Chatterino/chatterino2/actions/runs/12659090287?pr=5802 (direct download link: https://github.com/Chatterino/chatterino2/actions/runs/12659090287/artifacts/2398109983).

This is essentially a nightly build. You can extract it into any folder and run the chatterino.exe from there. It will use your global settings by default. If you don't want that, add portable on a new line in the modes file next to chatterino.exe (open it with notepad or your favourite editor).

@Zyntos
Copy link

Zyntos commented Jan 7, 2025

Sadly does not fix it for me, WIndows 11, 4k Screen, 150% scaling. still works on 2K screen, 100% scaling
Screenshot 2025-01-07 224345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue-report An issue reported by a user.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants