Repository navigation
Conversation
The launcher keeps its surface mapped while hidden. A monitor hotplug or layout change can destroy the output under that surface while `mapped` stays true, so the next show never maps a new surface and the launcher stays invisible until the shell restarts. Reset `mapped` and `pinnedScreen` when the screen list changes while hidden. Fixes typecraft-dev#112 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018pJceKmUe69o5QwAgTaNse
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.
Fixes #112.
Summary
The launcher keeps its surface mapped while hidden, pinned to one screen. A monitor hotplug or layout change can destroy that output while
mappedstaystrue, so the next show never maps a new surface and the launcher stays invisible until the shell restarts.This adds a
ConnectionsonQuickshellthat resetsmappedandpinnedScreenwhen the screen list changes while the launcher is hidden. The next show then maps a fresh surface on the focused screen. The cost is one ~130 ms map after a monitor change.Testing
hyprctl output create headless/hyprctl output remove), then reopened it: theomacastlayer maps on the focused monitor with no QML errors.🤖 Generated with Claude Code
https://claude.ai/code/session_018pJceKmUe69o5QwAgTaNse