Skip to content
Snippets Groups Projects

qt: add a resizable margin to the application in CSD mode when extended frames aren't available

Open Pierre Lamot requested to merge chub/vlc:qml/no-extended-margin-edge-resize into master

fix #28906 (closed) on platform that don't support extended frames

this fix is mainly designed for compositor that don't have extended frames such as X11 with no _GTK_FRAME_EXTENTS support or the dummy compositor.

This is not intended to replace !6510, it doesn't even look particularly good on windows 11 with the rounded corners

This patch adds a thin frame around the content, this is similar to what Firefox or Chrome do in similar scenarios. An alternative would have been to update the safe-area to the resize margin, but the scrollbar tend to stay on the edge of the frame regardless of the controls padding, so this doesn't solve the issue

image

Edited by Pierre Lamot

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading