Mahlzeit!
The gradient-selection should always show the gradient of the toggled button, either stroke or fill.
No. It shows all gradients in selection, both stroke and fill (if any) and for any selected objects (if more than one). I think it's logical.
True, with this interface you cannot assign different gradients _from the list_ to stroke and fill of the same object. But do you really need that? Gradient on stroke is pretty rare anyway, and combining them is even rarer. And you can always emulate that by separating it into two objects, one for fill and one for stroke. And finally, this limitation will become almost irrelevant when you can assign colors to the selected gradient handle, thus editing the colors of the gradients without selecting a gradient definition from the list.
Now, _I_ think that it's even rarer a use case to assign the _same_ gradient to fill and stroke, while might be a common use case to assign the same gradient for stroke as well as the same gradient for fill to multiple objects. So as I said, I'd still go with showing either stroke of fill gradient in the list, depending on what is toggled. When multiple objects are selected, the gradient list will show multiple, when there are different fill gradients respectively different stroke gradients -- that'd be how I expect it to work... Furthermore, when I click one specific gradient on canvas it should be _selected_ in some way and I can chose a different gradient for it.
The fill/stroke switch is in the "New:" part, so it only affects the newly created gradients. The "Change:" part affects all gradients in selection.
Hmmm, that is something else, that surprised me... why is it a "new" button? If I have a linar gradient assigned, I should be able to toggle it to radial just like in the fill-and-stroke dialogue imho. Maybe this fill dialog might even be expanded to have all the features of the fill and stroke dialogue... I still have to think about it though, cause I'm not 100% sure, how to differentiate between fill and stroke in the toolbar.
Furthermore I think that the gradient-tool should exclusively edit gradients and no nodes and that node editing should not edit gradients... but I guess that's planned anyways, ain't it?
No. I see absolutely no harm in other tools being able to edit gradient handles. Just like most tools can edit handles of any shapes. If you don't like it, you can disable gradient editing for any tool (except gradient tool, of course) in the preferences.
The harm is that you sometimes have a huge number of nodes on canvas which is confusing. It's nice to have it in the prefs, but for some reason the gradient tool will always show the nodes for rectangle editing.
Take care!
David