Skip to content

Spatial layout ignores Apps & Icons placement choices #586

Closed

Description

@nickhamze

The Apps & Icons picker says a shortcut can live on the desktop, the dock, both, or nowhere. In Spatial layout, those choices do not reliably change the core WordPress shortcuts.

For example, choosing Dock only for Comments leaves the Comments icon on the wallpaper and does not add it to the dock. Desktop and dock produces the same wrong result. The preference saves, so the setting looks successful even though the desktop never matches it.

How to reproduce

  1. Switch OpenStation to Spatial layout.
  2. Open Preferences → Apps & Icons.
  3. Set Comments to Dock only.
  4. Look at the wallpaper and dock.
  5. Repeat with Desktop and dock.

What should happen

Each placement should mean exactly what it says in every layout:

  • Desktop only: wallpaper icon only.
  • Dock only: dock icon only.
  • Desktop and dock: both.
  • Nowhere: neither.

What happens

The generated core shortcuts in Spatial layout ignore the saved placement. This affects Dashboard, Posts, Media, Pages, Comments, Products, Appearance, Plugins, Users, Tools, and Settings.

Where I would look

  • src/desktop-layout.ts
  • src/desktop-icons.ts
  • src/settings/sections/apps-icons.ts

This is related to the Spatial routing problem recorded in #560, but it is a separate user-facing failure: this ticket is about whether the shortcuts appear in the places selected in Preferences.

Comments remains on the wallpaper after choosing a dock placement

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions