# Plugin Prototype - Summon Docker Extension

**URL:** <https://krita-artists.org/t/plugin-prototype-summon-docker-extension/87102>\
**Category:** Plugins and Scripts\
**Created:** [March 18, 2024, 5:39pm UTC](https://krita-artists.org/t/plugin-prototype-summon-docker-extension/87102 "2024-03-18T17:39:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![freyalupen](https://krita-artists.org/user_avatar/krita-artists.org/freyalupen/32/47913_2.png) [@freyalupen](https://krita-artists.org/u/freyalupen)\
**Post date:** [March 18, 2024, 5:39pm UTC](https://krita-artists.org/t/plugin-prototype-summon-docker-extension/87102/1 "2024-03-18T17:39:43Z")

</div>

This prototype “Summon Docker” extension does two things:

- “Summon Docker”, a shortcut that shows a dialog to choose a docker to show floating at the cursor. (Tip: There is a not-really-visible checkbox to the left of the docker name when ‘All’ is on, which will add it to the non-All list.)  
 ![summon-docker-dialog-fs8](https://krita-artists.org/uploads/default/original/3X/b/1/b1ef519ec8eea2b51807e5a31973609f6ddef52d.png)

- “Toggle Left/Right/Top/Bottom Dockers”, which are a set of shortcuts to toggle the visibilty of all dockers currently in the given area of the window. (There seems to be a bug where the shortcut must be activated twice the first time to work?)

The first part I started a while ago and didn’t get back to working on, the second part I thought about more recently and just added a quick (barely tested) implementation onto the existing plugin.

It’s unfinished and without proper documentation, but I didn’t want to leave it lying around without sharing it just because of that, as it’s still useful.

And, Android users, I know you’re interested in seeing these kind of functions natively in Krita as Android lacks plugin support. I would be interested in attempting to implement these natively, but it needs a better design first.

Code repository: [Freya Lupen / Summon Docker Extension · GitLab](https://invent.kde.org/freyalupen/summon-docker-extension)  
Zip download link: [https://invent.kde.org/freyalupen/summon-docker-extension/-/archive/master/summon-docker-extension-master.zip](https://invent.kde.org/freyalupen/summon-docker-extension/-/archive/master/summon-docker-extension-master.zip)

---

<div class="post-metadata">

**Author:** ![SchrodingerCat](https://krita-artists.org/user_avatar/krita-artists.org/schrodingercat/32/137932_2.png) [@SchrodingerCat](https://krita-artists.org/u/SchrodingerCat)\
**Post date:** [March 18, 2024, 9:31pm UTC](https://krita-artists.org/t/plugin-prototype-summon-docker-extension/87102/2 "2024-03-18T21:31:59Z")

</div>

Excellent I will try it! 😃

---

<div class="post-metadata">

**Author:** ![freyalupen](https://krita-artists.org/user_avatar/krita-artists.org/freyalupen/32/47913_2.png) [@freyalupen](https://krita-artists.org/u/freyalupen)\
**Post date:** [March 29, 2024, 10:13pm UTC](https://krita-artists.org/t/plugin-prototype-summon-docker-extension/87102/3 "2024-03-29T22:13:53Z")

</div>

Update:  
I added some actions that can be added to the toolbar to show any built-in docker next to the toolbar, based on the discussion in this thread: [Dockers as dropdown menus](https://krita-artists.org/t/dockers-as-dropdown-menus/86289/)  
The actions have the same name as the dockers.

---

<div class="post-metadata">

**Author:** ![abhifx](https://krita-artists.org/letter_avatar_proxy/v4/letter/a/958977/32.png) [@abhifx](https://krita-artists.org/u/abhifx)\
**Post date:** [March 31, 2024, 11:48am UTC](https://krita-artists.org/t/plugin-prototype-summon-docker-extension/87102/4 "2024-03-31T11:48:42Z")

</div>

Hi @freyalupen

I tried the plugin, and it has the option to enable and disable right and left docker. This is definitely an ideal implementation. and thus completely removes the requirement of per icon for per docker headache.

However, the canvas changes size / position which IMHO is distracting. Can this behavior be altered?

This is working in full screen too.

This can also technically replace docker as dropdown list in MR but i guess more the merrier option wise.

From my side, this implementation alone is requirement enough. only the canvas movement is killing the game for me. its more like canvas is squeezing for the docker

---

<div class="post-metadata">

**Author:** ![YRH](https://krita-artists.org/user_avatar/krita-artists.org/yrh/32/232547_2.png) [@YRH](https://krita-artists.org/u/YRH)\
**Post date:** [March 31, 2024, 4:25pm UTC](https://krita-artists.org/t/plugin-prototype-summon-docker-extension/87102/5 "2024-03-31T16:25:43Z")

</div>

This canvas movement problem is a general issue. We just recently merged a fix for that, but it is limited to canvas-only mode.

It would be good if there was a general solution to this. I think it needs to be resolved in C++ for a robust solution.

---

<div class="post-metadata">

**Author:** ![abhifx](https://krita-artists.org/letter_avatar_proxy/v4/letter/a/958977/32.png) [@abhifx](https://krita-artists.org/u/abhifx)\
**Post date:** [April 1, 2024, 3:47am UTC](https://krita-artists.org/t/plugin-prototype-summon-docker-extension/87102/6 "2024-04-01T03:47:22Z")

</div>

I will check that out in latest nightly then. if canvas only mode works then that is the ideal workflow

---

<div class="post-metadata">

**Author:** ![YRH](https://krita-artists.org/user_avatar/krita-artists.org/yrh/32/232547_2.png) [@YRH](https://krita-artists.org/u/YRH)\
**Post date:** [April 1, 2024, 6:02am UTC](https://krita-artists.org/t/plugin-prototype-summon-docker-extension/87102/7 "2024-04-01T06:02:46Z")

</div>

Let me clarify. The canvas moving around is compensated for specifically with the canvas only switch (pressing TAB).

If you toggle the dockers in either normal or canvas only mode, I think it will still affect the canvas position, unfortunately. Unless, perhaps the dockers are floating above the canvas.

---

<div class="post-metadata">

**Author:** ![abhifx](https://krita-artists.org/letter_avatar_proxy/v4/letter/a/958977/32.png) [@abhifx](https://krita-artists.org/u/abhifx)\
**Post date:** [April 1, 2024, 8:40am UTC](https://krita-artists.org/t/plugin-prototype-summon-docker-extension/87102/8 "2024-04-01T08:40:55Z")

</div>

Ah, then it only partially solves the issue.

So I guess freya’s drop down docker is the way to go. for now

---

<div class="post-metadata">

**Author:** ![arenliel](https://krita-artists.org/letter_avatar_proxy/v4/letter/a/a4c791/32.png) [@arenliel](https://krita-artists.org/u/arenliel)\
**Post date:** [April 2, 2024, 4:22pm UTC](https://krita-artists.org/t/plugin-prototype-summon-docker-extension/87102/9 "2024-04-02T16:22:55Z")

</div>

Woaaah. This is just what I needed! I always thought it would be cool to have some dockers like dropdown menus in the toolbar, like the recorder docker or the brush preset history. This definitely helps my workflow. Please! Continue developing this!
