Repository navigation
Conversation
HyprlandWorkspace and HyprlandToplevel declare HyprlandMonitor* properties with the class only forward-declared. Depending on load order, QML then got monitors as opaque QVariants with no id or scale, and the overview's sizes turned into NaN: a polish loop that froze the dock, the bar's workspace animation and the region selector. Made with Claude Opus 5.5 (Anthropic). Files changed: src/windows/hyprland/connection.hpp
Owner
|
Thanks, good catch. It's 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.
(write one or two sentences of your own here)
AI summary (Claude Opus 5.5)
HyprlandWorkspace and HyprlandToplevel have HyprlandMonitor* properties, but the class is only forward-declared, so moc doesn't see the full type. Depending on load order, QML got the monitor as an opaque QVariant with no id or scale; the overview's sizes became NaN and caused a polish loop that froze the dock, the bar's workspace animation and the region selector. Adding Q_MOC_INCLUDE for hyprland_toplevel.hpp, monitor.hpp and workspace.hpp in connection.hpp fixes it, as upstream Quickshell does in its Hyprland module.
To test: restart the shell a few times and open the overview; it no longer comes up blank.
Model: Claude Opus 5.5. Files changed: src/windows/hyprland/connection.hpp