Originally Posted by
GiantOctopodes
You seem to be ignoring "You can take a bonus action only when a special ability, spell, or other feature of the game states that you can do something as a bonus action. You otherwise don’t have a bonus action to take." The feat in question grating the bonus action states "When you use the Attack action and attack with a one handed weapon, you can use a bonus action to attack with a loaded hand crossbow you are holding." No using the attack action and attacking with a one handed weapon, no bonus action on that turn.