domferr / tilingshell

Extend Gnome Shell with advanced tiling window management. Supports multiple monitors, Windows 11 Snap Assistant, Fancy Zones, customised tiling layouts and more.
https://extensions.gnome.org/extension/7065/tiling-shell/
GNU General Public License v2.0
510 stars 8 forks source link

v13: outline doesn't match windows borders #135

Open EfogDev opened 3 weeks ago

EfogDev commented 3 weeks ago

Describe the bug For some windows, there's an inconsistency between window borders and the extension outline. The app is telegram-desktop.

To Reproduce Steps to reproduce the behavior:

  1. Install Telegram
  2. Enable window border in the extension settings

Screenshots Unsaved Image 1

Information (please complete the following):

domferr commented 2 weeks ago

Hey @EfogDev thank you for testing v13! I'm not happy how the current solution handles rounded borders tbh, they are basically hardcoded. The most I can do is to guess the radius. I'm working on scaling it based on the monitor's scaling factor.

The telegram app I'm using has different border radius than yours. Which scaling factor do you have set?

EfogDev commented 2 weeks ago

It is 2x on the screenshot (I wonder if you mean fractional scaling)

TastyWaffles commented 1 week ago

I get the radius being incorrect on some apps like Discord as above, but I get even worse borders on some other applications such as Chrome/Edge: Screenshot from 2024-09-15 15-25-50

Gnome 42.9 Wayland (Pop 22.04) v28 installed via extension manager

Update: Dragging floating window from one monitor to another always seems to fix the border. But maximising/restoring breaks it

EfogDev commented 1 week ago

@domferr do you believe there is some universal solution that can be applied to any window? AFAIK its not only the scaling factor that matters; windows itself may not have border radius at all.