rotated wayland display (i.e.swaymsg output DP-1 transform 90)
optional: physically rotate your display to get your neck into a healthy debugging position)
steps:
run rofi --help and identify the Monitor layout: section
optional: filter the output to see it immediatelty:
probable root cause: the dpi calculation does not take wayland display rotation into account (sway example from CLI: swaymsg -t get_outputs | jq '.[]|.transform')
Rofi version (rofi -v)
1.7.3 (davatorium/rofi) 1.7.2-29-g50b85ba9 (next) (lbonn/rofi)
Configuration
https://gist.github.com/qodo-io/36623f90c03ae96204b0d9d1748102e7
Launch command
rofi --help
Step to reproduce
prerequisites:
swaymsg output DP-1 transform 90
) optional: physically rotate your display to get your neck into a healthy debugging position)steps:
rofi --help
and identify theMonitor layout:
sectionExpected behavior
correct dpi would be
123,123
in this example, as:Actual behavior
dpi is
69,217
, aswidth
andheight
are flippedAdditional information
[posted this on the wrong issue tracker before, at https://github.com/davatorium/rofi/issues/1590 - sorry for that]
probable root cause: the dpi calculation does not take wayland display rotation into account (sway example from CLI:
swaymsg -t get_outputs | jq '.[]|.transform'
)