Well, Austria certainly did consider annexing Bavaria, very seriously, at least three times in the eighteenth century. They resolved not to do that each time for broader diplomatic reasons and different priorities but the matter was very clearly on the table.
Austrian interest in Venetian territory also existed, but was a lot less significant. Venice was a useful secondary ally against the Ottomans (while Bavaria was, from Vienna's perspective, mostly nothing but a headache and often an irritating French proxy) and had no way to turn into a threat.