Skip to content

"Dock unpinned" option can be confusing #8181

Closed
@elliette

Description

@elliette

At the top of every DevTools panel is the option to switch the dock from "pinned" (default) to "unpinned"

Three dots > View mode > Dock unpinned

When a panel is put into "dock unpinned" mode, clicking on a file automatically closes the panel. This is especially confusing for the Property Editor panel, since clicking in a file is how to update the selected widget in the Property Editor.

We should consider:

  1. Removing the view mode option
  2. Warning if the user is in dock unpinned mode

FYI @jwren

Activity

added this to the M85.3 milestone on May 12, 2025
modified the milestones: M85.3, M86 on May 14, 2025
self-assigned this
on May 14, 2025
helin24

helin24 commented on May 14, 2025

@helin24
Member

We have some options here:

  1. We can detect dock unpinned mode with toolWindow.getType() (docked or floating) and toolWindow.isAutoHide() (true if unpinned)
  2. I'm able to call toolWindow.setAutoHide(false) to programmatically make the dock pinned

However, I don't know if we can remove the unpinned option from the menu. I have not found one but @alexander-doroshko do you know if there's an API for this?

alexander-doroshko

alexander-doroshko commented on May 15, 2025

@alexander-doroshko
Contributor

I'm afraid I haven't found a way to remove this option from the menu. I hope people don't really use it.

added a commit that references this issue on Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @jwren@alexander-doroshko@helin24@elliette

    Issue actions

      "Dock unpinned" option can be confusing · Issue #8181 · flutter/flutter-intellij