atlas-engineer / nyxt

Nyxt - the hacker's browser.
https://nyxt-browser.com/
9.64k stars 404 forks source link

Tags too big on wayland HiDPI #3363

Closed glyh closed 3 months ago

glyh commented 3 months ago

Describe the bug

image

Precise recipe to reproduce the issue

Open any site and call out tags

Information

ASDF version: 3.3.1 ASDF registries: (NYXT-SOURCE-REGISTRY ENVIRONMENT-SOURCE-REGISTRY) Critical dependencies: (/build/nyxt/src/_build/cl-cffi-gtk/gtk/cl-cffi-gtk.asd /build/nyxt/src/_build/cl-gobject-introspection/cl-gobject-introspection.asd /build/nyxt/src/_build/cl-webkit/webkit2/cl-webkit2.asd)


  - Nyxt version (from the `nyxt-version` command or `nyxt --version` from a shell):

Nyxt version 3.11.1

  - Kernel name+version:

Linux mechrevo 6.8.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:35 +0000 x86_64 GNU/Linux

  - WebKitGTK+ | QtWebEngine version:(packages on arch linux)

qt6-webengine: 6.6.2-1 qt5-webengine: 5.15.16-5 webkit2gtk: 2.42.5-2 webkit2gtk-4.1: 2.42.5-2

aadcg commented 3 months ago

Interesting.

When you mention wayland, do you mean that you've tried on X and wayland?

glyh commented 3 months ago

I didn't. I assume this has to be something with wayland as usually scaling has issues on hidpi screen with wayland

glyh commented 3 months ago

I tested just yet on GDK_BACKEND=x11, there's no such issue.

aadcg commented 3 months ago

Doesn't the issue affect all websites and not just the hints when you call follow-hints?

glyh commented 3 months ago

I just realize I can no longer reproduce this on wayland as well. I guess this is just I updated the system and my system is in a compromised state so I have to restart. After restarting the issue is gone.