mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 10:15:20 +01:00
[GH-ISSUE #657] [Hyprland] wrong popup positioning with fractional scaling #3033
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#3033
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ralencode on GitHub (Jul 4, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/657
Describe the bug
Expected behavior
Configuration
Config
Styles
Hyprland config
Additional context
right positioning

@phisch commented on GitHub (Jul 26, 2024):
Same issue happens on niri. It looks like popup positions are based on integer scale, rather than the used fractional scale.
@JakeStanger commented on GitHub (Aug 4, 2024):
Yep, looks like
wl_outputand GTK both only report an integer scale. I don't currently take this into account anyway, but this gets rounded up so a 1.25x scale becomes 2x.I'll need to write a client for the fractional scaling protocol, which shouldn't be too bad.
@JakeStanger commented on GitHub (Aug 9, 2024):
Definitely didn't just spend two days implementing the fractional scaling protocol only to find I can't use it, and
wl_outputgives me the number I need anyway.Fixed in git :)