The bug
Some blocks do not use directional opacity like slabs and stairs do. For example, placing a slab on this structure (
[media]) in the way this stonecutter is placed would stop light from passing through. As of 18w46a, the stonecutter doesn't have any visible gaps in the model so the same logic should apply (
[media]).
Affected blocks
Strikethrough implies that this case has been fixed
Stonecutter (Bottom)Lectern (Bottom)Daylight Sensor (Bottom)Carpet (Bottom)
Enchantment Table (Bottom)End Portal Frame (Bottom)Shulker Box (Bottom and top) 1
Trapdoors (only the ones without holes in the texture) 2, 3
Birch / Spruce / Dark Oak Trapdoors
Wooden doors (only the ones without holes in the texture) 3 (see also MC-82773)
Hopper (Top)
Cauldron (Top)
1 - Technically affects the sides as well, though it depends if the shulker box is open or not
2 - Depends on which face the trapdoor is and if it is open or not
3 - Since only variants without hole in the texture would have to behave this way, it is questionable if this is really the desired behavior. In the end the behavior would be texture based and consistency between all variants would be lost.
Linked issues
is duplicated by
relates to
Attachments
Comments

Are trapdoors also a viable candidate for the list?
Yep, I added them to the ticket (just birch, spruce, and dark oak since the other trapdoors have openings).

MC-19460 either duplicates this or relates to it

Is there a pertinent need to block carpet, trap door, etc lighting solutions? These are generally used by a lot of the community to make builds less "look at all my torches".
Honestly, I can't quite follow it. It just feels like restricting creative use of blocks that we've all used for years now and I'm not sure how that in any way benefits the game or adds fun.
I can't think of very many occasions where I'd say, "Ugh, there's just too much light from my light sources, I wish they were blocked by more things!"
Also, as far as trap doors and the like, kind of ignores texture packs (some of which have windows in ALL the doors – remember, default textures are optional).
I can understand an explanation of "It's logical!" but Minecraft has hardly ever been logical (and its unique rules are what make it a fun world). Also, as long as oak trees drop apples instead of acorns, there is no logic in this place anyway. lol

Aren't composters also affected by this?
I think doors and trapdoors should block all light, regardless of texture.

confirmed 20w12a

Affects 20w28a, can I request ownership? Author seems inactive

Reporter changed to @unknown as original reporter has been inactive.
I updated the ticket to include blocks that share the same problem. I hope you are okay with that.