Simplify DaVinci Resolve window rules - #9508
Open
sharms wants to merge 3 commits into
Open
Conversation
Pinning every Resolve window with stay_focused has needed a longer release allowlist in each of the last three changes (Project Manager, then Preferences and Find Directory, then Dialog). Any dialog not on the list still blocks the screenshot layer's pointer input and fights sibling dialogs for focus, e.g. Create New Project against its own file picker. no_follow_mouse already prevents the pointer warp that stay_focused was covering for, so remove it and the allowlist instead of adding titles one at a time.
The main window was fullscreened so the bar would not cover Resolve's menu. A maximized floating window keeps the bar clear just the same, but no longer blankets the workspace: other windows opened alongside Resolve can be raised above it again.
Resolve's bundled Qt file pickers open undersized on HiDPI displays and Qt never persists their geometry, so open them at 55%x65% of the monitor, centred, and remember any manual resize of a Resolve dialog with persistent_size. The XWayland Create New Project dialog can also be placed outside Hyprland's logical bounds on mixed-scale monitor layouts, so centre it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
stay_focused = trueon every Resolve window has needed a longer release allowlist in each of the last three changes (Project Manager → Preferences/Find Directory → Dialog), and any dialog not on it still blocks the screenshot layer's pointer input and fights sibling dialogs for focus (e.g. Create New Project vs. its own file picker).no_follow_mouse(#6919) already prevents the pointer warpstay_focusedwas covering for, so this drops it and the allowlist entirely.Two small dialog fixes ride along, each as its own commit:
persistent_sizesince Qt never persists the geometry. The XWayland "Create New Project" dialog can land outside Hyprland's logical bounds on mixed-scale layouts, so centre it.These rules have been running as
~/.config/hypr/hyprland.luaoverrides on Omarchy 4.0.1 / Hyprland 0.56.2 with Resolve Studio 21.0.4 on a mixed 1.6×/2× two-monitor layout.luac -pand./test/clipass; the four./test/shellfailures (config,runtime-smoke,snapper,unowned-system-paths) reproduce identically on pristinequattrohere and are environment-related.Related: #5887.
🤖 Generated with Claude Code
https://claude.ai/code/session_013sRgN2t4URuaqmdjPU9bpD