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

Blurry in Hyprland #1471

Open
JackYansongLi opened this issue Dec 15, 2023 · 7 comments
Open

Blurry in Hyprland #1471

JackYansongLi opened this issue Dec 15, 2023 · 7 comments
Labels
bug Something isn't working plat:linux

Comments

@JackYansongLi
Copy link

Mogan Version

1.2.0

Operating System Version and Architecture

arch linu with hyprland

Describe Bug

Mogan is blurry on my arch Linux system with hyprland desktop (which runs in Wayland with a high DPI, Surface Pro 6 screen.)

Expected Behavior

Support fractional scaling?

@JackYansongLi JackYansongLi added the bug Something isn't working label Dec 15, 2023
@JackYansongLi
Copy link
Author

When connecting my surface pro 6 to a 1080p monitor, the blurry phenomenon is gone (on both screens). However, if I only use the surface pro 6 screen (which is 2760x1824), it gets blurred.

@da-liii
Copy link
Contributor

da-liii commented Dec 16, 2023

Support fractional scaling?

Switching the scaling to 1,2,3,4 may works. It might be a big change to support fractional scaling, will not be completed in v1.2.1.

@ProfFan
Copy link

ProfFan commented Dec 22, 2023

Scaling is a big mess, there are two scaling mechanisms, one for macOS and one for non-mac. The macOS one works better (at least when I tested last time on TeXmacs). You may consider completely removing the non-macOS one and consolidate the code

@hammerfunctor
Copy link

No blurry if you do texmacs -platform wayland.

@Iey4iej3
Copy link

No blurry if you do texmacs -platform wayland.

The buffer is still blurry (if one uses the scaling option from the window manager instead of inside TeXmacs — I think it better to support this since it would be nice to avoid per-app settings if we scale in that way).

@Iey4iej3
Copy link

Iey4iej3 commented Mar 1, 2024

Mogan does not seem to suffer from the blur (either of GUI, or of buffer) under Sway, run by MoganResearch -platform wayland.

@JackYansongLi
Copy link
Author

JackYansongLi commented Mar 13, 2024

Mogan does not seem to suffer from the blur (either of GUI, or of buffer) under Sway, run by MoganResearch -platform wayland.

Still blurry on my computer. I am using arch linux with hyprland desktop environment.

I got the following warning:

TeXmacs] std-bench, Task 'db_load_suffixes /usr/share/Xmacs/fonts/font-database.scm' took 50 ms
TeXmacs] std-bench, Task 'tt_font_exists NotoSerifCJK-Regular' took 57 ms
TeXmacs] With linked TrueType support
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x60b2e02bca90) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x60b2e01ed6f0) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents
qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x60b2e02bca90) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x60b2e01ed6f0) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plat:linux
Projects
None yet
Development

No branches or pull requests

5 participants