Spaniard here, quality of water differs depending on where you live. Where I live now -a small town in Seville- tap water is very good, but as OP pointed out, Barcelona's tap water is horrible to the point that you'd be better off buying bottled water for the rest of your life.
Here I can manage with a brita jar just fine
Here I can manage with a brita jar just fine