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

Make the Wayland backend support Gnome font scaling #867

Open
Enderteck opened this issue Oct 31, 2024 · 6 comments
Open

Make the Wayland backend support Gnome font scaling #867

Enderteck opened this issue Oct 31, 2024 · 6 comments

Comments

@Enderteck
Copy link

When using Ozone to get native Wayland on Thorium, the window is tiny, as it doesn't follow the rest of the apps in scaling.
Here's an example:

(yes this is Chrome but i coudn't really change flags and restart the browser multiple times while I was writing this issue, same thing happens on Thorium)
Preferred Ozone platform=wayland or auto:
Capture d’écran du 2024-10-31 03-45-40
Preferred Ozone platform=default or x11:
image

It is even more noticeable in the full window, the buttons are too small and it's even worse for PWAs:
image

It also shows every website smaller and forced me to set a higher default zoom level but I still have to use the Wayland backend for any kind of drag and drop support into the browser.
This has been an issue for a while and just makes me want to run to Firefox as every Chromium derived browser has it.

Having Thorium have the same size using X11 or Wayland would be an amazing solution (taking the size from X11 of course).

Here's the issue on issues.chromium:
https://issues.chromium.org/issues/362737540

It is also originally part of this issue:
https://issues.chromium.org/issues/40856031

Specs:
Fedora 41 (beta)
Gnome 47 (has been happening before)
Font scaling in tweaks: 1.25
Thorium 128.0.6613.189

@LFRon
Copy link

LFRon commented Dec 10, 2024

But not everyone could run Electron apps on Wayland correctly,I use AMD Radeon 780M with Ryzen 7 8845HS,run Electron apps under Wayland will cause kwin and mutter both crash after a while.

@Enderteck
Copy link
Author

Enderteck commented Dec 10, 2024

But not everyone could run Electron apps on Wayland correctly,I use AMD Radeon 780M with Ryzen 7 8845HS,run Electron apps under Wayland will cause kwin and mutter both crash after a while.

This doesn't have anything to do with electron, we are talking about thorium only and it doesn't force you to run them on native Wayland.
Thorium has been running natively on Wayland without issue for me for at least 6 months, but not by default, you have to enable Preferred Ozone platform in the Chromium flags, fixing this bug woudn't change a thing for you. If you didn't enable that flag, your borwser has never run on native wayland and uses Xwayland instead, wich doesn't have drag and drop support and other things.

I just wish that using this flag didn't make my Thorium so small.

@LFRon
Copy link

LFRon commented Dec 11, 2024

But not everyone could run Electron apps on Wayland correctly,I use AMD Radeon 780M with Ryzen 7 8845HS,run Electron apps under Wayland will cause kwin and mutter both crash after a while.

This doesn't have anything to do with electron, we are talking about thorium only and it doesn't force you to run them on native Wayland. Thorium has been running natively on Wayland without issue for me for at least 6 months, but not by default, you have to enable Preferred Ozone platform in the Chromium flags, fixing this bug woudn't change a thing for you. If you didn't enable that flag, your borwser has never run on native wayland and uses Xwayland instead, wich doesn't have drag and drop support and other things.

I just wish that using this flag didn't make my Thorium so small.

But I met the serious problem on both KDE and GNOME,my graphic cards AMD Radeon 780M uses mesa3d and amdgpu open-source driver still cause the problem.You run it normally does not mean which could run anywhere though I want it run under wayland,either.

@Enderteck
Copy link
Author

How does fixing this bug affect you ?

If Thorium doesn't work for your machine you can create and issue about it. This bug fix wouldn't remove anything for you, it would just allow Thorium to respect my app size, I cannot help you run Thorium on your machine and I'm not here for that, sorry

@LFRon
Copy link

LFRon commented Dec 11, 2024

How does fixing this bug affect you ?

If Thorium doesn't work for your machine you can create and issue about it. This bug fix wouldn't remove anything for you, it would just allow Thorium to respect my app size, I cannot help you run Thorium on your machine and I'm not here for that, sorry

My PC doesnn't only meet the problem on this browser,but all of the Electron apps and on both KDE and GNOME which includes Chormium,and many people have reported the problem at Electron on Github.Also,GNOME does not support text-v1-input so people in Korea/China could not use ibus/Fcitx input method.My suggestion is opening wayland session by yourself and distribute deb in your Github repositories because it is very easy,just add "--ozone-platform=wayland --enable-wayland-ime" at the desktop Exec command line.
image

@Enderteck
Copy link
Author

How does this relate to my issue ? This thread is about a font scaling bug, not the browser not working under Wayland.

If you encounter a bug with chromium apps, go report it to them, I cannot help you
Here is where you can report Chromium specific issues:

https://issues.chromium.org/issues?q=status:open

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

No branches or pull requests

2 participants