Go in spectator mode, switch to third person, look through glass that is in front water and you see through the water perfectly. Or try it with chests, entities etc.
Related issues
duplicates
Attachments
Comments

[media][media]

Duplicate of MC-187783, which is resolved as won’t fix. You can play on fabolous to fix this issue.