Hyprland: Wrong scaling when scaling > 1
Hyprland Version
Hyprland, built from branch main at commit c416880cf96aee783b6a00f356512e5d758e6056 dirty (shadow: correctly scale boxes). Date: Fri Dec 22 10:54:31 2023 Tag: v0.32.3-200-gc416880c flags: (if any) debug debug
Bug or Regression?
Regression
Description
hyprctl monitors
shows wrong scaling when using fractional scaling
Furthermore, the cursor cannot reach the right and bottom edges of the screen
git bisect
says https://github.com/hyprwm/Hyprland/commit/37d2840246af43a7141e2a036820fc3dec468f01
How to reproduce
- Set scaling to 1.15
- Somehow on my monitor
hyprctl monitors
shows scaling as 1.11 instead - Try moving cursor to the right or bottom edge of screen. The cursor is blocked by an invisible wall and can’t reach the edge
Crash reports, logs, images, videos
No response
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Comments: 51 (43 by maintainers)
Commits related to this issue
- renderer: apply scale to wlr after checks ref #4225 — committed to hyprwm/Hyprland by vaxerski 6 months ago
- renderer: deny invalid scales and suggest a replacement ref #4225 #3511 — committed to hyprwm/Hyprland by vaxerski 6 months ago
- config: add debug:disable_scale_checks ref #4225 — committed to hyprwm/Hyprland by vaxerski 6 months ago
- renderer: use nearest_neighbor for misaligned fractional-scale surfaces ref #4225 — committed to hyprwm/Hyprland by vaxerski 6 months ago
- renderer: fix auto scale detection with fractional ref #4225 — committed to hyprwm/Hyprland by vaxerski 6 months ago
But tbh, I can live with that config option and just use that in the future. I just feel like there should still be a better way to handle this cause it was working so perfectly before except that 1 pixel weird behavior sometimes
The above commit fixed the issue, thanks!