Skip to content

Bug Report: Snap Assistant renders at incorrect size on high-DPI display without fractional scaling #574

Description

@droidleader

Summary

The Snap Assistant shelf (the layout picker that drops from the top center of the screen when dragging a window) renders at a physically oversized scale on a 4K display running at 100% GNOME scaling. The UI element occupies a disproportionately large portion of the screen compared to all other UI elements.

Environment

  • OS: Fedora 44 (Wayland)
  • GNOME Shell version: (please confirm with gnome-shell --version)
  • Tiling Shell version: v17.3 (latest)
  • Display: Wacom Cintiq Pro 24 — 3840×2160, 60Hz, Scale: 150% (fractional scaling via Wayland)
  • Multi-monitor setup: Yes — 3 monitors (Wacom Tech 24", Dell Inc. 25", ASUSTek COMPUTER INC 27")
  • Session type: Wayland
  • GPU: NVIDIA RTX 4070 Ti 16GB

Steps to Reproduce

  1. Run a multi-monitor setup with a 4K display set to 100% scale (no fractional scaling)
  2. Grab any window and begin dragging it
  3. Move the window toward the top center of the screen to trigger the Snap Assistant shelf

Expected Behaviour

The Snap Assistant shelf should render at a consistent, proportionate size relative to other GNOME UI elements (top bar, window decorations, etc.), correctly accounting for the monitor's fractional scale factor.

Actual Behaviour

The Snap Assistant shelf renders extremely large — occupying roughly the full width of the screen and a significant vertical portion. Other GNOME UI elements (panel, windows, settings dialogs) render at a normal, readable size at 150% scale.

The shelf appears to be over-scaling — likely applying the 150% scale factor incorrectly (e.g. doubling it, or applying it on top of an already-scaled value), resulting in a UI element that is far larger than intended.

This issue did not occur on Ubuntu with the same hardware and Wayland configuration, suggesting it may be specific to how Fedora's Wayland compositor exposes the fractional scaling API, or a difference in how GNOME handles 150% fractional scale between distributions.

Screenshots

See attached screenshots showing:

  • The oversized Snap Assistant shelf appearing at the top of the screen (screencast frames at 00:00:03, 00:00:09, 00:00:17)
  • The display settings confirming 3840×2160 at 100% scale and 60Hz (screenshot at 09:19:48)

Additional Notes

  • The layout picker popup accessed via the panel indicator renders at a correct, normal size — this is unaffected
  • The issue is isolated to the dragging-triggered Snap Assistant shelf specifically
  • Potential root cause: the shelf may be applying the Wayland fractional scale factor twice, or computing its size in physical pixels and then scaling again — resulting in a shelf that is ~2.25× too large (150% × 150%)
  • Worth testing at 100% and 200% scale to determine if the issue is specific to non-integer fractional values like 150%
Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions