-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Description
Problem
The current default scalingPriority is set to 'gdk' in src/configuration/modules/config/index.ts, which causes dropdown menus to position incorrectly when users have Hyprland monitor scaling enabled.
Note
Yes, this can already be mitigated by changing the value in the settings General > Scaling Priority, but I cannot find any reason why not to do this by default.
Current Behavior
With the default scalingPriority: 'gdk':
- If a user has Hyprland scaling (e.g., 1.25x) but no GDK_SCALE set
- Dropdown positioning calculations ignore the Hyprland scale factor
- Dropdowns extend beyond the screen edge, especially for rightmost bar modules
- Users cannot interact with off-screen elements
Reproduction Steps
- Set Hyprland monitor scaling on a monitor.
- Launch HyprPanel with default config
- Click on a dropdown menu from a module positioned on the rightmost side of the bar (e.g., notifications)
- Observe that the dropdown extends beyond the right screen edge
Metadata
Metadata
Assignees
Labels
No labels