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

Inconsistent/Too Small Interface Size in Ubuntu 20.04 #2412

Open
scchow opened this issue Jan 28, 2021 · 7 comments
Open

Inconsistent/Too Small Interface Size in Ubuntu 20.04 #2412

scchow opened this issue Jan 28, 2021 · 7 comments
Labels
bug Something isn't working as intended, or works in a confusing/unintuitive way for the user high dpi

Comments

@scchow
Copy link

scchow commented Jan 28, 2021

Describe the bug

  1. The font size of the interface is very small. This includes the tab bar, settings/user accounts/update icons, and the streamer name.
  2. The font size of the settings menu is also very small.
  3. The font size of the send message box seems overly large.
  4. See attached images for details.

To reproduce

  1. Cloned commit 055db0c
  2. Ran the following commands to build
    1. sudo apt install qtcreator qtmultimedia5-dev libqt5svg5-dev libboost-dev libssl-dev libboost-system-dev libboost-filesystem-dev
    2. mkdir build
    3. cd build
    4. qmake ..
    5. make
    6. cd bin
    7. ./chatterino
  3. After starting up chatterino, the font size is inconsistent and illegible.

Screenshots

image

The font in the top bar matches the system font size and is what I would like the standard text size to be. Notice that the streamer name and settings icons are small while the send message box is large.

The font size of the chat was adjusted using Zoom and text size options in the settings, but they have no effect on the interface size.

image

The font size of the settings menu is also small when compared to the font size of the top bar.

Chatterino version
Chatterino 2.2.3-beta2 (commit 055db0c)

Operating system
Ubuntu 20.04 (5.4.0-52-generic)

Additional information

  • Monitors:
    • Monitor 1: 1920x1080: 27"
    • Monitor 2: 2560x1440: 27"
    • Monitor 3: 1920x1080: 24"
  • Potentially Related Issues
@scchow scchow added the bug Something isn't working as intended, or works in a confusing/unintuitive way for the user label Jan 28, 2021
@pajlada
Copy link
Member

pajlada commented Jan 30, 2021

What are your DPI settings for your system / your screens?

@scchow
Copy link
Author

scchow commented Jan 31, 2021

Running xdpyinfo reports my monitors are running at 96x96 dpi.

I did some more investigating and it seems like the scaling issues are caused by enabling Fractional Scaling under Displays.

Previously, I had set the scaling of my 2k monitor (Monitor 2) to 125% because the system UI was too small.
I didn't think that this would be an issue because I had chatterino running in Monitor 1, which had the standard 100% scaling.

After switching Monitor 2 back to 100% scaling, I noticed that Chatterino now has the correct text/ui size on Monitor 1.
I also tested this by changing Monitor 2 back to 125% scaling, which caused Chatterino to go back to its overly small UI size as reported earlier.

Thus, I believe the bug is coming from the Fractional Scaling option in Ubuntu 20.04.

The steps to reproduce are:

  1. Open the Settings Utility in Ubuntu and select Display
  2. Enable Fractional Scaling.
  3. Set the scale factor to 125% on one of your monitors.
  4. Press Apply.

@htmlboss
Copy link

Same issue with MacOS on 27" 2560x1440 resolution...108 DPI

image

@Brog33
Copy link

Brog33 commented Aug 2, 2021

Matebook X Pro, Ubuntu 20.04, Installed from Flathub. Scaling not adjusting properly out of the box. Tried to add env QT_SCALE_FACTOR=2 to the .desktop file but it didn't seem to do anything.

@Brog33
Copy link

Brog33 commented Feb 25, 2022

3000x2000 resolution: I am not using fractional scaling and yet the UI are inconsistent in sizes. Preferences window has so small font I can hardly read the text, while the main text input field is too big.

@smolgumball
Copy link

Encountering similar issues on Windows 10 with mixed DPI screens.

  • 1080p primary, everything displays properly
  • 4K secondary and alternate monitors display with various UI elements at mixed scales

@jupjohn
Copy link
Contributor

jupjohn commented Apr 19, 2022

Chatterino really doesn't like DPI changes - most obvious on macOS. Tried to fix this myself in the context of the Mac app but got nowhere. Would be great to have someone with a high DPI try to resolve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended, or works in a confusing/unintuitive way for the user high dpi
Projects
None yet
Development

No branches or pull requests

7 participants