secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
206 stars 53 forks source link

UI Oddity in Script Window #1923

Open canny[bot] opened 2 months ago

canny[bot] commented 2 months ago

Cross-posted from FIRE-34053

The 'Search / Replace' floater and Script Window argue about top/height somehow and makes resizing strange. Video included to reproduce.

Relevant info:

This likely happens in other areas where a floater can attach to another. Im not sure where to look.

High DPI monitor, has caused issues before. No overrides done, and UI scale is 1.0.

https://secondlife.canny.io/admin/board/bug-reports/p/ui-oddity-in-script-window

canny[bot] commented 2 months ago

This issue has been linked to a Canny post: UI Oddity in Script Window :tada:

AtlasLinden commented 2 months ago

Note that this also occurs for the Inventory filter floater

akleshchev commented 1 month ago

What's the expected behavior here? Should everything remain identical, only not resize the parent? Or should child floater not move too far from parent?

AtlasLinden commented 1 month ago

Expected behaviour should have the child floater not moving up and down away from the parent floater when resizing vertically

akleshchev commented 1 month ago

The problem with that: it's legit to snap child far away from parent. Position is relative, so child must move, but that part doesn't work right either. I will add some contraints for moving child, but this needs to be revised.