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

Wayland: Blurry cursor when using HiDPI scaling #727

Closed
trbjo opened this issue Nov 23, 2018 · 6 comments · Fixed by #1454
Closed

Wayland: Blurry cursor when using HiDPI scaling #727

trbjo opened this issue Nov 23, 2018 · 6 comments · Fixed by #1454
Labels
B - bug Dang, that shouldn't have happened C - waiting on author Waiting for a response or another PR DS - wayland

Comments

@trbjo
Copy link

trbjo commented Nov 23, 2018

Perhaps this should be added to the "Wayland metabug" report?

Anyway, I use HiDPI scaling on Linux+Wayland+Sway, and alacritty's cursor it blurry. It has the correct size though, and the rest of the window (i.e. text rendering) is sharp enough.

It doesn't happen, when I turn scaling off.

I know QT apps had the same bug until version 5.12, so I'm quite certain it's a bug in winit.

The fix in QT can be found here: https://codereview.qt-project.org/#/c/225465/

@elinorbgr elinorbgr added DS - wayland C - waiting on author Waiting for a response or another PR labels Nov 23, 2018
@elinorbgr
Copy link
Contributor

This is actually an issue with SCTK, but it'll likely require some work in winit too.

blocked on Smithay/client-toolkit#47

@illiliti
Copy link

illiliti commented Feb 7, 2020

@goddessfreya goddessfreya added C - needs investigation Issue must be confirmed and researched B - bug Dang, that shouldn't have happened and removed C - waiting on author Waiting for a response or another PR labels Feb 8, 2020
@goddessfreya
Copy link
Contributor

Is this still a issue?

@illiliti
Copy link

illiliti commented Feb 8, 2020

Is this still a issue?

I can reproduce this on sway 1.4, alacritty 0.4.1

@kchibisov
Copy link
Member

@goddessfreya this is an issue and I'm working on it right now. During more extensive testing with winit I've found out a very strange bug with HiDPI cursors. So I'm investigating right now.

So it'll likely be blocked until Smithay/client-toolkit#97 will be answered and new 0.6.x release will arrive.

@goddessfreya goddessfreya added C - waiting on author Waiting for a response or another PR and removed C - needs investigation Issue must be confirmed and researched labels Feb 8, 2020
@elinorbgr
Copy link
Contributor

Smithay/client-toolkit@d61c551

Note that this commit is only on SCTK 0.7.0, which significantly changed the API of the lib. Winit will need some work to be updated to this new version. I'll probably do it at some point when I get the time to unless someones attacks it before me.

kchibisov added a commit to kchibisov/winit that referenced this issue Feb 11, 2020
goddessfreya pushed a commit that referenced this issue Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened C - waiting on author Waiting for a response or another PR DS - wayland
Development

Successfully merging a pull request may close this issue.

5 participants