If you want to gain xp on the skills on your second bar, you can either : Change to that bar when you turn in quests, or you can put 1 ability from that weapon/skill line on your hot bar and then turn in the quest.
Edit: I know it can seem like a pain, but, in my opinion, it is worth the time to make sure you level a well balanced character.