Opened 15 years ago

Closed 15 years ago

#1637 closed bug (fixed)

Legend Window; for drag-and-drop-actions, expand layer-group only after short delay

Reported by: paull Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.2.0
Component: Map Legend Version: Trunk
Keywords: Cc: kumba
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

when I move a layer from the top of the layer-stack (legend window on the left) to the bottom of the stack, automatically all layer-groups in between pop open and expand, displaying all containing layers. When organising large amounts of shape-layers, it can be very annoying,because I completely loose overview of the layers and the place where I wanted to drag my layer to. I would suggest that groups should only open after a short delay (0.5 seconds or so). So if you want to place a layer in a group, you hover over the group for that timespan and wait for the group to automatically expand.

Change History (7)

comment:1 by pcav, 15 years ago

Component: Build/InstallMap Legend

comment:2 by pcav, 15 years ago

Milestone: Version 1.0.3

comment:3 by lutra, 15 years ago

Milestone: Version 1.0.3Version 1.2.0
Platform: WindowsAll
Platform Version: XP

comment:4 by kumba, 15 years ago

Priority: minor: annoyancemajor: does not work as expected
Type: enhancementbug

To the original reporter, a trick I use to get around this, is create a "tmp" group folder, and when needing to organize your layers, move anything to be moved into the "tmp" folder. Then collapse and move the "Tmp" folder around instead to the point where you need specific layers, then move them out. Kind of like a shopping cart in a grocery store thing.

Per my duplicate bug of #1808, you have to drag stuff slowly, or you will cause the sequencing in the layer order to get muddled up, as QGIS will randomly move items to other areas in the stack.

Flagging more as a bug, because while one indicates an enhancement, the disordering of the stack if you move items too fast highlights a flaw in how QGIS is handling some actions. It behaves better if you disable rendering while moving the folders, but even then, if you go too fast, items still "jump" around.

comment:5 by kumba, 15 years ago

Cc: kumba added

comment:6 by homann, 15 years ago

The groups does not open anymore since r11233, but the layer is dropped first in the group. Let me know if this is an improvement.

in reply to:  6 comment:7 by lutra, 15 years ago

Resolution: fixed
Status: newclosed

Replying to homann:

but the layer is dropped first in the group.

The layer is dropped first in the group only if the group is not expanded, otherwise you can choose were to drop it inside of the group.

In any case I guess this is solution for the problem described.

Note: See TracTickets for help on using tickets.