pop-os / cosmic-epoch

Next generation Cosmic desktop environment
1.71k stars 54 forks source link

visual: window snapping: border too small when quarter snapping #254

Open boredsquirrel opened 2 months ago

boredsquirrel commented 2 months ago

This is a pretty small bug, as no screen recording tool seems to work I will try to show with screenshots

  1. drag a window to top right corner
  2. it snaps there, taking 1/4 of the screen space
  3. now hold it at the top bar and drag it away from that corner
  4. the windowsize often increases slightly and the blue outline box is now too small
  5. when letting go of the window the outline adapts to the correct window size

it seems that the outline component uses the old, snapped window size and not the correct one. This does not happen in other snapping cases for me.

cosmic-panel-0.1.0~20240331.23-1.fc40.x86_64
xdg-desktop-portal-cosmic-0.1.0~20240331.23-1.fc40.x86_64
cosmic-settings-daemon-0.1.0~20240331.23-1.fc40.x86_64
cosmic-settings-0.1.0~20240331.23-1.fc40.x86_64
cosmic-screenshot-0.1.0~20240331.23-1.fc40.x86_64
cosmic-randr-0.1.0~20240331.23-1.fc40.x86_64
cosmic-osd-0.1.0~20240331.23-1.fc40.x86_64
cosmic-notifications-0.1.0~20240331.23-1.fc40.x86_64
cosmic-app-library-0.1.0~20240331.23-1.fc40.x86_64
cosmic-icons-0.1.0~20240401.15-1.fc40.x86_64
cosmic-applets-0.1.0~20240401.23-1.fc40.x86_64
cosmic-launcher-0.1.0~20240401.15-1.fc40.x86_64
cosmic-bg-0.1.0~20240331.23-1.fc40.x86_64
cosmic-greeter-0.1.0~20240331.23-1.fc40.x86_64
cosmic-workspaces-0.1.0~20240331.23-1.fc40.x86_64
cosmic-comp-0.1.0~20240331.23-1.fc40.x86_64
cosmic-session-0.1.0~20240331.23-1.fc40.x86_64
cosmic-term-0.1.0~20240331.23-1.fc40.x86_64
cosmic-store-0.1.0~20240331.23-1.fc40.x86_64
cosmic-files-0.1.0~20240331.23-1.fc40.x86_64
cosmic-edit-0.1.0~20240331.23-1.fc40.x86_64
cosmic-desktop-0.1.0~20240331.23-1.fc40.x86_64
boredsquirrel commented 2 months ago

corner-snap-1

corner-snap-2