Repository navigation
Conversation
A window's CSD frame was created on Rune's default System, so a saved Dark or Light scheme had a system frame around it. Pass the saved scheme (or --scheme) at creation, and hand Rune the new one when Settings changes it, so the frame and the palette move together. System stays the desktop's own answer.
Author
|
The Rune companion is |
Author
|
Closing the upstream proposal while this stays personal-only. The same app-side change is in the personal fork branch |
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.
Summary
The native window frame follows the appearance scheme the app paints in, instead of Rune's default
System.On Linux the frame is sctk-adwaita's client-side frame: a saved Dark or Light scheme now gets the matching frame from the first frame, and switching the scheme in Settings updates content and frame together.
Systemis still handed to Rune asSystem; on Linux, Rune resolves it from the desktop's own answer (the companion change:zce/rune@7824acd, based on runedev4918969; the repository limits PR creation to collaborators, so it is proposed in rune#2360).Evidence
Systemapp has a dark palette but the frame border is the light map's#dcdcdc.After: the downstream test RPM
0.0.9-shadow4built with this app change and the Rune companion: the frame is the dark map's#3a3a3afrom the first frame; switching GNOME light/dark moves both together, and switching the app's scheme Dark/Light/System updates the frame immediately.Merge Danger
Door: two-way
Blast Radius: window chrome. The palette path is unchanged;
ColorScheme::Systemkeeps Rune's existing behavior. Explicit Dark/Light now also theme the native frame, which is the intent. macOS and Windows use the sameTx::set_color_schemepath Rune already documents.