piroor / treestyletab

Tree Style Tab, Show tabs like a tree.
http://piro.sakura.ne.jp/xul/treestyletab/
Other
3.48k stars 279 forks source link

[Enhancement] Drag parent onto child #3538

Closed UnePierre closed 4 months ago

UnePierre commented 5 months ago

Abstract

Steps to see the situation

  1. Start Firefox with clean profile.
  2. Install TST.
  3. Open several tabs in a small tree
  4. Try to drag&drop the parent (A) of a tree onto one of its offspring.
A (selected)
\- B
|\- B1 (drag here)
\- C

Expected result

B
\- B1
|\- A
\- C
  1. The selected parent (A) should move and become a child of the offspring it was dragged onto (B1).
  2. Another node becomes the parent; possibly the one that would get this position, when the parent was to be closed (B in the example).

This would also exchange the two nodes in a mini-tree (single-mom with only child) in a single action, which was my motivating example.

Actual (present) result

  1. Nothing happens.

Environment

piroor commented 5 months ago

I've implemented this behavior experimentally. I'll decide to activate it by default or not after more dogfooding.

github-actions[bot] commented 4 months ago

This issue has been closed due to no response within 14 days after labeled as "fixed", 7 days after last reopened, and 7 days after last commented.