7

I accidentally clicked on the detach icon on the layer side panel of QGIS and now it floats and I cannot get it back to the side bar where I want it.

  • Drag your layer panel to left side of screen....it will fit automatically. – RANJIT MAHADOLE Jul 2 at 7:53
10

Just double click on the layer panel window title (applies to QGIS 2 and 3).

| improve this answer | |
  • It is the perfect answer. Maybe just add "panel window title" to be precise. – JaakL Aug 29 '17 at 7:16
  • In QGIS3, it works to bring the browser and layers windows into the same panel, but the combined panel is still undocked. How does on dock the whole panel back into the left sidebar? – Sharad Jun 26 '18 at 12:10
  • 2
    Doesn't happen with my QGIS 3.2. The browser window wouldn't dock though just by doubleclicking its window title - only the layers window does. Maybe closing the browser window before doubleclicking the layers window helps? – Rudi Uhl Jun 27 '18 at 10:21
  • It works with the toolbox panel window (double click and it floats, double click again and it docks), but it does not work with layers style editor window. QGIS 3.8.2. Is there a way around to arrange windows docking/floating? – Pescariz Oct 3 '19 at 10:17
7

Double-clicking the title bar of floating windows on MacOS will maximize the floating window instead of docking it. I tried dragging the floating window to the approximate location of where the panel was docked but it didn't work. I restarted QGIS 3.6 and dragging the window appears to work again, and other panels will "slide" out of the way to make room for dropping the floating panel.

Dropping a floating panel window into the sidebar in QGIS

| improve this answer | |
  • 2
    restarting then dragging did the trick – Spcogg the second Jul 2 '19 at 22:49
  • thank you! does anyone know if this is filed as a bug in QGIS? – Scott Staniewicz Nov 25 '19 at 15:45
1

Inability to dock floating "Layers" panel is still a bug in QGIS 3.10-5 (LTR) on Windows 10 1909. However, as others have suggested restarting QGIS then immediately double-clicking the "Layers" title bar successfully docked it for me.

This is reported as 2 related bugs in the QGIS GitHub issues page here:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.