Skip to content

Dynamic dock or undock notebook menu pop up #2047

Open

Description

@Keyikedalube

Is your feature request related to a problem? Please describe.

  1. Undock a notebook tab
  2. Right click the undocked tab

The pop up menu still list "Undock panel"

Describe the solution you'd like
The pop up menu should list/change to "Dock panel"

Describe alternatives you've considered
Mouse click and drag the undocked tab to the main program window

Additional context

Untitled.mov

Activity

  1. rodolforg commented on Feb 24, 2021

    @rodolforg
    Contributor

    Ouch. Sorry about that.

    The pop up menu should list/change to "Dock panel"

    I don't know if it's 'possible', as panels don't have a 'home' place.

  2. menonkartikeya commented on Mar 18, 2021

    @menonkartikeya

    I don't find any option of "Dock Panel" at all, when right-clicking a tab. You could just drag and drop the tab out, and also drag and drop it back in.

    2021-03-18.07-23-49.mp4
  3. Keyikedalube commented on Apr 19, 2021

    @Keyikedalube
    ContributorAuthor

    Merged PR fixes this issue.
    The expected behavior described above is not necessarily final. Removing the menu while undocked is also a solution :)

    @ice0 @rodolforg?

  4. rodolforg commented on Apr 19, 2021

    @rodolforg
    Contributor

    Even without the docking ability?

  5. rodolforg commented on Apr 19, 2021

    @rodolforg
    Contributor

    by the way, did see my message here? #2107

  6. Keyikedalube commented on Apr 19, 2021

    @Keyikedalube
    ContributorAuthor

    by the way, did see my message here? #2107

    You mean backport-ing?

    Even without the docking ability?

    The dock menu feature's up to you.
    To me removing that menu is also a fitting solution when a tab is un-docked.
    Because while it was un-docked, it didn't make sense to still see the menu item "Undock panel" so I thought that menu should actually be the opposite.

    Anyway, I guess you plan to use the else clause in your recent linked commit above to implement the said dock menu feature.
    Screenshot from 2021-04-19 21-01-06

  7. rodolforg commented on Apr 19, 2021

    @rodolforg
    Contributor

    You mean backport-ing?

    No, my (late) review about an error.

    Anyway, I guess you plan to use the else clause in your recent linked commit above to implement the said dock menu feature.

    I don't have any intention now to work on this, because I don't know where could the 'undocked' panel be 'docked', if user can be using any workspace layout and have many floating panels (in fact, some panels could be together in a single floating window).

    This code above checks if a panel isn't solo in a floating window only.

  8. Keyikedalube commented on Apr 20, 2021

    @Keyikedalube
    ContributorAuthor

    No, my (late) review about an error.

    I'm confused... I can only see ice0's review. Yours are linked PRs and issues only 😕 😕 ❓

    Untitled.mov
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions