Skip to content

fix(commons): check Process.running before triggering hyprctl & fc-match in Style.qml - #6506

Open
shrijit37 wants to merge 1 commit into
basecamp:quattrofrom
shrijit37:fix-style-hyprctl-process
Open

fix(commons): check Process.running before triggering hyprctl & fc-match in Style.qml#6506
shrijit37 wants to merge 1 commit into
basecamp:quattrofrom
shrijit37:fix-style-hyprctl-process

Conversation

@shrijit37

Copy link
Copy Markdown

Summary

Setting Process.running = true while a Quickshell Process component is already running is a no-op in Quickshell, dropping the refresh request.

Fix

Check if (!proc.running) before assigning running = true in refresh() and resolveFontFamily().

Copilot AI review requested due to automatic review settings August 2, 2026 07:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Attempts to prevent overlapping hyprctl and fc-match process triggers in shared shell styling.

Changes:

  • Adds running-state guards before starting style refresh processes.
  • Adds the same guard for font-family resolution.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Suppressed comments (1)

shell/Commons/Style.qml:464

  • A fontconfig change that occurs while fc-match is running is still discarded because this branch does nothing in that case. The existing run can resolve the pre-change configuration and no later event is guaranteed, leaving resolvedFontFamily stale. Record a pending resolution while busy and rerun it from fcMatchProc.onExited.
    if (!fcMatchProc.running) fcMatchProc.running = true

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread shell/Commons/Style.qml Outdated
Comment on lines +351 to +352
if (!hyprctlProc.running) hyprctlProc.running = true
if (!gapsOutProc.running) gapsOutProc.running = true
Copilot AI review requested due to automatic review settings August 2, 2026 08:05
@shrijit37
shrijit37 force-pushed the fix-style-hyprctl-process branch from bbabb41 to c764596 Compare August 2, 2026 08:05
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Suppressed comments (1)

default/hypr/apps/browser.lua:10

  • This deletion is unrelated to the stated process-refresh fix and changes user-visible behavior: browser screen-sharing notification windows will now remain on the active workspace instead of being hidden. Restore the rule unless this behavior change is intentionally included and documented in the PR scope.

Copilot AI review requested due to automatic review settings August 2, 2026 12:06
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread default/hypr/apps/browser.lua Outdated
-- Video apps: remove chromium browser tag so they don't get opacity applied.
o.window("(^.+-youtube\\.com__.*$|^.+-app\\.zoom\\.us__wc_home.*$)", { tag = "-chromium-based-browser" })
o.window("(^.+-youtube\\.com__.*$|^.+-app\\.zoom\\.us__wc_home.*$)", { tag = "-default-opacity" })
o.window("(^.+\-youtube\\.com__.*$|^.+\-app\\.zoom\\.us__wc_home.*$)", { tag = "-default-opacity" })
…tyle.qml

- Queue pending refresh and font-family resolution requests when processes are in-flight.

- Rerun pending requests on process completion so rapid theme/config changes are not dropped.
Copilot AI review requested due to automatic review settings August 2, 2026 12:16
@shrijit37
shrijit37 force-pushed the fix-style-hyprctl-process branch from d8dc07a to cb18032 Compare August 2, 2026 12:16
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants