mogan icon indicating copy to clipboard operation
mogan copied to clipboard

Blurry in Hyprland

Open JackYansongLi opened this issue 1 year ago • 7 comments

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 avatar Dec 15 '23 20:12 JackYansongLi

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.

JackYansongLi avatar Dec 15 '23 23:12 JackYansongLi

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.

da-liii avatar Dec 16 '23 08:12 da-liii

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

ProfFan avatar Dec 22 '23 19:12 ProfFan

No blurry if you do texmacs -platform wayland.

hammerfunctor avatar Jan 14 '24 00:01 hammerfunctor

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 avatar Jan 29 '24 11:01 Iey4iej3

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

Iey4iej3 avatar Mar 01 '24 14:03 Iey4iej3

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

JackYansongLi avatar Mar 13 '24 17:03 JackYansongLi