Repository navigation
plugins: explain the restart a stale file list needs - #4077
Merged
bbedward merged 1 commit intoNov 2, 2026
Merged
Conversation
Member
|
/claude review |
Contributor
Claude reviewNo issues found. |
purian23
pushed a commit
that referenced
this pull request
Nov 2, 2026
(cherry picked from commit 28ae734)
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.
Description
When a plugin fails with Qt's
File name case mismatch, add a hint under the error in the plugin'sdetails. Qt reports it when a file exists on disk but isn't in the directory list it cached the first time the running shell used that directory. In practice that means a plugin update added a new QML/JS file, and the plugin stays disabled untildms restart. The hint says to restart DMS, or to check the import's capitalization if the plugin wasn't updated, because the real case mismatch produces the same message.The Plugins page and the plugin's own page already show
title+details, so nothing else in the UI changes. The string is new because no existing term fit. It has translator context, and the term freeze is not active.PLUGINS/README.mdalso gets a line under "Versioning" so plugin authors know to put new files in a new subdirectory, or to tell users the update needs a restart.There's no real fix on the shell side for the cache itself: Qt only clears it with
clearComponentCache(), and that isn't exposed to QML. So this makes the failure understandable rather than removing it.The test checks that this error gets the hint and that a different load error doesn't. It fails on master.
This touches the same lines as #4076, so whichever is merged second needs a small rebase. I'll do it.
Type of change
Related issues
Fixes #4075
Screenshots / video
A plugin update that adds
DemoHelper.jsnext to the widget, followed by the rescan that the update runs.Before:
After:
After
dms restartthe updated plugin loads, as the hint says. Tested live on v2.0.0 with this patch on Hyprland.Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis clean (no Go changes)make lint-qmlwith no new warningspython3 quickshell/tests/run-qml.pypasses (logic, qt, lock), and so do the prek hooks on the changed files, including the i18n checks.A good part of this change was written with an AI assistant, and it helped write this description. I reviewed and tested all of it and can explain every line.