trigg/Discover

Fractional scaling floating window placement incorrect

trigg opened this issue · 0 comments

Steps to Reproduce

  • Set display to any non-integer scaling
  • Open config
  • Set an overlay to floating
  • place window
  • attempt to resize window to fill entire screen

Expected behavior

Resize fills to bottom-right corner and stops nicely

Problematic behavior

Resize stops at 1/2 the hardware pixel size.

Desktop (please complete the following information):

  • Operating System / Distrobution : Arch, Bazzite
  • Desktop Environment : Wayfire, KDE

Installation Method

  • git latest

Discord client information

  • Install method : N/A
  • Version : N/A

Additional context

Attempting to adjust with GTK scale factor lands us at original hardware pixel size, allowing us to overshoot the display with resize and position. Hand-editing the config file with post-scale location & size works fine