Repository navigation
Conversation
omarchy display text size currently scales the shell base-size, GTK text-scaling-factor, and terminal font size together. Some fixed-height GTK/Electron dialogs (e.g. the 1Password SSH approval prompt) clip their content once the GTK factor grows past 1.0, and they never show up in hyprctl clients so window rules can't work around it. Add an opt-in --no-gtk (alias --shell-terminal-only) flag that sets the shell and terminal sizes but leaves GTK text-scaling-factor untouched, plus a --gtk flag to make the default explicit. Default behavior is unchanged for existing callers.
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The status-bar text-size slider drives the same 1Password-SSH-prompt clipping bug the CLI fix addresses, and it's the primary way most users change text size. Pass --no-gtk from the panel so the slider gets the same protection by default, not just the CLI opt-in.
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
omarchy display text size <size>scales the shell base-size, GTKtext-scaling-factor, and terminal font size together — including from the status-bar slider.hyprctl clients, so window rules can't work around it. This is reproducible today by dragging the status-bar text-size slider up and then triggering that prompt.--no-gtkflag (alias--shell-terminal-only) toomarchy-display-text-size, plus an explicit--gtkto restore the scale-GTK-too behavior for CLI callers who want it.Panel.qml) now passes--no-gtkby default, so the slider — the primary way most users change text size — stops triggering the clipping bug without any opt-in required. CLI callers who invokeomarchy-display-text-sizedirectly (scripts, hardware profiles likeinstall/user/hardware/dell/xps13-text-scaling.sh) keep the previous scale-everything behavior unless they pass--no-gtkthemselves.Test plan
./test/clipasses (116/116)omarchy-display-text-size 16 --no-gtksets shell base-size and terminal font size without touchingtext-scaling-factoromarchy-display-text-size 16(no flag) still scales all three, unchanged from current behavioromarchy-display-text-size reset --no-gtkresets shell/terminal only