Skip to content

Keep Islands loading on Omarchy 4.6 - #11

Merged
DanielLob-o merged 1 commit into
mainfrom
fix/omarchy-4.6-compat
Nov 27, 2026
Merged

DanielLob-o merged 1 commit into
mainfrom
fix/omarchy-4.6-compat

Conversation

@DanielLob-o

Copy link
Copy Markdown
Owner

Summary

Omarchy 4.6 (quattro, already in v4.6.0-rc1) removed two things that Islands uses. Without this fix, the Islands bar does not load on 4.6.

Problem

  1. ScreenMoveRemap is gone from qs.Ui (Stop the bar blinking after a monitor move, and polish the display panel omacom/omarchy#17229, commit 796e169a). Hyprland 0.57 moves layer surfaces with their monitor, so Omarchy removed the guard. Islands still used it in BarPanel. QML stops with "ScreenMoveRemap is not a type", and the bar does not show.
  2. The center peek properties are gone from PluginBarApi (Reveal hidden indicators only when hovering their own block omacom/omarchy#18524, commit c149addc): centerSectionRevealHeld, _centerHoverRevealSuppressed and _setCenterHoverRevealSuppressed. Islands set them in bindPluginBarApi. Setting a property that does not exist throws Cannot assign to non-existent property. The error stops bindPluginBarApi, so plugin widgets do not get a working bar API.

Fix

  1. Remove the ScreenMoveRemap block and the visible: !remapGuard.remapping binding, as the stock bar did.
  2. Set the center peek properties only when the API has them (if ("…" in api)). On Omarchy 4.5 the behavior does not change. On 4.6 Islands skips them.

Known limit on Omarchy 4.5

On Omarchy 4.5 with Hyprland 0.56, the bar can stay at its old position after a monitor layout change, until the shell restarts. I did not keep a local copy of the guard. On Hyprland 0.57 it makes the bar disappear for a moment after every monitor move, which is why Omarchy removed it.

Testing

  • qmllint Bar.qml: no syntax errors, and the same warnings as on main.
  • A small QML test with Qt 6.12 confirmed three things. Setting a property that does not exist throws. The in check is false for a removed property. Setting a function on the API after createObject works.
  • Not yet tested live on Omarchy 4.6. Please test on a v4.6.0-rc1 machine before merging.

🤖 Generated with Claude Code

Omarchy 4.6 (quattro, v4.6.0-rc1) removed two things that Islands uses:

- ScreenMoveRemap from qs.Ui (omacom/omarchy#17229). Hyprland 0.57
  moves layer surfaces with their monitor, so the guard is gone. The
  missing type stops Bar.qml from loading, so the bar does not show.
  Remove the guard, as the stock bar did.
- The center peek properties from PluginBarApi (omacom/omarchy#18524).
  Setting a property that does not exist throws, which stops
  bindPluginBarApi and leaves plugin widgets without a working bar API.
  Set these properties only when the API still has them, so Omarchy 4.5
  keeps its behavior.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DanielLob-o DanielLob-o self-assigned this Nov 27, 2026
@DanielLob-o
DanielLob-o merged commit c354f6a into main Nov 27, 2026
@DanielLob-o
DanielLob-o deleted the fix/omarchy-4.6-compat branch November 27, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant