Closed Bug 1508151 Opened 6 years ago Closed 6 years ago

Consider removing support for multiple selections in XUL trees

Categories

(Toolkit :: UI Widgets, task)

task
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ntim, Unassigned)

References

(Blocks 1 open bug)

Details

While working on bug 1508142, I noticed that we support selecting multiple items at once in trees. To my surprise, that behaviour is actually the default behaviour of XUL trees unless seltype="single" is specified.

Looking at all the different tree usages in m-c, there doesn't seem one where it makes sense to support multiple selections.

There are some places where we allow multiple selections, very likely uninentionally, like the "New Bookmark" panel, where you can actually select multiple items. I believe the other places we do support multi-selection, it's very likely unintentional and that the feature can be removed.
In Bookmark Library you can select multiple bookmarks to move them to a other place. Isn't this handy and makes sense?
(In reply to Richard Marti (:Paenglab) from comment #1)
> In Bookmark Library you can select multiple bookmarks to move them to a
> other place. Isn't this handy and makes sense?

Ah, that totally makes sense, I totally forgot about the library.

I believe it's going away with the about:library, but yes, this bug is not actionable without taking care of the library.
And in Thunderbird selecting multiple messages for deletion or move - very useful, and supported by other similar programs.
I think this should be wontfix as long as we have xul:tree, and if we replace xul:tree with some html tree library, it should support multiple selections.
It also makes sense to delete multiple saved logins.
Status: NEW → UNCONFIRMED
Ever confirmed: false
Closing based on Comments 1-4
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Type: enhancement → task
You need to log in before you can comment on or make changes to this bug.