piroor / treestyletab

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

[Feature Request] Add option to disable automatic creation of subfolder when bookmarking multiple tabs #3620

Closed cheatreal321 closed 1 month ago

cheatreal321 commented 2 months ago

Abstract

Basically what the title says. I often bookmark multiple tabs at once and do so into an already existing structure of bookmark folders. Having to drag and drop tabs out of the subfolder that TST automatically creates when more than one tab is bookmarked is very tedious. I'd love an option to be able to disable that.

Steps to see the situation

  1. Select multiple tabs in TST (e.g. by clicking on multiple tabs while holding Shift or Ctrl)
  2. Right-click tabs and then choose "Bookmark Selected Tabs"
  3. Choose any location for the bookmarks to go
  4. Navigate to chosen location to see that the bookmarks ended up in a subfolder inside the location

The outcome is the same when dragging and dropping the selected bookmarks to the toolbar or bookmark menu.

Desired result

Allow users to bookmark multiple tabs at once without always creating a subfolder, ideally via a toggle in the options.

Actual (present) result

As described above, bookmarking multiple tabs by any method always causes them to be put into a new bookmark folder.

Environment

piroor commented 2 months ago

Note: I've deleted two comments looked like spam. Please comment again with detailed descriptions if they were not spam. image

piroor commented 2 months ago

OK I've added ability to control the auto-grouping behavior for bookmarks from tabs. Moreover, the auto-grouping is generally suppressed when dropped tabs are not tree items or they are saved into a blank folder.

https://github.com/piroor/treestyletab/commit/c254a56d3fb56eebbb9158e93b0bed3f5c77b404 https://github.com/piroor/treestyletab/commit/ad649188c64d40169ef90db1045bce2c0c911fb3 https://github.com/piroor/treestyletab/commit/dfd20a44b26ebc20be31e8ec480d0e5ec3ed2c34 https://github.com/piroor/treestyletab/commit/72943e9a2bffc797c0110c50ad1d289355c5d9d7 https://github.com/piroor/treestyletab/commit/ca245811c3c09f1593357b2036ba30809a0a6c47

github-actions[bot] commented 1 month 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.